Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP Embedded

Notices

Reply

System.Diagnostics.Process.GetCurrentProcess().Pro cessName

 

LinkBack Thread Tools Display Modes
Old 10-17-2004, 07:55 PM   #1 (permalink)
Default System.Diagnostics.Process.GetCurrentProcess().Pro cessName

Hi all,

I'm trying to get my own program written in vb.net to run
I'm using xpe sp2 (tp) version

the program pop-ups a dialog box complaining about the resources when it
reaches the following line of code:
Dim strCurrentProcess As String =
System.Diagnostics.Process.GetCurrentProcess().Pro cessName

(this codes is needed to prevent that the program is being run twice.)
what dependancy am i missing?

G.Roelant
Guest
 
Posts: n/a
Reply With Quote  
Old 10-17-2004, 09:28 PM   #2 (permalink)
Default Re: System.Diagnostics.Process.GetCurrentProcess().Pro cessName

G.Roelant,

Did you try adding PageFile support to your image? (you HAL (PC) component settings)
It should fix some performance counter problems.

KM
Quote:
> Hi all,
>
> I'm trying to get my own program written in vb.net to run
> I'm using xpe sp2 (tp) version
>
> the program pop-ups a dialog box complaining about the resources when it
> reaches the following line of code:
> Dim strCurrentProcess As String =
> System.Diagnostics.Process.GetCurrentProcess().Pro cessName
>
> (this codes is needed to prevent that the program is being run twice.)
> what dependancy am i missing?
>

KM
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

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

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Using GetcurrentProcess Sridhar Windows Vista Administration 2 06-09-2006 03:53 PM
STOP:C000021a Process System Process Terminated Unexpectedly Robert J. Rando Windows XP Device Drivers 6 12-25-2005 11:56 PM
System Idle Process Bert Windows XP Performance & Maintenance 25 01-12-2004 08:20 PM
system idle process uses 100% cpu kalki Windows XP Performance & Maintenance 1 07-09-2003 05:52 PM
system idle process. Pat Windows XP Performance & Maintenance 1 07-03-2003 09:39 PM


All times are GMT. The time now is 11:45 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90