Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 13th, 2005, 02:00 PM
Authorized User
 
Join Date: Mar 2005
Location: Benha, Kaliobeya, Egypt.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to aehb
Default Preventing new instances of the same application

In windows application, while my program is running; I want to prevent any new instances of it to run again, I know I can do that in Visual C++ using hPrevInstance, but here in C# how can I do that? thanks for help.
Reply With Quote
  #2 (permalink)  
Old May 17th, 2005, 03:06 PM
Authorized User
 
Join Date: Mar 2005
Location: Benha, Kaliobeya, Egypt.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to aehb
Default

Nobody knows??!! It's vital to me, and I tried and searched the MSDN a lot and a lot, but just can't find any help

Reply With Quote
  #3 (permalink)  
Old May 18th, 2005, 04:19 AM
Registered User
 
Join Date: May 2005
Location: Bangalore, Karnataka, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to somannacg
Default

Check out the link below. This might probably solve your problem.

http://www.codeproject.com/Purgatory...s_Instance.asp

Reply With Quote
  #4 (permalink)  
Old May 18th, 2005, 01:14 PM
Authorized User
 
Join Date: Mar 2005
Location: Benha, Kaliobeya, Egypt.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to aehb
Default

Many many thanks somannacg, I'll try the method and I hope it works, thanks a lot again :)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing repetition with Distinct? Raith SQL Language 2 May 29th, 2007 11:47 AM
Preventing Hotlinking simtrade Classic ASP Professional 0 October 14th, 2005 05:06 PM
Preventing Database Conversion snoopy92211 Access VBA 1 October 1st, 2004 04:11 AM
Preventing Page Caching neeter HTML Code Clinic 3 June 5th, 2003 01:19 PM



All times are GMT -4. The time now is 12:24 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.