By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,168 Members | 2,511 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,168 IT Pros & Developers. It's quick & easy.

Number of entering to program

P: n/a
Hi everybod:

How can I know, how many times the user enter to my program?

I mean if the user enter to the program first time, and then he enter second
time how can i know this is the second time for the user to enter the program
?

Any help will be apppreciated

regard's

Husam
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You must do it yourself storing a counter in a file, in the Windows registry
or in a database...

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Husam" <Hu***@discussions.microsoft.com> escribió en el mensaje
news:57**********************************@microsof t.com...
Hi everybod:

How can I know, how many times the user enter to my program?

I mean if the user enter to the program first time, and then he enter
second
time how can i know this is the second time for the user to enter the
program
?

Any help will be apppreciated

regard's

Husam

Nov 21 '05 #2

P: n/a
"Husam" <Hu***@discussions.microsoft.com> schrieb:
How can I know, how many times the user enter to my program?


If you want to prevent the user from starting your application more than
once, take a look at this article:

<URL:http://www.yoda.arachsys.com/csharp/faq/#one.application.instance>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.