Solved

Event viewer shows error on msvbvm60.dll

Posted on 2006-10-25
7
4,342 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,





0
Comment
Question by:LegalZoomer
  • 3
  • 2
  • 2
7 Comments
 
LVL 27

Expert Comment

by:Ark
ID: 17809061
Did you use any API calls?
0
 

Author Comment

by:LegalZoomer
ID: 17813272
I use some adobe and MS Word dlls to create .pdf files and word files.
0
 
LVL 27

Expert Comment

by:Ark
ID: 17816130
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Expert Comment

by:Clivous
ID: 17833372
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
 
LVL 27

Assisted Solution

by:Ark
Ark earned 250 total points
ID: 17838043
msvbvmxx.dll is not a registerable (ActiveX) dll
0
 
LVL 1

Accepted Solution

by:
Clivous earned 250 total points
ID: 17840197
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
 

Author Comment

by:LegalZoomer
ID: 17846927
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

910 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now