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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gui interface for dos console programs?

Status
Not open for further replies.

mcdonalds123

Technical User
Mar 5, 2006
1
TH
Hi everyone,
I have a java program that runs in dos mode. Everytime I need it to do something like open a file, I must type in long dirs commands. Everytime I need to compiled the program I need to type in long commands. As you can imagine, this really is a pain.
Recently to releive some frustrations, I have made a batch file with commmands stored in it. So now I just execute that command when I need it to open a file or compile. It saved me some frustrations but still the problem hasnt been solved.
Another idea I had in mind was to just go buy a java program with easy to use interface such as Borland J-builder but its just too expensive for me from now, since Im still a student.
ANyway, I thought maybe I could make a Gui-interface for it
using Visual basics. This is where I need your expert suggestions. Can, what I proposed here be accomplished?
If so please help out.
Im thinking, I would make a button.(just keeping it simple to show you my idea) Then, insert a code into that button so that when it is pressed, it will execute the java.exe + open file command(this would be the command that I typed to compiled the program in console mode). And do the samething to other functions that the program may have.
Am I staring in the right direction? Please give your suggestions and comments. thankx in advance:)
 
You can get Borland Jbuilder personal version from the Borland web site for free.
 
You're right, I guest I can get it for free.But on the other hand there are other programs that I cant get for free. Besides I still want to know how to do this. I have search through out the web and cant really find a really good tutorial on making gui interfaces for console programs or even how it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top