Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Page Fault exiting VB6

Posted on 2000-04-26
12
Medium Priority
?
274 Views
Last Modified: 2010-05-02
Simple question - every time I exit VB6 IDE (from either control box or menu) I get an Invalid Page Fault in VB6.EXE (at 0167:00453cb5 if that helps).

Not a major problem as obviously I'm finished with VB when I'm closing it down anyway, but it does stop the Recent Projects list from getting updated.

Any ideas ?
0
Comment
Question by:paulstamp
  • 5
  • 4
  • 2
  • +1
12 Comments
 
LVL 32

Expert Comment

by:Erick37
ID: 2751302
Have you installed Service Pack 3?
0
 
LVL 3

Author Comment

by:paulstamp
ID: 2751316
Yes... I know thats probably a mistake ! (given that SP3 introduces bugs when writing ASPs).

I was initially using plain vanilla VB6 but installed SP3 in an attempt to resolve it.


0
 
LVL 4

Expert Comment

by:gcs001
ID: 2751567
What OS you using?  95/98/NT/2000?
Perhaps look at installing the latest Service Pack for your OS too.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Author Comment

by:paulstamp
ID: 2751598
It is Win98 SE (4.10.2222 A)
0
 
LVL 4

Expert Comment

by:gcs001
ID: 2751632
Does this happen every single time you go into VB?
Have you tried just going into VB and closing it without opening any project?
0
 
LVL 3

Author Comment

by:paulstamp
ID: 2751644
Good question... just tried it - still the same error.
0
 
LVL 4

Accepted Solution

by:
gcs001 earned 200 total points
ID: 2751675
Try disabling all the Visual Basic Add-ins:
1.  Select the "Add-Ins\Add-In Manager..." menu to bring up the Add-In Manager.
2.  De-select the add-ins that you wish to unload.
3.  Press OK to unload the add-ins.


0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2751714
has this been the case ever since you initially installed vb?
0
 
LVL 3

Author Comment

by:paulstamp
ID: 2751734
AzraSound - nope... hard to put my finger on exaclty when it started. I have seen the same problem on a different machine but I've switched to a new machine recently and it is now happening on this machine.

For additional info - I dont have any non-standard addins (not even the evil SourceSafe) installed but I'll try removing them all.
0
 
LVL 32

Expert Comment

by:Erick37
ID: 2751881
Add-Ins were a source of this type of error in VB5, but supposedly fixed:

"FIX: Invalid Page Fault When Shutting Down Visual Basic 5.0"

http://support.microsoft.com/support/kb/articles/Q167/2/13.asp
0
 
LVL 3

Author Comment

by:paulstamp
ID: 2754321
Aha... it is related to add-ins after all. SourceSafe had been installed on my machine but has not been working correctly (no surprise there). I edited VBAddin.ini and removed the entry to vbscc and now it shuts down smoothly.

Thanks for your help guys.

Erik - I've posted a new question for you to have points as the MSDN article was a useful pointer.
0
 
LVL 4

Expert Comment

by:gcs001
ID: 2758473
Glad we could be of assistance.

Regards,
Grant.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…

879 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