|
-
Jan 9th, 2000, 11:49 PM
#1
I am trying to publish an application for network (NT) workstations. It works ok on my machine, but I am having trouble getting it to work elsewhere. I've tried copying dll's as specified in boot errors, and am now getting an error "ActiveX component cannot create objects" from my MDI. Is there an easy way to specify what files are missing, or do I just keep copying files until I get the right one?
-
Jan 10th, 2000, 03:35 AM
#2
I used the P/D wizard and that did round up the .dlls for me, thanks. But I'm still getting and Error 429 - "ActiveX components can't create object" on the workstation when I try to start.
Can you tell me more about registering components? I am unfamiliar with this procedure?
-
Jan 10th, 2000, 11:45 AM
#3
Guru
When you invoke a method on an object, windows searches in the registry for the class name/CLSID to be able to instantiate that object. If it cannot find the name of the component in the registry, then it gives you that error. When you run REGSVR32.EXE DLLNAME.DLL, the registry entries are added and the next time that a method is invoked on an object, windows will be able to find the DLL and load it accordingly.
That may or may not make sense to you, but COM is a somewhat complicated animal.
Anyways, what is your code doing that gives you that error at that point in time?
-
Jan 10th, 2000, 12:24 PM
#4
Guru
What files are you distributing? Why are you not using the Package/Deploy Wizard? Are you registering the components after you copy them to you clients workstations? (Ex. regsvr32.exe mylib.dll)
-
Jan 10th, 2000, 10:14 PM
#5
It is difficult to say what creates the error at that point. It is loading a MDI with many forms and controls and, of course, it doesn't create an error in p-code where I can debug it.
I had the idea that setup.lst gave instructions for the support files to self-register. Is there some files that do not self-register, and how can I tell them apart?
-
Jan 10th, 2000, 11:19 PM
#6
Come to think about it - the error occurs at the beginning of the load, something in the .bas or possibly my database connectstring. Is it possible this error occurs because of the database connection?
-
Jan 11th, 2000, 01:00 AM
#7
Guru
Possibly --- If you are attempting to connect to a database, you need to use DAO or ADO files to connect....
Does your project use ADO or DAO? Are these files included in your setup package?
-
Jan 11th, 2000, 03:40 AM
#8
That appears to be it, it bombs just as I'm making my database connection. I added a bunch of .dlls for my ADO connection - using msjetoledb40, and included the .dlls setup asked for on installation: ie., msjint40, msjter40, and mswstr10. And still it bombs (err msg 429 mentioned above).
Can you think of anything else I need to make the connection?
-
Jan 11th, 2000, 01:28 PM
#9
-
Jan 11th, 2000, 09:50 PM
#10
That's the missing link! hey thanks clunietp - if that is your real name.
-
Jan 12th, 2000, 11:55 AM
#11
Guru
Tom is my real name. Is your real name okdorje?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|