Link to home
Create AccountLog in
Avatar of Ragine
Ragine

asked on

Change windows class name

Hello Experts, while looking at Spy++ I've noticed that my application's class name is something like "WindowsForms10.Window.8.app.0.3ee13a2_r13_ad". Is there any way I can change that to something simple?
SOLUTION
Avatar of vasto
vasto
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Ragine
Ragine

ASKER

Well I have to go to this process of finding my programs title than using that to find the class name.  Which is a bit annoying, it would be nice to have a stable class name, since it changes each time my program starts.
What exactly are you doing?...why do you need your windows class name?
Are you trying to restrict the user to use more than one copy ?
Avatar of Ragine

ASKER

No, I'm just embedding a program within a panel inside my form. And then I need to find the class name of my app to get to the panel which contains the program. I got it working but I was just wonder if I were able to change the class name, so the process will take less code.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Ragine

ASKER

Works fine, I guess. I was actually just wondering if it was possible, but looks like its not.
Unfortunately it's not possible.  You'd have to use other means of identifying your window, or other means of communication.