We help IT Professionals succeed at work.

Event viewer shows error on msvbvm60.dll

LegalZoomer
LegalZoomer asked
on
Medium Priority
7,050 Views
Last Modified: 2008-01-09
I have a .exe application and when I run this It disapears from the screen and I get the following error in the event viewer:

Faulting application MYAPPLICATION.exe, faulting module msvbvm60.dll, version 6.097.82, fault address 0x000e6171.

On the other hand when I run the application, (Non compiled) it works and I don't get any errors.

Thanks,





Comment
Watch Question

Ark
CERTIFIED EXPERT

Commented:
Did you use any API calls?

Author

Commented:
I use some adobe and MS Word dlls to create .pdf files and word files.
Ark
CERTIFIED EXPERT

Commented:
Check out initializing functions of those API. VBIDE initialize some API for its own purposes, while compiled program have no such initialization.
For example, VB IDE use common controls inside (ToolBar/ListWiew/TreeView), so when IDE loading, it calls InitCommonControls(Ex). So, if you (or another dlls) use direct API calls to common controls library (or even add XP manifest) - in IDE it will work, bit fail when compiled

Commented:
Hi,

The component u speak of is Visual Basic Virtual Machine
You can find it in the windows\system32 folder

u can try to register it:
start->run->type in regsvr32 ->drag and drop the file from the windows explorer.

Still problems.... reinstall visual basic 6.0....

Regards,
Hans
Ark
CERTIFIED EXPERT
Commented:
msvbvmxx.dll is not a registerable (ActiveX) dll

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Commented:
oke... then I think that the best option is to reinstall visual basic. In some way there is a corrupted msvbvm60.dll version installed on your computer.

Goodluck!

Regards,
Hans

Author

Commented:
I solve the problem, and it was totally unrelated to msvbvm60.dll.  Apperantly when an exe fails in the middle, users get error on msvbvm60.dll, but that dosen't mean there is something wrong with the dll.

There was an Array out of range issue. The intresting part was that I was not getting any error when I was running the program from the IDE.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.