Solved

ActiveX component can't create object

Posted on 1998-10-27
5
163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…
Suggested Courses
Course of the Month11 days, 15 hours left to enroll

623 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