My App. runs in machine but not others ..

I am using VB5 and "Application Setup Wizard" to build my application. When I install it in my machine, that is the machine I am using it to develop, it works OK but when I install other machines it installs well but when I run it
I get a small error message box with white "X" like cross in  a filled red circle and an OK button.
This is my first project and I am still learning VB what am I doing wrong.

Thanks
yassin092898Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
cedricdConnect With a Mentor Commented:
It would be a bad ocx file, it work on your machine because all the vb ocx are already installed on it (with vb)
did you add all the file while making your setup (with setup wizard) ?
did you install the service pack 3 for vb ?

0
 
trilloCommented:
Could you give us more information?.... There can be a lot of causes: [a lack of libraries when creating the installer with the Setup wizard, errors in your code, etc...]
0
 
MirkwoodCommented:
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
yassin092898Author Commented:
I am sorry to get you back so late, I had a problem logging in because of password problem.
I think there is nothing wrong with code, it just the libraries that I can’t fix. What is service pack 3 for vb
And how should I check when I am creating the application with the  App. Wizard.
I downloaded Filemon and I ma getting the following error when I am installing “FILEVDX is not loaded properly the system cannot find the file specified” but I down loaded the file and I have it in the same directory
I downloaded filemon.
I must tell you This is my first project and I am still learning VB what am I doing wrong.

Thank you
0
 
yassin092898Author Commented:
I moved my project into my laptop. It has the same VB5 as my PC when I run it in the laptop it can’t recognize
the following VB5 functions, Date , Str, Val .. etc. That may give use some hint. The error message is
Compile error :
Can’t find project or library
Thanks

0
 
yassin092898Author Commented:
Now I have a new problem that I can't figure out what it is. When I run
my application I am getting the following error
"Run-time eoor '3447'
 The Jet VBA file (VBAJET.dll for 16-bit  version, or VBAJET32.dll for 32-bit version ) failed to initialize when Called."

Thanks again.

0
 
cedricdCommented:
The service pack 3 is used to correct some problems with vb 5.0.
You can download it or i can send you it by mail.
for the other message,as i can't be there with you, try reinstalling vb 5.0 before using the service pack 3 because if vb can't recognize these functions that would be two possible problems.
one you don't use it correctly (see the help)
two they don't be correctly installed (reinstall vb or the correspondant ocx using regsrv32.exe)

0
 
yassin092898Author Commented:
Adjusted points to 100
0
 
yassin092898Author Commented:
Please let me know the web site I can download service pack 3.
I adjusted the points and as soon as I hear from you I
shall close this question.

Thanks
0
 
cedricdCommented:
the site i know is a french site on the http://www.decade.fr/vbasic (it propose you some link to download the sp3 or i can give you it : send me a mail on cedric.defosse@moodif.com to ask it, or on www.microsoft.com/vbasic).
0
All Courses

From novice to tech pro — start learning today.