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,952 of 10,840    |
|    D & J G to Raoul Watson    |
|    Re: Unexpected Error!!    |
|    11 Mar 06 18:32:16    |
   
   From: donandjane@optusnet.com.au   
      
   "Raoul Watson" wrote in message   
   news:tLbQf.19671$6h1.18785@trndny09...   
   >   
   > "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..   
   >   
   When running, as soon as the code gets to   
   myDebug   
   I get the message   
      
   Compile Error:   
   "Argument not optional"   
      
   Huh! Am I too green for this?   
   Don   
      
   --- 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