Click here to Skip to main content
16,010,876 members
Home / Discussions / C#
   

C#

 
GeneralRe: avoiding double invoking Pin
Nick Parker10-Aug-04 3:49
protectorNick Parker10-Aug-04 3:49 
GeneralRe: avoiding double invoking Pin
Stephan Wright10-Aug-04 4:02
Stephan Wright10-Aug-04 4:02 
GeneralRe: avoiding double invoking Pin
Nick Parker10-Aug-04 4:21
protectorNick Parker10-Aug-04 4:21 
GeneralRe: avoiding double invoking Pin
Stephan Wright10-Aug-04 22:04
Stephan Wright10-Aug-04 22:04 
GeneralRe: avoiding double invoking Pin
Stephan Wright10-Aug-04 23:45
Stephan Wright10-Aug-04 23:45 
GeneralRe: avoiding double invoking Pin
Stephan Wright11-Aug-04 7:53
Stephan Wright11-Aug-04 7:53 
GeneralRe: avoiding double invoking Pin
Nick Parker11-Aug-04 9:13
protectorNick Parker11-Aug-04 9:13 
GeneralRe: avoiding double invoking Pin
Stephan Wright11-Aug-04 20:59
Stephan Wright11-Aug-04 20:59 
Well, as I said before I should be able to get the name of the window with the Form1.Name field. What I wanted to do is trying to get the classname for my window.
Because it is something like WindowsForms10.Window.8.app88 and that's what I do not want to hardcode because this changes everytime I reboot my PC. It could be WindowsForms10.Window.8.appdd as well.
With "second instance" I ment the user shouldn't be able to invoke the same application on the same PC twice, e.g. by clicking twice on the button. If he does the running application should reappear.

So because it's the same application (but just a second instance) the classname has to be the same. So the second invokation would have the same classname (prooved via Spy++) so I should be able to get the classname from somewhere. But I am not sure where to fetch it.

I also have a mutex on the instance, maybe I could fetch the Handle from there if it is possible to use it in this context.

Stephan.
GeneralRe: avoiding double invoking Pin
Anonymous12-Aug-04 2:05
Anonymous12-Aug-04 2:05 
Generalinstall AddIn in VS.NET2003 Pin
nthevu10-Aug-04 3:08
professionalnthevu10-Aug-04 3:08 
GeneralRe: install AddIn in VS.NET2003 Pin
Nick Parker10-Aug-04 3:56
protectorNick Parker10-Aug-04 3:56 
QuestionHow to change default color of Tabpage >> Answer Pin
sreejith ss nair10-Aug-04 2:57
sreejith ss nair10-Aug-04 2:57 
AnswerRe: How to change default color of Tabpage >> Answer Pin
Nick Parker10-Aug-04 4:00
protectorNick Parker10-Aug-04 4:00 
GeneralRe: How to change default color of Tabpage >> Answer Pin
sreejith ss nair10-Aug-04 17:11
sreejith ss nair10-Aug-04 17:11 
GeneralTitle bar Height Pin
Shiva_Hosa10-Aug-04 1:56
Shiva_Hosa10-Aug-04 1:56 
GeneralSetting a policy using c# Pin
Freddie8310-Aug-04 1:44
Freddie8310-Aug-04 1:44 
GeneralRe: Setting a policy using c# Pin
Heath Stewart10-Aug-04 6:43
protectorHeath Stewart10-Aug-04 6:43 
GeneralRe: Setting a policy using c# Pin
Freddie8311-Aug-04 0:51
Freddie8311-Aug-04 0:51 
GeneralRe: Setting a policy using c# Pin
Heath Stewart11-Aug-04 2:28
protectorHeath Stewart11-Aug-04 2:28 
GeneralRe: Setting a policy using c# Pin
Freddie8311-Aug-04 2:50
Freddie8311-Aug-04 2:50 
GeneralRe: Setting a policy using c# Pin
Freddie8312-Aug-04 5:50
Freddie8312-Aug-04 5:50 
GeneralAdding item in start menu and .... Pin
ting66810-Aug-04 0:19
ting66810-Aug-04 0:19 
GeneralRe: Adding item in start menu and .... Pin
Heath Stewart10-Aug-04 6:41
protectorHeath Stewart10-Aug-04 6:41 
GeneralGet RichTextBox's content as Image Pin
bobikov_aj10-Aug-04 0:04
bobikov_aj10-Aug-04 0:04 
GeneralRe: Get RichTextBox's content as Image Pin
Heath Stewart10-Aug-04 6:38
protectorHeath Stewart10-Aug-04 6:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.