• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

running an EXE

I've created a system using VB4 32-bit and created an exe. It works fine on my system, but when i transfer it to another system i get two run time errors ('336' and '91').
Have i transferred all the files i need. What could be wrong?

1 Solution
Did you transfered all the VB5 32 bits runtime, ocx needed, and registered them?
Try to make setup for your program (using setup wizard)
I would be a good idea to post the text for those errors ... that keeps the people that are trying to help you from having to load VB, search the help index for runtime errors, find the error number, and then go to that screen ...
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Mari Carmen:
            I really don't remember well if Visual Basic 4 supports autoregistration of all the .OCX files an application needed to run. Even if it does, sometimes when there is a conflict with these controls it is imposible to do it.

            My advise is to do it manually. Run again the setup wizard and copy all the .OCX files your program need, then use the Regsvr32.exe file to register manually. First, unregister every .OCX file and re-register them again.

            Hope it works.
The VB's setup wizard does´not work well.

You will have to create a setup, I recommend InstallShield Express, is easy and have useful features.
VBs setup wizard for VB4 32 bit works very well ... its some later versions that have had problems.
The problem refers to an Activex not registered, you can try with a newer version o VB32 or register your self with the program Regsvr.exe o Regsvr32.exe in the subdirectory /system

Regards Mari
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now