home bbs files messages ]

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,130 of 10,840   
   Dean Earley to Max   
   Re: Dos Batch Files   
   10 Jul 06 12:47:00   
   
   From: dean.earley@icode.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