Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
vb6.exe closes randomly on W2000 Pro
Old
  (#1)
Nina Harris
Guest
 
Posts: n/a
Default vb6.exe closes randomly on W2000 Pro - 06-04-2007, 09:44 AM

when running an interactive session with the vb6 IDE open,
I get random closures of vb6.exe with a message pop
that it is writing an error log and then after about 1 minute
the vb6 ide closes

the system is a clean setup (fdisk, format) of windows 2000 pro
with all service packs (sp4) and all windows updates (critical
and non-critical applied)

have replicated problem with vb6 both sp5 and sp6 applied
and tested separately on three (3) identical new w2k pro systems

have unistalled vb6 multiple times and reinstalled it multiple times
have installed and tested problem on both vb6 pro and vb6 enterprise
with both sp5 and sp6 applied

if I compile the app to an exe, then the exe runs just fine, the
only problem is running with the vb6 ide open and stepping through
the code

the error occurs when vb6 hits this line
If FileExists(some path defined here) Then
..

Public Function FileExists(strDest As String) As Boolean
..etc..
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: vb6.exe closes randomly on W2000 Pro
Old
  (#2)
J French
Guest
 
Posts: n/a
Default Re: vb6.exe closes randomly on W2000 Pro - 06-04-2007, 09:44 AM

On 9 Aug 2004 15:12:22 -0700, EMAIL REMOVED (Nina Harris) wrote:

>when running an interactive session with the vb6 IDE open,
>I get random closures of vb6.exe with a message pop
>that it is writing an error log and then after about 1 minute
>the vb6 ide closes


<snip>

>the error occurs when vb6 hits this line
>If FileExists(some path defined here) Then
> ..
>
> Public Function FileExists(strDest As String) As Boolean
> ..etc..


I've had similar peculiar things with XP Pro and VB5

In two cases it turned out to be a slightly dodgy parameter to an API

The most peculiar case was just Txt1.Text = "xxx" in a multline
Textbox - just in the IDE, not when compiled
That problem seems to have disappeared
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top