Solved

Event viewer shows error on msvbvm60.dll

Posted on 2006-10-25
7
4,443 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
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Determine Range to Select 5 49
Getting warning: You are about to delete 1 row(s) 9 50
VBA: Select SQL query based on a config Sheet v2 11 44
Added a column screws up code 5 58
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…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

832 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