o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

What is better CreateObject or Set -

Hi! I am making a MS Internet Transfer Control in code and I would like to know what is the difference between

Set Inet = CreateObject("InetCtls.Inet")

and

Set Inet = New InetCtlsObjects.Inet

with adding reference to the control.

============================================================

When I try to use commF = Inet.OpenURL("[address]", icByteArray), it returns commF(0 to -1), but the file exists. Where is the problem?

Thanks,
John

 

Dot Net CreateObject - 64 bits problem -
Hello everybody! I am working on a project with dotnet and I use CreateObject for a 32-bit COM dll.Everything works fine on 32-bit machines. The problem is that I can't CreateObject on 64-bit machines?Can you help? Thanks in advance


Create an instance of an object from a string -
Hi there all! I have a question: Is it possible to create an instance of an object if you have the name of the object in a string value? In VB6 you could use the CreateObject Method like this for example: Set xlApp = CreateObject("Excel.Apllication") or somethi


createobject("ftp.ftp") fail -
createobject("ftp.ftp") fail anyone knows what it required to createobject("ftp.ftp"), on my old crashed machine it works and I did not even notice it, but now when I moved my code to the new one, it fails and says error 429, activex component can't create object,


Using CreateObject to.... Read More -
CreateObject function can be used to activate applications on a server. Has anyone successfully done this?


CreateObject Vs New -
I am a new VB programmer. I would Like to know the difference between CreateObject function and New Keyword. Please tell me in detail. Thanks in advance.


CreateObject Vs CreateInstance -
when to use createobject and when to use craeteInstance?? ... ThanX in advance Sudha


CreateObject ... -
in VB we can use CreateObject, in VC i need use his ProgId, but i don't know how. Mainly, I have some DLLs (more than one) and each one, have same functions & properties, but each one, make calls to different hardware. Some idea for only build one.


CreateObject HELP!! -
I have a DLL that I want accessible using CreateObject("Class...."). I can get the DLL to work if I set a reference in VB and it works fine, however, I need the DLL accessible with VBScript as well. Does anyone know of a tutorial or a quick and easy way to set up a DLL that


Does CreateObject timeout -
Hi, I'm using an Automation object to create an OLE connection to the company's computer system. If the system is sluggish the CreateObject returns a "Cannot create ActiveX object" or something like that. This seems to take about 30 seconds. Is the CreateObject timing o


list of objects that can be created using CreateObject function -
Hi all ! I want this thread to be a one stop resource for all those who are searching for objects that can be created using createObject. So i appeal to all u VB guru's to help me compile such a list. to start with i am listing a few objects which i know aboutcan be created


CreateObject Method -
Hi, I know you can use CreateObject to make instances of Class Modules, like.. Project XYZ, class module Class1 A = CreateObject("XYZ.Class1") But when I try this with a form, it won't work... Any Ideas?? And also - is there a VB6 equivelant to the VB.NET commands:


CreateObject and win2000 -
Hi , I try to write createObject from ASP Page To VB .I GOT ERROR permission denied try to do it on Win2000 ,vb6 Any Help Please ????/ Thanks Anna


createObject and win2000 -
Hi , I try to write createObject from ASP Page To VB .I GOT ERROR permission denied try to do it on Win2000 ,vb6 Any Help Please ????/ Thanks Anna


Server.CreateObject Failed [resolved] -
This is my first time trying to put an asp site onto a server. This one is working smoothly from my virtual directory, so I am confused by this error message: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /honeyanded/guestbook.asp, line 20 Invalid


ASP Recordset error-Please help! -
I don't see the exact cause of your problem, but here are some suggestions: Use Server.CreateObject instead of CreateObject. Your code will run safer. Use a forward-only, read-only recordset, and don't use MoveFirst. You don't seem to need a more resource consuming one.


createobject and getobject -
Hi Everybody, Can anyone tell me the diff. between createobject and getobject and when are the used? It would be of great help if someone explains it with an example. Regards, Samir.


CreateObject and ActiveXObject -
What is the difference between CreateObject and ActiveXObject? I also saw Try Catch in one of the script. Don't know if this is possible in VBScript.


Need Help - How do I 'Createobject' remotely (to get the COM catalog) -
I have the code below to shutdown a com+ application. dim COMobj set COMobj = CreateObject ("COMAdmin.COMAdminCatalog") COMobj.ShutdownApplication ("MyApplication") However, I want to be able to run this remotely from another machine. I thought I c


CreateObject and reference comparison -
Are there any performance issues between using CreateObject and using the reference ?


blocking CreateObject in the msscripting control -
i'm using the msscripting control to add scripting support to my program, but it needs to be pretty secure. is there a way to prevent CreateObject from being called from the script?


