Link to home
Start Free TrialLog in
Avatar of jsa
jsa

asked on

vb6 causing IPF in vba6.dll

I installed the Visual Studio Service Pack 3, and now I can't run Visual Basic. I've un & re-installed VS6, with and without reinstalling the service pack, but I still get the same error message everytime I try and open a project (new or existing).

VB6 caused an invalid page fault in
module VBA6.DLL at 015f:0fada3c7.
Registers:
EAX=00000000 CS=015f EIP=0fada3c7 EFLGS=00010246
EBX=00000001 SS=0167 ESP=007ffb98 EBP=007ffbb8
ECX=005d6afc DS=0167 ESI=005f1a78 FS=59b7
EDX=007ffbb4 ES=0167 EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 08 ff 11 8b 45 fc 89 b0 b8 0c 00 00 8b 45 fc
Stack dump:
00000000 0fa937b8 007ffbb4 00000000 00000000 653c6278 00000000 00000000 007ffbd4 0fada344 022dfd74 022df010 00000000 005d35f4 022dfd94 007ffbf8

Microsoft tech support has been pretty much useless. Everything was working fine before the service pack.

I'm also getting errors in J++. I can open a project this time, but as soon as I try and view a form, I get:

DEVENV caused an exception c0000025H in module MSJAVA.DLL at 015f:7c0575d3.
Registers:
EAX=00000000 CS=015f EIP=7c0575d3 EFLGS=00000246
EBX=00000000 SS=0167 ESP=074dfad0 EBP=7c006240
ECX=00000009 DS=0167 ESI=00000000 FS=52d7
EDX=00000200 ES=0167 EDI=03d50ea0 GS=4fbe
Bytes at CS:EIP:
e9 38 03 fe ff 50 e8 26 b4 fa ff c7 03 00 00 00
Stack dump:
0399b9c8 7c036375 0399b470 03d50ea0 0399b9c8 7c006240 0068dd90 0399b9c8 7c036213 03d50efa 0068dd90 ffffffff 0068dd90 7c006240 00000001 00000008
Avatar of Patricia Siu-Lai Ho
Patricia Siu-Lai Ho
Flag of Hong Kong image

jsa,
Change your display adapter to standard VGA and go to the safe mode to remove your default display adapter. Restart the computer 3 times.
Open VB6, see if there is any conflict error msg. If there is no more error msg, reinstall again your most update driver of your display adapter. Go to the safe mode and remove the VGA adapter. Restart the computer 3 times.
Inspect if the system restore its stability.     pslh
Avatar of jsa
jsa

ASKER

Thanks pslh, but it didn't work. It did get me a little closer to a solution though....VB worked perfectly in Safe Mode.
jsa,
(1) go to the control panel, add/remove programs,  Microsoft Internet Explorer 5 and internet tools, click [Add/remove] button and select "repair internet explorer". OK to proceed.
(2) go to start-run, type "sfc" and scan for altered files. Prior to this, click the setting and checked the boxes for changed and deleted files.
      Restart computer for 3 times.
(3) Try to start-run, type "msconfig", startup tab, unchecked most of the boxes except
      the powerprofile (2 lines), system tray, ScanRegistry.
      Restart the computer to normal mode and run VB, if normal, go back and checked the box one by one again and test if there is any programs in conflict with the VB.
pslh
Avatar of Asta Cu
Although you mentioned you've explored the MS KNowledge Base, this I recently read and "may" apply.

BUG: IPF When Replacing Class Module with UserControl


Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0

--------------------------------------------------------------------------------


SYMPTOMS
When replacing a Class module with a UserControl in an ActiveX Control project that has Binary Compatibility set, an Invalid Page Fault (IPF) in module VBA6.dll will occur.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

Source link: http://support.microsoft.com/support/kb/articles/Q191/0/83.asp 

Asta




There is more in the article when you connect to the link.  Wanted to add one more piece of information and that is to inspect your Downloaded Program Files Folder to ensure no ativeX file or dependency is listed there as damaged.  If so, when online, right click update (depending on module and issue may have different process).

Avatar of jsa

ASKER

I've already tried SFC & closing all running apps except explorer & systray. The article doesn't help since I can't get that far in the process...as soon as I click that OPEN button it crashes <G>. I'll try the IE fix & the download program files things tonight, and let you know. Thanks for the help so far. I'm about ready to just format & start over, but I really want to try & avoid that option if I can.
jsa, as you can run VB6 at safe mode well. There is some drivers loaded causing the problem in normal mode. You may try to inspect and disable any dialup to MSN library etc during startup.

You may also try to restore the registry to the date before you upgrade the VB6.
method: go to the command mode, at the C:\> prompt, type "scanreg /restore" and press enter.
There is several *.cab for you to select. Select the one with date before you upgrade the VB6. Continue the process.

Restart the computer. See if that helps.    pslh
Found another Error code related to "015f"...

CAUSE
=====
 
You may receive this error if you attempt an operation with the Modulus operator
on two literals where the divisor evaluates to zero.
 
You will not receive an error if one or both of the Modulus arguments is a
variable. If one or both of the Modulus arguments is a variable, you will
receive a run-time error 11 "Division By Zero" as expected.
 
STATUS
======
 
Microsoft has confirmed this to be a bug in the Microsoft products listed at the
beginning of this article. This bug has been fixed in Visual Studio 97 Service
Pack 2.
 
For more information on the Visual Studio 97 Service Pack 2, please see the
following article in the Microsoft Knowledge Base:
 
   Q170365 : INFO: Visual Studio 97 Service Packs - What, Where, and Why
 
For a list of the Visual Basic 5.0 bugs that were fixed in the Visual Studio 97
Service Pack 2, please see the following article in the Microsoft Knowledge
Base:
 
   Q171554 : INFO: Visual Basic 5.0 Fixes in Visual Studio 97 Service Pack 2
Avatar of jsa

ASKER

I have Visual Basic 6...not 5.
http://support.microsoft.com/support/kb/articles/q232/8/03.asp


This link addresses your latter Err Msg: Explorer Caused an Exception c0010000h in Module Msjava.dll

--------------------------------------------------------------------------------
The information in this article applies to:

Microsoft Windows 98 Second Edition
Microsoft Windows 98

asta

The last link, jsa, provides the link to replace your damaged java module (which this error presumes).  Your Downloaded Program Files Folder may or may not have listed this as damaged, listening further for the outcome.

Asta
Avatar of jsa

ASKER

Problem solved! It turned out to be a problem with my user profile. The SP3 setup wrote files to the default Application Data\Visual Studio folder, and deleted critical files in the Profiles\MyProfile\Application Data\Visual Studio folder, which SFC didn't catch. Rebuilding the user profile fixed all of the problems. Thanks to everyone for the help though. (I still haven't heard back from Microsoft <G>)
A song comes to mind all about "working hard for our money", she chuckles and closes with a smile.  Glad to hear all is well, jsa.  Computers are both great and not (when in troubleshooting mode).

Asta
ASKER CERTIFIED SOLUTION
Avatar of darinw
darinw

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hi jsa,

I tried re-creating my user profile. And then trying the same. Could you please post the steps performed by you that the problem has been solved.


K'Regards

Jayesh