Skip to main content

Questions tagged [createobject]

The CreateObject function is used to instantiate COM objects.

createobject
2 votes
0 answers
79 views

error: Automation error. The system cannot find the file specified in vb6

I have an application in VB6 and need to create an object of a class that is part of another .dll (written in VB.NET). Now I am using the CreateObject() method (I am following the same logic used in ...
Kristina Tamaro's user avatar
0 votes
2 answers
310 views

CreateObject("Outlook.Application") in Excel VBA causes OLE error as Outlook 2019 didn't exit properly

My Excel VBA program, running on Windows 10 64 bit, sends an email via Outlook. Every so often it hangs with a popup stating Microsoft Excel is waiting for another application to complete an OLE ...
drb01's user avatar
  • 301
6 votes
2 answers
214 views

Coldfusion CreateObject() Returns Instance of Wrong Object

I'm running into an issue that only seems to affect our production server and without any apparent rhyme or reason. Essentially, we're getting the following error (I'm going to use dummy names to ...
user446882's user avatar
0 votes
1 answer
74 views

mql5 error when drawing rectangle at specific candle location

I am trying to draw a rectangle starting at the gap when theres an FVG and have one of my curly brackets in the wrong place as its telling me i cant have my if statements in the global scope. i need ...
pebs's user avatar
  • 31
-2 votes
1 answer
727 views

How to access JSON object returned from createObject("htmlfile") in VBS file

I have the following json: { "columns":[ "b_summary", "end_fy", "id", "isin", "market", "name&...
alfadog67's user avatar
  • 831
1 vote
1 answer
139 views

Class doesn't support Automation: 'CreateObject" when creating a Scripting.Dictionary object

I'm writing a VBScript in Enterprise Architect in order to generate an output of the message definitions in my model to Excel. This script works just fine in most cases, but for one, rather large set ...
Geert Bellekens's user avatar
0 votes
1 answer
893 views

TypeError: URL.createObjectURL is not a function | Antd charts

I have an application written in TypeScript, where i now try to implement charts from antd. Everything works perfectly fine in localhost, but when i push it to github, one of the test fails: FAIL src/...
Ola_HH's user avatar
  • 1
0 votes
0 answers
42 views

Has my application been started by CreateObject?

Can I find out whether my C++ MFC COM server has been started by hand or by a call of CreateObject()?
Olaf73's user avatar
  • 133
0 votes
1 answer
137 views

Can I open Outlook from VBA without elevated privileges, eventhough Word is opened with elevated privileges

I ran into an issue with a VBA implementation in Word. I would like to send an email upon the press of the Print button. My code works fine when i open word without elevated privileges. However, I ...
Dany's user avatar
  • 23
0 votes
1 answer
280 views

Why does this VBA Code work on PC but not Mac? [duplicate]

There is no error. The code just doesn't run. (Modern Mac running Ventura/Office 365). The code reads in files within a subdir and pastes them in new sheet in the active workbook. My only thought is ...
Blake Shurtz's user avatar
1 vote
1 answer
245 views

Why this yelpcamp code returned "TypeError: Cannot read properties of undefined (reading 'push')"

I am just a student in webdev,I already try to correct it but fail, I appreciate if exprienced members here can assist me in correcting this error, the code suppose to push the comment to every ...
Techboy's user avatar
  • 11
1 vote
1 answer
418 views

Classic ASP - Server.CreateObject - Unauthorized operation

I have the following code : Set objUpload = Server.CreateObject("ASPUploadComponent.cUpload") It seems to be failing, because the following debug code : Response.Write(" begin "...
Virus721's user avatar
  • 8,193
0 votes
0 answers
949 views

Creating default object from empty value in Laravel 8

For some reason, I still get a warning message: Creating default object from empty value. Product controller public function update(Request $request, $id) { $products = new Product(); $...
iamraojee's user avatar
0 votes
0 answers
310 views

Issue in VB.Net trying to create Word and Excel Objects using a service in Windows 11

I have an issue in VB.Net trying to create Word and Excel Objects using a service. Error message in the Event Viewer shows "Cannot create ActiveX component." The issue only occurs on Windows ...
Brian Miller's user avatar
1 vote
1 answer
537 views

VBA random automation error in CreateObject("InternetExplorer.Application")

So... I searched through the forum, and really found a lot of threads with awesome suggestions, but none of them works (Example Thing is my code randomly breaks on Set ie = CreateObject("...
Mr K's user avatar
  • 121

15 30 50 per page
1
2 3 4 5
11