Thread Solved

Join Date: Aug 2007
Posts: 91
Reputation: Agita is an unknown quantity at this point 
Solved Threads: 0
Agita Agita is offline Offline
Junior Poster in Training

Random question

 
0
  #1
Aug 14th, 2007
Hello I am an Utter noob at this but just wanting to ask a simple question or two.

What would I use in order to create a graphical interface. Something simple that would link buttons to scrips? Any answer or suggestion would be much appriciated!

Thanks in advance.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 160
Reputation: kb.net is an unknown quantity at this point 
Solved Threads: 26
kb.net's Avatar
kb.net kb.net is offline Offline
Junior Poster

Re: Random question

 
0
  #2
Aug 15th, 2007
Hi,

That depends on what you need to do. Please provide further information.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 91
Reputation: Agita is an unknown quantity at this point 
Solved Threads: 0
Agita Agita is offline Offline
Junior Poster in Training

Re: Random question

 
0
  #3
Aug 15th, 2007
Sorry for the lack of info. I don't really know myself. I might not even have the right Idea but, a small window with buttons that link to a script or batch or anything else. Just to give a interactive interface instead of a bunch of different scripts. Thanks for the reply.

(out of curiosity that might lead to giving you a idea have you
ever used a hiren's disk before in particular 9.1 or higher?)
Last edited by Agita; Aug 15th, 2007 at 1:47 pm.
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 322
Reputation: Hamrick will become famous soon enough Hamrick will become famous soon enough 
Solved Threads: 33
Hamrick's Avatar
Hamrick Hamrick is offline Offline
Posting Whiz

Re: Random question

 
0
  #4
Aug 15th, 2007
I just finished an app that lets you open a data connection and test stored procedures by using an XML config file to specify the stored procedures and corresponding parameter information. If I understand, that's close to what you want to do. There are a few things you need to think about.
  • If you want to run any script or program, you can't hard code anything. You have to use some kind of config file to say what program is being run and what parameters it takes. I did that with an XML file that I deserialize into an object hierarchy.
  • You need to come up with a way to display the output in a universal way. With program output, that means you're going to end up using just a text box and letting the program format the output. What I did was use a data grid for the result set and a multiline text box for the output parameters.
  • The UI needs to be able to adjust to different numbers and types of parameters that you send to the program you're going to run. What I did was make a user control with a name and a text box value that the user can just type freeform parameter data into. There's no validation since it's a utility for people who know what they're doing.
It's harder to write an application that's universal than one that only allows a few different script types. You need to think hard about the design before you start writing code or you'll end up throwing a lot of things away when it turns out to be too specific.

As for the language, I wrote mine in C# 1.1, and a .NET language makes things pretty easy if you're on a windows platform. That's what I'd recommend for you. Next in line is non-.NET visual basic if you're on a windows platform that doesn't use .NET and Java if you're not on windows at all. All of them make writing GUIs as simple as possible.
The truth does not change according to our ability to stomach it.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 91
Reputation: Agita is an unknown quantity at this point 
Solved Threads: 0
Agita Agita is offline Offline
Junior Poster in Training

Re: Random question

 
0
  #5
Aug 15th, 2007
Thanks for the information! I'll start researching.

Thanks for your help!
Last edited by Agita; Aug 15th, 2007 at 2:39 pm.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 91
Reputation: Agita is an unknown quantity at this point 
Solved Threads: 0
Agita Agita is offline Offline
Junior Poster in Training

Re: Random question

 
0
  #6
Aug 15th, 2007
Sorry to double post but is there a good compiler that works with windows but is free?
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 322
Reputation: Hamrick will become famous soon enough Hamrick will become famous soon enough 
Solved Threads: 33
Hamrick's Avatar
Hamrick Hamrick is offline Offline
Posting Whiz

Re: Random question

 
0
  #7
Aug 15th, 2007
What language do you need the compiler for?
The truth does not change according to our ability to stomach it.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 91
Reputation: Agita is an unknown quantity at this point 
Solved Threads: 0
Agita Agita is offline Offline
Junior Poster in Training

Re: Random question

 
0
  #8
Aug 15th, 2007
C+ is all I really know.

Willing to experiment with anything else.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 160
Reputation: kb.net is an unknown quantity at this point 
Solved Threads: 26
kb.net's Avatar
kb.net kb.net is offline Offline
Junior Poster

Re: Random question

 
0
  #9
Aug 16th, 2007
Hi,
If you can unsertand some VBA (and it is very user friendly) you can simply use access or excel. Am sure as you start you can get very good suport.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 91
Reputation: Agita is an unknown quantity at this point 
Solved Threads: 0
Agita Agita is offline Offline
Junior Poster in Training

Re: Random question

 
0
  #10
Aug 16th, 2007
Visual Basic for Applications?

Expensive? Hoping to say in windows and legal. lol
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the IT Professionals' Lounge Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC