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 10,133 of 10,840    |
|    Max to Dean Earley    |
|    Re: Dos Batch Files    |
|    11 Jul 06 20:45:17    |
   
   From: nospam@spamcatchers.com   
      
   Good point   
      
   bit of a typo from me   
      
      
   "Dean Earley" wrote in message   
   news:44b23e99$0$10943$fa0fcedb@news.zen.co.uk...   
   > Max wrote:   
   >> Private Sub Command1_Click()   
   >> Shell ("c:\xxx.bat")   
   >> End Sub   
   >   
   > NEVER put brackets around a single parameter like that unless you know   
   > exactly what it is doing. If you do this, it WILL bite you in the back one   
   > day.   
   >   
   > You should only use brackets when using the return value of the function   
   > (which includes call) or when you explicitly want a parameter to be   
   > evaluated (Which is why it will fail when you try and pass an object)   
   >   
   > --   
   > Dean Earley (dean.earley@icode.co.uk)   
   > i-Catcher Development Team   
   >   
   > iCode Systems   
      
   --- 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