createobject and events -
Anyone have aclue if it is possible to capture events of an object that was created with CreateObject? I dont think it is possible, but seeing if anyone may have a possible solution. And no this does not work Dim WithEvents obj As Object Set obj = CreatObject(blahblah..


CreateObject - HIDE splash -
I am creating an instance of IE using the following code: set wb = CreateObject("InternetExplorer.Application") wb.Visible = False But, on certain Operating Systems, the IE splash screen displays. How can I get rid of this?


Late Binding of .NET objects -
I wrote an application in VB6 that used CreateObject quite a lot to create instances of COM objects at run time. Is their an equivalent in VB.NET so that I can do the same with .NET objects. I notice that CreateObject is still supported in VB.NET but that only works with COM objects


CreateObject and Terminal Services -
Help! An n-tier application that we are developing does not work with Terminal Services . . . CreateObject fails every time Any ideas, anyone . . .


vb6 compile err -
Hello, I wrote a basic VBScript and using VB6 to "make exe". But I'm getting following error for virtually every statement in my script. NOt knowing what's happening. "Invalid outside procedure" On Error Resume Next ag = wscript.arguments() ag = UCase(ag)


Excel component vs. createObject -
Hi, I have a few questions... 1. What is the difference between adding an Excel refference to the project and using CreateObject("Excel.Application") ? 2. There an effect on the performance after the object is created (normal use, like accessing cells etc.) 3. I have off


CreateObject events -
If I have an ActiveX dll which is NOT registered, I can dynamically register it with GetProcAddress, CreateTread etc. In the form I declare: Private MynDll as Object Set MynDll=CreateObject(class) Is there a simple solution to handle events from this dll?


Class names and CreateObject -
Where can you find the class names needed to pass along in the CreateObject function. Using the Object browser does not give the required info Eg. Dim objTest as Object Set objTest = CreateObject("Excel.Application") This will work while Excel is not in th


closing ado -
ok this is very simple.. but i am new to asp stuff how do i close a record set?? i've created it by Set adoLink = Server.CreateObject("ADODB.Connection") set adoCmd = server.createobject("adodb.command") set adoData = server.createobject("adodb.re


CreateObject and hWnd -
From my code, I am using CreateObject to run another application (for example : Set Prog = CreateObject("Program.exe") All is well, but the new application keeps disappearing behind my application. The program 'Prog' is a single form application. I need to find a way t


CreateObject("Excel.Application") -
Hi, I have a problem when I use CreateObject("Excel.Application"). If I have Excel installed ,then that is ok. But when I unstall the Excel ,it will raise an error named 429,can't create ActivateX object. 1,I 'd like to know ,Can I CreateObject("Excel.App


A Simple Question -
Hi all, I have a got an Active-X Dll in an MTS server... And i have runned the client set up on the client M/c. Now the problem is as follows: Can i set the reference and use createobject(Static Binding) OR Can i declare an Object variable and then use createobject(late Bindi


Dynamic class creation -
Hi, I have a requirement to create an instance of a VB6 class by name. Ive tried CreateObject and i've tried with Scripting Control but had no luck. I think CreateObject isnt working as the classes are in an EXE therefore not public creatable. I need to create instances from a for


VB - CreateObject() -
Hi I was just asking a friend yesterday how I would go on writing a code that would initialize applications on my desktop. He then told me to search about CreateObject(). I learned that you need to declare the object like Dim PS as object then on a command button I would write Set P


CDONTS -
I am getting a Server.CreateObject Failed Error using the following code: Set sendmail = Server.CreateObject("CDONTS.NewMail") Do I need to have the Collaborative Data Object (CDO) installed on my pc. If so, where can I get this from (I am using Win 98).


Error --> Server.CreateObject Failed Help ! -
I have created an ActiveX DLL in VB6 and created a class called Visit. I am calling it in ASP: <%@ Language=VBScript %> <html> <% Dim objVisit set objVisit = server.CreateObject("Project1.Visit") %> </HTML> However I get the fol


Open several objects to .dll in ASP -
I have a report that I have generated that needs to extract data using several class modules in an ActiveX.dll. I have set up each class module for Multiuse and the dll as Apartment Threaded. I use the following code in my ASP page to call the DLL &lt;% Dim objNCR Dim objVerif


CreateObject : Permission Denied -
Hi, I'm trying to debug an error I am getting on a clients machine. When I try to GetObject or CreateObject on a local ActiveX EXE I get an "Error 70 : Permission Denied" Anybody know why? The ActiveX EXE does very little on startup - nothing that could cause this error an


Using VB Objects with ASP, HELP!!!! -
Hello, I tryed to connect a VB object that i created , here is the asp code: <% Set Darren = Server.CreateObject("DarrenStore.Store") Response.Write typename(Darren.propConn) set Darren=Nothing %> I got error msg for this libe: Set Darren = Server.


bho calling itself! -
hello ppl, i have a rather confusing problem. I have a bho, which has a menu (it loads a form and displays that). when a button in the form is clicked, a new IE window is to be created. but when i use createObject(), obviously the bho loads again. This ends up in a automation