Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,949 of 10,840    |
|    Raoul Watson to donandjane@optusnet.com.au    |
|    Re: Unexpected Error!!    |
|    10 Mar 06 09:35:21    |
   
   From: WatsonR@IntelligenCIA.com   
      
   "D & J G" wrote in message   
   news:440e7f61$0$1013$afc38c87@news.optusnet.com.au...   
   > ** Responses interspersed..   
   > > ...   
   > > I suggest you put some logging in your code to see how far it gets if   
   > > anywhere.   
   >   
   > ** Not sure how to do this. I'm somewhat a newbie :O(   
      
   You can create a sub such as..   
      
   Sub myDebug(mystr$)   
   dim f$   
   f$ = App.Path & "\debug.txt"   
   Open f$ for append as # 1   
    print #1, mystr$   
   Close   
   End Sub   
      
      
   And call this routine to write out "markers where you're at in the program.   
   For example   
      
   Call myDebug("In sub MAIN getting preferences")   
   Call myDebug("Getting user network ID..")   
      
   Reading user settings..   
   etc.. etc..   
      
   Examining the file will give you an idea how far you get and where the   
   program may have issues..   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca