Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB 6.0 SP5 & Windows 2000 Professional.

Status
Not open for further replies.

gazal

Programmer
Apr 30, 2003
212
OM
Hi Guys

I am facing typical problem in using VB 6.0 SP5 on Windows 2000 Professional.

I faced the problem before also and CCLINT suggested me to uninstall and Reinstall VB,i did and it solved the problem but now again same problem is occuring. When i am typing any VB Commands in which Drop Down Help is avaialble, Win2000 throws Dr. Watson, Saying that this application has generated an Error and will close down., Lets say if i m typing

Dim Test as Integer

So as soon as after AS i press SPACEBAR the error pops up and VB gets shutdown on its own.

So what can be the reason, in Event Log it shows some hexadecimal address and some really typical message.

So plese advise me at ur earliest coz my whole work is stuck coz of this....

Regards and Thanks

Gazal
 
That's the same configuration I use at work and home. Sounds like something in Windows is a little wonky.

I would save your data, FDisk, reinstall Windows & VB and see what happens.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Thanks CHipH

If u r suggesting me for FDISK, then it points me to a known problem with my Hard Disk Head Alignment, So might that causing the Problem??? Can it be coz of that???

Please guide....

Regards

Gazal
 
Doubtful, as you'd have other major problems besides getting a programming environment to run (remember, swap space is stored on disk, so the OS would fall down all the time). But it certainly can't be helping, so I would take this opportunity to fix that too.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Gazal ...
Is it possible for you to use a completely diferent HardDrive, instead of FDisking the exisiting drive? Even if it is just some old 2gig drive. This would have several advantages.
You would not need to back-up all your exisiting data.
You could install Win2k, then install a virus scanner, then finally install only VB and its service packs.
Test this configuration by using VB, doing what it is that you know causes the error you referenced.
Then begin updating and applying the Win2k patches and updates. Testing VB after each update.
If it still works properly after all the Win2k updates are done, then it is possibly some other program that is actualy causing this problem, or your existing drive is beginning to go bad.
 
Or the possible quick fix.... delete dr watson. Although it's just a band aid fix and can lead to hard locks instead of just VB crashing.

-Rick
 
Hi Ricky

Can u please tell me how do i delete Dr. Watson????

Sorry for delayed response


Regards

Gazal
 
Gazal,
Sorry for the delayed response as well. Just do a search for drw*.* on your c: and delete the .exe files. Again, no garunty this will work, but it will keep watson from catching the leaked memory, the memory will still be getting leaked and can lead to hard locking the machine. but it might work for a while.

-Rick
 
