How to get args from console just like in c++ void main(....,char * args)
VB Code: Msgbox Command 'or Dim args() as String = Split(Command, " ") ' or what ever you want to use as a delimiter or VB Code: Public Function Main(ByVal CmdArgs() As String) As Integer 'do whatever Return 0 End Function
Msgbox Command 'or Dim args() as String = Split(Command, " ") ' or what ever you want to use as a delimiter
Public Function Main(ByVal CmdArgs() As String) As Integer 'do whatever Return 0 End Function
Tips: Google is your friend! Search before posting!Name your thread appropriately... "I Need Help" doesn't cut it!Always post your code!!!! We can't read your mind!!! (well, at least most of us!)Allways Include the Name and Line of the Exception (if one is occuring!)If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005) If you think I was helpful, rate my post IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous
Forum Rules