K
Kevin
Hello there,
I've seen several posts requesting help on not allowing a user to open
more than one instance of the programmer's program. What I haven's
seen yet is a post on not opening more than one instance of a
different program, and I'm having a hard time figuring it out
myself...
My project has a word processor portion, to which I've added an
Insert->Symbol menu. This simply calls the Character Map application
with the following code:
Try
Process.Start("charmap.exe")
Catch ex As Exception
MessageBox.Show("The Character Map...")
End Try
That seems to work well for me, but the user could open Character Maps
endlessly. If they have already opened one is there a way I can check
before I run the above code to open another one? (And for bonus
points... is there a way I could switch to the already opened
Character Map?)
(And if anyone has any suggestions on a better way to insert symbols
I'd appreciate any feedback.)
Thanks!
Kevin
I've seen several posts requesting help on not allowing a user to open
more than one instance of the programmer's program. What I haven's
seen yet is a post on not opening more than one instance of a
different program, and I'm having a hard time figuring it out
myself...
My project has a word processor portion, to which I've added an
Insert->Symbol menu. This simply calls the Character Map application
with the following code:
Try
Process.Start("charmap.exe")
Catch ex As Exception
MessageBox.Show("The Character Map...")
End Try
That seems to work well for me, but the user could open Character Maps
endlessly. If they have already opened one is there a way I can check
before I run the above code to open another one? (And for bonus
points... is there a way I could switch to the already opened
Character Map?)
(And if anyone has any suggestions on a better way to insert symbols
I'd appreciate any feedback.)
Thanks!
Kevin