N
Newbie Coder
Can anyone convert this to managed C++.NET 2003?
Private Function PrevInstance() As Boolean
If
UBound(System.Diagnostics.Process.GetProcessesByName(System.Diagnostics.Proc
ess.GetCurrentProcess.ProcessName)) > 0 Then
Return True
Else
Return False
End If
End Function
When I try to convert it the 'ProcessName' doesn't work
.... to (System:
iagnostics:
rocess::GetCurrentProcess
That is when I cannot use: GetCurrentProcess:
rocessName)) >0
Any suggestions would be grateful
Thanks in advance,
Private Function PrevInstance() As Boolean
If
UBound(System.Diagnostics.Process.GetProcessesByName(System.Diagnostics.Proc
ess.GetCurrentProcess.ProcessName)) > 0 Then
Return True
Else
Return False
End If
End Function
When I try to convert it the 'ProcessName' doesn't work
.... to (System:


That is when I cannot use: GetCurrentProcess:

Any suggestions would be grateful
Thanks in advance,