On startup, the program accesses the registry to fetch the password for
login, then proceeds to
display the password input dialog and then the program loads. If I try to
load a second copy of the
program..
Before the second copy can display the password dialog, the system access
violation
message pops up and then the first program aborts.
Found that I had checked the following project option:
Make single instance application
^^^^^^^^^^^^^^^^^^^^^^^^^^
Select this check box to prevent users from running multiple instances of
your application. The default setting for this check box is cleared,
allowing multiple instances of the application to be run.
^^^^^^^^^^^^^^^^^^^^^^^^^^^
It quit crashing after I unchecked it.. Kind of ineligant way to prevent a
second copy to run.
Sooo I unchecked the box & now test for application presence on the desktop
using a boolean in the registry.
"Me" <ge******@lisco.comwrote in message
news:11**************@sp6iad.superfeed.net...
>
Am new to vb dotnet and although I like what I've seen sofar, I
am experiencing pblms with system access violation "attempt to read write
protected memory".
This error happens when I open a second copy of the program.
Any help appreciated in finding the source for this error or preventing a
second copy
of the program drom being loaded.
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet
News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption
=----
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----