I have a very simple app which usually works but sometimes generates Dr Watson erros> It is very completely traced, so that I know that the error occurs when perfomring a NAME operation. The NAME operation however is called for several files ( all the files existing which exist in both of two directories) and the erro wil occur apparently randomly on on of these NAME operations: I.e. it will sometimes succeed on the first 3 files, and then fail on the fourth, and other times fail on the third. ( This is when the app is running against the same files)
Any ideas as to how I might find out what the attached drwatson log means? (My app is the one that's crashing, update.exe)

Application exception occurred:
App: (pid=748)
When: 2/3/2004 @ 19:35:40.088
Exception number: c0000005 (access violation)

*----> System Information <----*
Computer Name: SOLO100
User Name: Administrator
Number of Processors: 1
Processor Type: x86 Family 6 Model 7 Stepping 3
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 3
Current Type: Uniprocessor Free
Registered Organization: Capstone & Company
Registered Owner: Joseph Ingrassia

*----> Task List <----*
0 Idle.exe
8 System.exe
140 SMSS.exe
164 CSRSS.exe
184 WINLOGON.exe
212 SERVICES.exe
224 LSASS.exe
384 svchost.exe
412 CCEVTMGR.exe
500 spoolsv.exe
536 svchost.exe
556 NAVAPSVC.exe
608 regsvc.exe
656 mstask.exe
704 WinMgmt.exe
768 winvnc.exe
804 svchost.exe
932 explorer.exe
1068 CCAPP.exe
1100 UpdateRecords.e.exe
828 TextTransporter.exe
748 UpDate.exe
900 DRWTSN32.exe
0 _Total.exe

(00400000 - 00424000)
(77F80000 - 77FFB000)
(66000000 - 66153000)
(77E80000 - 77F36000)
(77E10000 - 77E75000)
(77F40000 - 77F7C000)
(77DB0000 - 77E0D000)
(77D30000 - 77DA1000)
(77A50000 - 77B45000)
(779B0000 - 77A4B000)
(732E0000 - 73305000)
(10000000 - 1000E000)
(70BD0000 - 70C35000)
(78000000 - 78046000)

State Dump for Thread Id 0x318

eax=01760024 ebx=0062006c ecx=001863ee edx=0062006c esi=00148000 edi=017670d8
eip=779d9405 esp=0012f684 ebp=77e876b3 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000206


function: SysAllocStringByteLen
779d93ed 742d jz VarParseNumFromStr+0x1ec (779e1f1c)
779d93ef 8b742414 mov esi,[esp+0x14] ss:00cbcc57=????????
779d93f3 8918 mov [eax],ebx ds:01760024=006e0079
779d93f5 83c004 add eax,0x4
779d93f8 85f6 test esi,esi
779d93fa 7412 jz VarParseNumFromStr+0x1de (779e1f0e)
779d93fc 8bcb mov ecx,ebx
779d93fe 8bf8 mov edi,eax
779d9400 8bd1 mov edx,ecx
779d9402 c1e902 shr ecx,0x2
FAULT ->779d9405 f3a5 rep movsd ds:00148000=???????? es:017670d8=00000000
779d9407 8bca mov ecx,edx
779d9409 83e103 and ecx,0x3
779d940c f3a4 rep movsb ds:00148000=?? es:017670d8=00
779d940e c6041800 mov byte ptr [eax+ebx],0x0 ds:0062006c=??
779d9412 43 inc ebx
779d9413 83e3fe and ebx,0xfe
779d9416 66c704030000 mov word ptr [ebx+eax],0x0 ds:01760024=0079
779d941c 5f pop edi
779d941d 5e pop esi
779d941e 5d pop ebp
779d941f 5b pop ebx

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
77E876B3 000018A1 084D8B00 0F40F983 FFC10A83 346083FF oleaut32!SysAllocStringByteLen

*----> Raw Stack Dump <----*
0012f684 9c f7 12 00 60 19 40 00 - d4 f6 12 00 8b 08 41 00 ....`.@.......A.
0012f694 8b 90 02 66 4c 0f 14 00 - 6c 00 62 00 60 19 40 00 ...fL...l.b.`.@.
0012f6a4 8b 08 41 00 24 00 00 00 - bc f7 12 00 44 47 02 66 ..A.$.......DG.f
0012f6b4 ec 59 14 00 64 5a 14 00 - 12 00 00 00 01 00 03 00 .Y..dZ..........
0012f6c4 1f 47 02 66 00 00 00 00 - 64 5a 14 00 ec 59 14 00 .G.f....dZ...Y..
0012f6d4 bc f7 12 00 dd 05 41 00 - 48 57 14 00 de 4a 02 66 ......A.HW...J.f
0012f6e4 10 b3 13 00 38 f9 12 00 - 58 00 00 00 00 00 00 00 ....8...X.......
0012f6f4 b0 00 00 00 00 00 00 00 - 00 01 00 00 00 00 00 00 ................
0012f704 58 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 X...............
0012f714 00 00 00 00 00 00 00 00 - 00 00 00 00 16 00 00 00 ................
0012f724 01 00 00 00 10 00 00 00 - 01 00 00 00 0b 00 00 00 ................
0012f734 00 00 00 00 00 00 00 00 - 08 00 00 00 00 00 00 00 ................
0012f744 54 3d 40 00 00 00 00 00 - 0c 60 00 00 00 00 00 00 T=@......`......
0012f754 8c f7 12 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f764 3c 53 14 00 00 00 00 00 - 00 00 00 00 00 00 00 00 <S..............
0012f774 64 17 14 00 17 00 00 00 - 00 00 00 00 84 d1 13 00 d...............
0012f784 64 5a 14 00 30 c4 13 00 - b8 b0 13 00 0b 00 00 00 dZ..0...........
0012f794 11 00 00 00 17 00 00 00 - 20 f9 12 00 66 23 40 00 ........ ...f#@.
0012f7a4 e0 f6 12 00 60 19 40 00 - 00 00 00 00 ff ff ff ff ....`.@.........
0012f7b4 0b 47 02 66 1a 00 00 00 - 40 f9 12 00 1b e6 40 00 .G.f....@.....@.



Application exception occurred:
App: (pid=1080)
When: 2/3/2004 @ 19:41:31.634
Exception number: c0000005 (access violation)

*----> System Information <----*
Computer Name: SOLO100
User Name: Administrator
Number of Processors: 1
Processor Type: x86 Family 6 Model 7 Stepping 3
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 3
Current Type: Uniprocessor Free
Registered Organization: Capstone & Company
Registered Owner: Joseph Ingrassia

*----> Task List <----*
0 Idle.exe
8 System.exe
140 SMSS.exe
164 CSRSS.exe
184 WINLOGON.exe
212 SERVICES.exe
224 LSASS.exe
384 svchost.exe
412 CCEVTMGR.exe
500 spoolsv.exe
536 svchost.exe
556 NAVAPSVC.exe
608 regsvc.exe
656 mstask.exe
704 WinMgmt.exe
768 winvnc.exe
804 svchost.exe
932 explorer.exe
1068 CCAPP.exe
1096 REGISTER.exe
1080 UpDate.exe
748 DRWTSN32.exe
0 _Total.exe

(00400000 - 00424000)
(77F80000 - 77FFB000)
(66000000 - 66153000)
(77E80000 - 77F36000)
(77E10000 - 77E75000)
(77F40000 - 77F7C000)
(77DB0000 - 77E0D000)
(77D30000 - 77DA1000)
(77A50000 - 77B45000)
(779B0000 - 77A4B000)
(732E0000 - 73305000)
(10000000 - 1000E000)
(70BD0000 - 70C35000)
(78000000 - 78046000)

State Dump for Thread Id 0x430

eax=01760024 ebx=0062006c ecx=001863d8 edx=0062006c esi=00148000 edi=01767130
eip=779d9405 esp=0012f684 ebp=77e876b3 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000206


function: SysAllocStringByteLen
779d93ed 742d jz VarParseNumFromStr+0x1ec (779e1f1c)
779d93ef 8b742414 mov esi,[esp+0x14] ss:00cbcc57=????????
779d93f3 8918 mov [eax],ebx ds:01760024=006e0079
779d93f5 83c004 add eax,0x4
779d93f8 85f6 test esi,esi
779d93fa 7412 jz VarParseNumFromStr+0x1de (779e1f0e)
779d93fc 8bcb mov ecx,ebx
779d93fe 8bf8 mov edi,eax
779d9400 8bd1 mov edx,ecx
779d9402 c1e902 shr ecx,0x2
FAULT ->779d9405 f3a5 rep movsd ds:00148000=???????? es:01767130=00000000
779d9407 8bca mov ecx,edx
779d9409 83e103 and ecx,0x3
779d940c f3a4 rep movsb ds:00148000=?? es:01767130=00
779d940e c6041800 mov byte ptr [eax+ebx],0x0 ds:0062006c=??
779d9412 43 inc ebx
779d9413 83e3fe and ebx,0xfe
779d9416 66c704030000 mov word ptr [ebx+eax],0x0 ds:01760024=0079
779d941c 5f pop edi
779d941d 5e pop esi
779d941e 5d pop ebp
779d941f 5b pop ebx

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
77E876B3 000018A1 084D8B00 0F40F983 FFC10A83 346083FF oleaut32!SysAllocStringByteLen

*----> Raw Stack Dump <----*
0012f684 de 4a 02 66 f8 b2 13 00 - d4 f6 12 00 38 f9 12 00 .J.f........8...
0012f694 8b 90 02 66 f4 0e 14 00 - 6c 00 62 00 f8 b2 13 00 ...f....l.b.....
0012f6a4 38 f9 12 00 24 00 00 00 - bc f7 12 00 44 47 02 66 8...$.......DG.f
0012f6b4 fc 5a 14 00 04 5f 14 00 - 12 00 00 00 01 00 03 00 .Z..._..........
0012f6c4 1f 47 02 66 00 00 00 00 - 04 5f 14 00 fc 5a 14 00 .G.f....._...Z..
0012f6d4 bc f7 12 00 dd 05 41 00 - f0 59 14 00 de 4a 02 66 ......A..Y...J.f
0012f6e4 f8 b2 13 00 38 f9 12 00 - 58 00 00 00 00 00 00 00 ....8...X.......
0012f6f4 b0 00 00 00 00 00 00 00 - 00 01 00 00 00 00 00 00 ................
0012f704 58 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 X...............
0012f714 00 00 00 00 00 00 00 00 - 00 00 00 00 16 00 00 00 ................
0012f724 01 00 00 00 10 00 00 00 - 01 00 00 00 0b 00 00 00 ................
0012f734 00 00 00 00 00 00 00 00 - 08 00 00 00 00 00 00 00 ................
0012f744 54 3d 40 00 00 00 00 00 - 0c 60 00 00 00 00 00 00 T=@......`......
0012f754 8c f7 12 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f764 ac 57 14 00 00 00 00 00 - 00 00 00 00 00 00 00 00 .W..............
0012f774 6c 33 14 00 17 00 00 00 - 00 00 00 00 d4 c5 13 00 l3..............
0012f784 04 5f 14 00 18 c4 13 00 - d8 b0 13 00 0b 00 00 00 ._..............
0012f794 11 00 00 00 17 00 00 00 - 20 f9 12 00 66 23 40 00 ........ ...f#@.
0012f7a4 e0 f6 12 00 60 19 40 00 - 00 00 00 00 ff ff ff ff ....`.@.........
0012f7b4 0b 47 02 66 1a 00 00 00 - 40 f9 12 00 1b e6 40 00 .G.f....@.....@.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top