Event viewer shows error on msvbvm60.dll

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,





LegalZoomerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ArkCommented:
Did you use any API calls?
0
LegalZoomerAuthor Commented:
I use some adobe and MS Word dlls to create .pdf files and word files.
0
ArkCommented:
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
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

ClivousCommented:
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
0
ArkCommented:
msvbvmxx.dll is not a registerable (ActiveX) dll
0
ClivousCommented:
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
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LegalZoomerAuthor 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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

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.