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 9,118 of 10,840   
   Danny De Koster to Raoul Watson   
   Re: trapping parameters by launch of pro   
   30 Dec 04 14:04:27   
   
   From: ddk@fidelity-soft.be   
      
   Raoul,   
      
   What I want to achieve is receiving a variable that has been send when I   
   launch my program.   
      
       ex.:    c:\foto\foto.exe filename.bmp   
      
   I want to know the filename that has been given.   
      
      
   "Raoul Watson"  schreef in bericht   
   news:b7SAd.6000$PY6.164@trndny02...   
   >   
   > "Danny De Koster"  wrote in message   
   > news:41d3e237$0$2459$ba620e4c@news.skynet.be...   
   > > Hi all,   
   > >   
   > > I'm really a newbie.   
   > > How can I trap (read in my program) the parameters which where giving at   
   > the   
   > > launch of the my program?   
   > >   
   > > thanks for any tips   
   > > Danny   
   > >   
   >   
   > You can use the "command" function   
   > (parameterstring = command)   
   > To test it in the VB environment, you can go to the Project Properties   
   under   
   > the "Make" tab and set the argument there.   
   > If you type command and get help on it, there is a good example   
   >   
   >   
      
   --- 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