Solved

ActiveX component can't create object

Posted on 1998-10-27
5
156 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

707 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

13 Experts available now in Live!

Get 1:1 Help Now