Hi MrSpock,
After some further tests on my local XP environment, I think this should be
a envionement specific problem since a typical VB.NET winform app with
single instance flag turned on can run correctly on XP box.
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| X-Tomcat-ID: 194614964
| References: <4A**********************************@microsoft.co m>
<ek**************@TK2MSFTNGXA02.phx.gbl>
<0C**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From:
st*****@online.microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Wed, 30 Nov 2005 09:50:18 GMT
| Subject: RE: VS2005: "Make single instance application"
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
| Message-ID: <#n**************@TK2MSFTNGXA02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.vb
| Lines: 72
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.languages.vb:306440
| NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
|
| Thanks for your response MrSpock,
|
| I don't think this will be a existing or by design behavior for XP
| platform.. I'll try perform some further test in my local envionrment
and
| let you know my result soon.
|
| Regards,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure!
www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
| --------------------
| | Thread-Topic: VS2005: "Make single instance application"
| | thread-index: AcX1G0v+I+7Qc0qaQ6mAB5PuTwh/+Q==
| | X-WBNR-Posting-Host: 217.209.86.200
| | From: "=?Utf-8?B?TXJTcG9jaw==?=" <Mr*****@nospam.nospam>
| | References: <4A**********************************@microsoft.co m>
| <ek**************@TK2MSFTNGXA02.phx.gbl>
| | Subject: RE: VS2005: "Make single instance application"
| | Date: Tue, 29 Nov 2005 11:30:03 -0800
| | Lines: 39
| | Message-ID: <0C**********************************@microsoft.co m>
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | charset="Utf-8"
| | Content-Transfer-Encoding: 7bit
| | X-Newsreader: Microsoft CDO for Windows 2000
| | Content-Class: urn:content-classes:message
| | Importance: normal
| | Priority: normal
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| | Newsgroups: microsoft.public.dotnet.languages.vb
| | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| | Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.languages.vb:306337
| | X-Tomcat-NG: microsoft.public.dotnet.languages.vb
| |
| | Thanks for your answer, Mr Cheng.
| |
| | My first test was performed on WinXP SP2 with .NET 2.0.
| |
| | Today I did a clean install of VS2005 on another dev box (WinXP SP2,
..NET
| | 2.0). I got the same error this time!
| |
| | Later I copied the same executable to another box running Win2k3. No
| errors
| | this time!
| |
| | I suppose the "single instance" option isn't fully functional on WinXP,
| right?
| |
| | Best regards,
| |
| | MrSpock
| |
| |
| | "Steven Cheng[MSFT]" wrote:
| |
| | > Hi MrSpock,
| | >
| | > Regarding on the VB.NET single instance winform application problem,
| I've
| | > just performed some tests on my local side(win2k3server .net 2.0
| vs2005),
| | > seems I can not reproduce the
| | > ===========
| | > Debug info: "Unhandled exception at 0x00e149fd in
| WindowsApplication1.exe:
| | > 0xC0000005: Access violation writing location 0x00000000."
| | > ===========
| | >
| | > error by try launching the winform app(exe) multiple times. I'm not
| sure
| | > whether there're any other particular steps when you reproduce this
| | > behavor? My test winform is just a simple application with a empty
| form in
| | > it. In addition, have you tried this on some other dev box to see
| whether
| | > you also encounter this error?
| | >
| | > Thanks,
| | >
| | > Steven Cheng
| | > Microsoft Online Support
| |
|
|