Solved

ActiveX component can't create object

Posted on 1998-10-27
5
157 Views
Last Modified: 2010-04-30
I have a program residing in a "Common Network Drive" it uses a DLL which i've created using VB... upon compiling the program to exe... it works if i run it using my PC... but if other PC's runs it an error occurs upon creating or using the dll function... what can i do????
0
Comment
Question by:nasia
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:TheAnswerMan
ID: 1441966
The dll is referencing things they dont have..

make a setup application and it will register what it needs to run.
0
 
LVL 3

Expert Comment

by:TheAnswerMan
ID: 1441967
vbsetup wiz...  

make a setup program.
then deselect your EXE from the include files list.
<turn off the checkbox next to your exe in the list>

then, the first time anyone needs to use your app.. have them run the setup first.

0
 

Author Comment

by:nasia
ID: 1441968
vb setup wizard does not support UNC file directory... i.e. it cannot detect files on a network drive.... (ex. \\netdrive\mydirectory\) it should be given a direct path like (c:\Mydyrectory\)... because of this it cannot detect the DLL which resides in the network drive....... in short it does not work... any more suggestion???
0
 

Author Comment

by:nasia
ID: 1441969
this will make any revision in the program affect the other programs calling it.... the main purpose that i had the program in a network drive is to make any revisions isolated... well thanks anyway...
0
 
LVL 13

Accepted Solution

by:
Mirkwood earned 100 total points
ID: 1441970
Download Filemon or NTFilemon from www.sysinternals.com
Start Filemon and now run the application that gives the error.
Filemon will show a trace. In this trace it will also show you which
file failed to open. That's the one you are missing.

Filemon can be redirected in a dos box using filemon > output.txt

Copy the missing files and register them if needed with regsvr32.exe in case of DLL/OCX files

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Vb.net 2008 2 56
How to incorporate an error traping routing to existing code in VB6 11 39
How to hault or freeze parent form when a 2d form is open in vb6 3 35
Help me. 3 43
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now