|
-
October 27th, 2008, 04:27 AM
#31
Re: How to close another program with C#
 Originally Posted by Arjay
When you ask help from a programming forum, there are a few basics you need to know.
1) Describe the code
2) Describe the problem
3) Include any relevant code snippets
4) Include any specific errors
We can't help you if you don't tell us what the specific error message is.
I really want to Add Silverfire Please:
USE CODE TAGS
 Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
My latest articles :
Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
-
October 27th, 2008, 04:44 AM
#32
Re: How to close another program with C#
I am moved to know of your attempts, I have got to leave for home to climb the coconut tree for coconuts now.
Yes a code tag looks like the color tags I have added in to indicate the purple. [Purple makes me really sad], I don't give purple yam soup any more ingredients. Promise you Ali
-
October 27th, 2008, 06:48 AM
#33
Re: How to close another program with C#
 Originally Posted by Pimpya
I am moved to know of your attempts, I have got to leave for home to climb the coconut tree for coconuts now.
Yes a code tag looks like the color tags I have added in to indicate the purple. [Purple makes me really sad], I don't give purple yam soup any more ingredients. Promise you Ali
?? Regarding CodeTags They are not Colortags Look at the bottom of my post or read the forum rules and you will see how they work.
 Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
My latest articles :
Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
-
October 27th, 2008, 01:44 PM
#34
Re: How to close another program with C#
 Originally Posted by Pimpya
I am moved to know of your attempts, I have got to leave for home to climb the coconut tree for coconuts now.
Don't fall out of the tree.
-
October 27th, 2008, 02:19 PM
#35
Re: How to close another program with C#
just wondering if anybody else noticed that the original post was from over 5 years ago?
-
October 27th, 2008, 03:15 PM
#36
Re: How to close another program with C#
 Originally Posted by eclipsed4utoo
just wondering if anybody else noticed that the original post was from over 5 years ago?
Yes, but when people are falling out of trees, does it really matter?
-
October 27th, 2008, 04:38 PM
#37
Re: How to close another program with C#
 Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
My latest articles :
Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
-
October 29th, 2008, 02:24 AM
#38
Re: How to close another program with C#
 Originally Posted by session
lol naw, i wanna write a program that will shut down my computer after say 60 mins so my computer will shut down after i go to sleep! 
For this, You dont even need a C# program. You may do a task scheduler with a command as follows:
Steps:
[Win] | [Control Panel] | [Scheduled Tasks] | [File\New\Scheduled Task]
Under Run, key in this
C:\WINDOWS\system32\shutdown.exe -s -f
Under Start in, key in this
C:\WINDOWS\system32
You can then set the scheduled task to run at the time you want it to run. Voila! Your system will shutdown when you are having a sweet dream.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|