Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 05-04-2007, 04:47 PM   #1 (permalink)
In The Zone
 
webgenius's Avatar
 
Join Date: Oct 2006
Posts: 384
Default Need suggestions regarding design of FRONT END for project

Hello guys,

I'm an engineering student and have developed an application as part of my final year project. It's working well. But I'm supposed to design a front end for it.

The way I have implemented it is: The user provides the input from command line like:

prog-name supposed-file-name -level file1 [file2] [file3] ....

prog-name is the executable, supposed file-name is the output file obtained after running the executable, and then the file names.

Please guys suggest me how to develop a front-end for this.
webgenius is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 05-04-2007, 05:36 PM   #2 (permalink)
Human Spambot
 
Join Date: Nov 2004
Location: Madurai
Posts: 2,338
Default Re: Need suggestions regarding design of FRONT END for project

Create a VB GUI that gets file names, then executes a system call for the program with the parameters... You can get VB.NET Express Edition downloadable free... Or, you can probably also use VC# (Express Edition provided in this month's Digit DVD) but I have no experience in it...

Arun
sakumar79 is offline  
Old 06-04-2007, 03:04 PM   #3 (permalink)
In The Zone
 
webgenius's Avatar
 
Join Date: Oct 2006
Posts: 384
Default Re: Need suggestions regarding design of FRONT END for project

Quote:
Originally Posted by sakumar79
Create a VB GUI that gets file names, then executes a system call for the program with the parameters... You can get VB.NET Express Edition downloadable free... Or, you can probably also use VC# (Express Edition provided in this month's Digit DVD) but I have no experience in it...

Arun
I can use an API in VB that calls the executable file and passes parameters to it. But the problem is that I don't know how to display the contents of the executable file in VB window and and the executable requires the user to press a key after execution.
webgenius is offline  
Old 06-04-2007, 04:59 PM   #4 (permalink)
Human Spambot
 
Join Date: Nov 2004
Location: Madurai
Posts: 2,338
Default Re: Need suggestions regarding design of FRONT END for project

I think that process call in vb.net allows you to wait for the process to exit and then continue code processing... Is this what you are looking for? If so, I will check up further and get back to you...

Arun
sakumar79 is offline  
Old 06-04-2007, 07:53 PM   #5 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,905
Default Re: Need suggestions regarding design of FRONT END for project

Why don't u think for "C" / "C++" for developing command line programs?

(plz correct me if I'm supposing something wrong..)
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
Old 06-04-2007, 08:22 PM   #6 (permalink)
In The Zone
 
webgenius's Avatar
 
Join Date: Oct 2006
Posts: 384
Default Re: Need suggestions regarding design of FRONT END for project

Quote:
Originally Posted by shirish_nagar
Why don't u think for "C" / "C++" for developing command line programs?

(plz correct me if I'm supposing something wrong..)
My project already supports command line arguments

Quote:
Originally Posted by sakumar79
I think that process call in vb.net allows you to wait for the process to exit and then continue code processing... Is this what you are looking for? If so, I will check up further and get back to you...

Arun
What I'm trying to say is that, the executable I have expects the user to press a key after execution is complete. This way the executable has to be looked into.

Now I'm thinking of using QT for designing the interface. Anyone has experience with it?

Last edited by webgenius; 06-04-2007 at 08:22 PM. Reason: Automerged Doublepost
webgenius is offline  
Old 06-04-2007, 10:41 PM   #7 (permalink)
Human Spambot
 
Join Date: Nov 2004
Location: Madurai
Posts: 2,338
Default Re: Need suggestions regarding design of FRONT END for project

If you dont want the executable to have the user press a key after completion, you should have the source code and edit it... AFAIK, there is no way you can simulate a keypress from one program for a diff program, even if you know when to press it...

Arun
sakumar79 is offline  
Old 07-04-2007, 02:26 AM   #8 (permalink)
In The Zone
 
webgenius's Avatar
 
Join Date: Oct 2006
Posts: 384
Default Re: Need suggestions regarding design of FRONT END for project

Quote:
Originally Posted by sakumar79
If you dont want the executable to have the user press a key after completion, you should have the source code and edit it... AFAIK, there is no way you can simulate a keypress from one program for a diff program, even if you know when to press it...

Arun
The executables from VC and DevC++ always expect the user to press a key at the end. Trying my hands on QT now. Maybe it'll be helpful.
webgenius is offline  
Old 07-04-2007, 02:52 AM   #9 (permalink)
CG Artist
 
gaurav_indian's Avatar
 
Join Date: May 2006
Location: New Delhi,India
Posts: 1,461
Default Re: Need suggestions regarding design of FRONT END for project

^^ Do u have .net framework 2.0 installed?If you have i want to show you one file.
gaurav_indian is offline  
Old 07-04-2007, 04:25 PM   #10 (permalink)
In The Zone
 
webgenius's Avatar
 
Join Date: Oct 2006
Posts: 384
Default Re: Need suggestions regarding design of FRONT END for project

Quote:
Originally Posted by gaurav_indian
^^ Do u have .net framework 2.0 installed?If you have i want to show you one file.
Yeah sure.
webgenius is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Front USB Probs gg_3000 Hardware Q&A 3 12-11-2009 10:30 AM
front USB are not working hrushij Peripherals 2 30-03-2007 10:25 AM
A Good Project in PHP for my college project debiprasad_sahoo Open Source 8 15-12-2006 05:31 PM
nfs ug2 cant see the front road and my car romeo_8693 QnA (read only) 3 27-12-2005 12:58 PM


All times are GMT +5.5. The time now is 02:21 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2