System.Diagnostics.Process.GetCurrentProcess().ProcessName

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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().ProcessName

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

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

KM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top