Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple GUI to excute command line utility

Status
Not open for further replies.

steveot

IS-IT--Management
Oct 27, 2003
1,635
US
Im just starting out on VB and C++.
Not sure which to use.


Im looking to create a GUI interface program that calls on an external cmd line application to convert a file from xml to html. What I need it just to have the user be able to select the source XML file with a browse button. Then select with another browse button where to output the convrted file. Then hit a "Go" Button run the process




A) Select a file from the hardrive

B) The project would pass the file name to and external application with two arguments(input filename, output directory)

Im assuming I want to use the shell statement

So I would be passing the original XML file name selected (file.xml) and passing the output directory to the application. Then user would select GO and the external appliction would convert file.xml to file.htm and save it to the output directory.





 



Hi,

This is Visual Basic for Applications, built into Word, Excel, Access and other applications.

You seem to be wanting to code and compile a stand alone executable. You might want to post in Forum222.

Skip,

[glasses] To be safe on the [red]FOURTH[/red],
Don't take a [red]FIFTH[/red] on the [red]THIRD[/red]
Or you might not come [red]FORTH[/red] on the [red]FIFTH[/red]
[red][highlight blue]FORTH[/highlight][/red][white][highlight red]WITH[/highlight][/white] [tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top