943,567 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 8585
  • C# RSS
Jul 8th, 2007
0

How to make C# application quit

Expand Post »
Hello,

I have a few questions about C#:

1. How to make the C# application quit? Like
C# Syntax (Toggle Plain Text)
  1. PostQuitMessage(0);
in winapi.

2. Is possible to use same commands in C# like these in C++
C# Syntax (Toggle Plain Text)
  1. PlaySound(); ShellExecute();

Thanks in advance

(have to know some C# basics because the project I work on is for C#)
Similar Threads
Reputation Points: 27
Solved Threads: 2
Posting Whiz in Training
jan1024188 is offline Offline
254 posts
since Aug 2006
Jul 8th, 2007
0

Re: How to make C# application quit

I solved both by myself. Thanks anyway
Reputation Points: 27
Solved Threads: 2
Posting Whiz in Training
jan1024188 is offline Offline
254 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Creating an ACPI script for my laptop
Next Thread in C# Forum Timeline: workink with list box in GUI





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC