![]() |
How can I create a GUI program to launch Maintenance Tools?
Hi
http://i41.tinypic.com/34nql92.jpg Any ideas on how I could create the above mockup, for real? I would like; RAM - Display shows in log (bottom) - Open display system properties Scheduled Tasks - Display shows in log - Open opens up the scheduled tasks control panel applet Backup Directory - Display show which it will go to - Open opens it up in explorer Check Raid - Checks if the Software RAID is healthy - Open opens up Disk Management I thought of the idea, then I prtscn'd the XAMPP Control Panel for the mockup. Please tell me if it is possible to do as shown in the mockup. Thanks in advance, Panarchy |
Re: How can I create a GUI program to launch Maintenance Tools?
Its very much possible and there are API to be doing this.
Opening Task manager can be done using just launching "taskmgr.exe" |
Re: How can I create a GUI program to launch Maintenance Tools?
Using the WinAPI?
Alright. Well I did some research yesterday, pretty sure this includes all; Scheduled Tasks http://msdn.microsoft.com/en-us/libr...01(VS.85).aspx Disk Management http://support.microsoft.com/kb/300415 (CLI) http://msdn.microsoft.com/en-us/libr...86(VS.85).aspx OCTL_DISK_PERFORMANCE: http://msdn.microsoft.com/en-us/libr...83(VS.85).aspx RAM http://msdn.microsoft.com/en-us/libr...89(VS.85).aspx My question is, how do I link all the above into a GUI program like the mockup I created before? Thanks in advance for any more help with this, Panarchy |
Re: How can I create a GUI program to launch Maintenance Tools?
What do you mean by linkup.
All you have to do is when button is clicked launch the needed thing. |
Re: How can I create a GUI program to launch Maintenance Tools?
Sorry, I still don't understand how to do that.
Please explain. Thanks in advance, Panarchy PS: Once this is finished and working perfectly, I'll put it on SourceForge or the microsoft one... codeplex? |
Re: How can I create a GUI program to launch Maintenance Tools?
Quote:
-------------------------------------------------------------------------------------------------------------------------------------------- Quote:
Code: c++
Quote:
Code: c++
Quote:
Code: c++
-------------------------------------------------------------------------------------------------------------------------------------------- Quote:
Code: c++
Quote:
|
Re: How can I create a GUI program to launch Maintenance Tools?
Thanks mate. However, here is what my current code looks like;
Code:
#include <windows.h>Would it be possible to implement the aforementioned code within a GUI program, like the one I first mentioned? Even if you could just help me by getting the Open button working, I'd really appreciate it. Thanks in advance, Panarchy |
Re: How can I create a GUI program to launch Maintenance Tools?
So, if I could please have some help with getting this to work, I'd really appreciate it.
Thanks in advance, Panarchy |
Re: How can I create a GUI program to launch Maintenance Tools?
Greetings,
I've worked out a ⅓ of the problem, to be specific, I've worked out the 'Open' button; Code:
System::Diagnostics::Process::Start("diskmgmt.msc");- How to use System::Diagnostics::Process::Start with if & else command - Programming the Display button Please help me work those out! Thanks in advance, Panarchy |
Re: How can I create a GUI program to launch Maintenance Tools?
*bump
|
| All times are GMT +5.5. The time now is 13:21. |