|
-
Apr 7th, 2006, 12:03 PM
#1
Thread Starter
Junior Member
VB crashes
Hi im working with vb 6 and after a few seconds (sometimes minutes) of working it just crashes.
the following is diplayed:
Visual Basic has encountered a problem and needs to close. We are sorry for the inconvenience.
It's one of those "send error report" windows. I've uninstalled vb6 and reinstalled to no avail. please can someone help it's quite frusutrating. I cant do anything in vb.
the error information details are
AppName: vb6.exe AppVer: 6.0.81.76 ModName: vb6.exe
ModVer: 6.0.81.76 Offset: 000581f1
thanx in advance
-
Apr 7th, 2006, 12:10 PM
#2
Re: VB crashes
Welcome to VB Forums!
Unfortunately from the information you've given it's impossible to tell why you are crashing. Can you zip up and attach your project?
-
Apr 7th, 2006, 12:19 PM
#3
Re: VB crashes
And speaking of projects, does this happen with ALL projects, or just one specific project?
-
Apr 7th, 2006, 12:57 PM
#4
Re: VB crashes
amarbolla,
Did you install the VS/VB SP's also????
-
Apr 7th, 2006, 01:00 PM
#5
Thread Starter
Junior Member
Re: VB crashes
It does this with all projects regardless.
sorry randem, what are VS/VB SP's?
i just uninstalled all components and reinstalled
thanx guys
-
Apr 7th, 2006, 01:02 PM
#6
Re: VB crashes
There are service packs that need to be installed with Visual Studios and Visual Basic. You will need them for VB to run correctly.
-
Apr 7th, 2006, 01:08 PM
#7
Thread Starter
Junior Member
Re: VB crashes
I seem to have isolated the problem the error ocurs when i put a text box or radio button, or list box or anyting complicated onto the onto a form and try to run the program, or click on the form with the object on it in to view it from the project explorer. The form works fine with a command button though!!
when i get the error debug takes me into visual c++ the Diassembly shows the following error
Code:
004581F1 mov ecx,dword ptr [eax]
hope this means something to any one!
thanks again peeps
-
Apr 7th, 2006, 01:10 PM
#8
Re: VB crashes
Did you see Hack's question?
-
Apr 7th, 2006, 01:11 PM
#9
Thread Starter
Junior Member
Re: VB crashes
where can i get these service packs? i have professional version of visual studio (licensed). vb 6 used to work before, c++ works fine iv'e been using that for months
thanks
-
Apr 7th, 2006, 01:11 PM
#10
Thread Starter
Junior Member
Re: VB crashes
yes it happens with all new project that i try to compile
thanks
-
Apr 7th, 2006, 01:12 PM
#11
Re: VB crashes
Microsoft's Web site. Just go there and do a search for "Service Packs"
-
Apr 7th, 2006, 01:14 PM
#12
Re: VB crashes
Another question.
When was the last time you ran ScanDisk or Defraged your hard drive?
-
Apr 7th, 2006, 01:18 PM
#13
Thread Starter
Junior Member
Re: VB crashes
right iv just run (vbrun60sp6.exe) from the microsoft sit and had no luck.
i ran scandisk not so long ago but i havn't defrag in a while should i do both now?
in fact i will!!
thanks!
-
Apr 7th, 2006, 01:21 PM
#14
Re: VB crashes
 Originally Posted by amarbolla
right iv just run (vbrun60sp6.exe) from the microsoft sit and had no luck.
i ran scandisk not so long ago but i havn't defrag in a while should i do both now?
in fact i will!!
thanks!
The only thing that makes any sense (if you have installed the service packs) is that you have a bad memory location or something along those lines that defrag might take care of.
Another thing to try, just to eliminate any possibilities, is to use the same CD that you use to install VB on your machine, and install it on another machine.
If you have the same problem on the other machine, then maybe you have a bad CD.
If you don't have the same problem on the other machine, then the problem is probably your machine itself.
-
Apr 7th, 2006, 01:25 PM
#15
Thread Starter
Junior Member
Re: VB crashes
i do actually have the same cd installation of vb 6 on my brothers pc, his version works fine
thanks
-
Apr 7th, 2006, 01:28 PM
#16
Re: VB crashes
 Originally Posted by amarbolla
i do actually have the same cd installation of vb 6 on my brothers pc, his version works fine
thanks
Then I'm guessing it has something to do with your machine itself.
Lets see what happens after a defrag.
-
Apr 7th, 2006, 01:31 PM
#17
Thread Starter
Junior Member
Re: VB crashes
cheers see you in a bit
thanks
-
Apr 7th, 2006, 01:37 PM
#18
Re: VB crashes
That happen to me a long time ago. I believe I had to rename the VB.ini file and rerun VB and all was well.
-
Apr 7th, 2006, 02:36 PM
#19
Re: VB crashes
randem, it would be interesting if you looked at your vb.ini and the one you renamed and found the difference between them. Especially if one wasn't human readable. (It should be all plain text.)
-
Apr 7th, 2006, 02:37 PM
#20
Re: VB crashes
 Originally Posted by amarbolla
where can i get these service packs?
http://msdn.microsoft.com/vstudio/do...6/default.aspx
 Originally Posted by amarbolla
right iv just run (vbrun60sp6.exe) from the microsoft sit and had no luck.
vbrun60sp6.exe is only the basic runtime files. The service pack updates all additional ActiveX controls as well.
Download Service Pack 6 for Visual Basic 6.0, Visual C++ 6.0 with Visual Source Safe 6.0d as either a single download or a multi-part download.
You can download the Full Version of Service Pack 6, Vs6sp6.exe - 62.7Mb or 8 Individual downloads.
You can download just Service Pack 6 for Visual Basic 6.0 which is Vs6sp6B.exe - 27.9Mb or 8 Individual downloads.
Keith
I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
-
Apr 7th, 2006, 02:50 PM
#21
Re: VB crashes
Al42,
Yes, but that doesn't make a difference. If it is corrupted, it is corrupted. It could be a simple a a CR when there should be a CRLF. It all depends on the level of the person who wrote the ini Parser for the program.
It was something like that anyway...
-
Apr 8th, 2006, 08:34 AM
#22
Thread Starter
Junior Member
Re: VB crashes
wehey!! peeps!!
defrag didnt fix it but. . .
. . . Vs6sp6.exe did the job! no more crashes! thanks to everyone in the forum!! if i ever hav any more vb problems (god forbid) i'll know where to come!
thanks again to everyone who posted!
-
Apr 8th, 2006, 12:14 PM
#23
Re: VB crashes
Now that we've helped you, you can help us by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button which will let everyone know that you have your answer. Also if someone has been particularly helpful, or even particularly unhelpful, you have the ability to affect a their forum "reputation" by rating their post.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|