Hi,
I'm just starting an effort of converting a couple GUI front ended apps into Command line apps. Can anyone give me the conceptual process to go about this?
Sub Questions:
- I'm assuming that I'll come up with an arbitrary ordering of the GUI inputs, so that the new program will look something like "CommandApp .exe Var1 Var2, ..."; is this a good assumption?
- How would a Listbox (on the GUI) be converted to a command line argument? Would each line be a new argument, or is there some character I'd place to seperate the variables?
Thanks,
Sitko.
I'm just starting an effort of converting a couple GUI front ended apps into Command line apps. Can anyone give me the conceptual process to go about this?
Code:
Public Class Form1 Inherits System.Windows.Forms.Form Public Shared Sub Main (ByVal args() As String) 'Do stuff end sub end class
- I'm assuming that I'll come up with an arbitrary ordering of the GUI inputs, so that the new program will look something like "CommandApp .exe Var1 Var2, ..."; is this a good assumption?
- How would a Listbox (on the GUI) be converted to a command line argument? Would each line be a new argument, or is there some character I'd place to seperate the variables?
Thanks,
Sitko.
Comment