![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Apr 2009
Posts: 4
OS: Windows XP SP3
|
Delphi help
I'm rly sorry to post in the wrong section but I didn't find a suitable one for my question.
I have Borland delfi7 and I need to make a small program that would help you take care of your stuff on pc. I have almost completed the program, but I need some buttons to work because they're the main buttons that will be used and I don't know how to code them. 1st. Is a button when I press it a new form pops up and should show your/mine pc specs like in steam. 2nd. This is the hardest one. Theres a RadioGroup and two radiobuttons inside and Ok button outside of the group. What I'd like to do is when I sellect 1 of them and press ok a proper Form opens. how to do that? 1 of the selection should be like search for unused icons on desktop nad the second should be like search for unused programs is that even possible. Again I' sorry for posting in the wrong section.
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,879
OS: Vista, various linux distros
|
Re: Delphi help
1: you should just make another form, then the button's code should look like:
Code:
frmName.show(); Code:
frmName.showModal(); If you need more help on this please post your current code. Cheers, Jamey |
|
|
|
|
|
#3 (permalink) | |
|
Registered User
Join Date: Apr 2009
Posts: 4
OS: Windows XP SP3
|
Re: Delphi help
Quote:
And the second How to do that stuff? |
|
|
|
|
|
|
#4 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,879
OS: Vista, various linux distros
|
Re: Delphi help
It would be the form showing the computer's info. And you need to be more specific with the information you want to show.
And if you're asking how to find unused icons/programs you're going to be pushed to do that in delphi. |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Apr 2009
Posts: 4
OS: Windows XP SP3
|
Re: Delphi help
OK, agian on ress of the button a new form opens and theres all your system spec like in
Steam: http://img17.imageshack.us/img17/3100/systemj.png theres like video card info, procesor winows verison all that stuff |
|
|
|
|
|
#6 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,879
OS: Vista, various linux distros
|
Re: Delphi help
I don't even know how i'd go about doing this in Delphi, you'll have to research some windows system DLLs because they're involved with showing you the system spec, delphi has no built in (/third party from what i can find) functions to handle this.
Sorry, Jamey |
|
|
|
|
|
#7 (permalink) | |
|
Tech Hardware Team
Join Date: Jul 2005
Posts: 1,459
OS: Windows
|
Re: Delphi help
Quote:
next, open the file for reading and loop readline to a string and test the string for the particular data you want ie: --------------- Display Devices --------------- Card name: SiS 630/730 when found then write that line to textarea in the new form (or cut the string to suit your needs). to get your sample report do Start > Run > then type: dxdiag /t c:\report.txt then use report.txt as a template for what/where data you want is found.
__________________
|
|
|
|
|
![]() |
| Thread Tools | |
|
|