If you have Spy++ it does the same thing...
(came with previous versions of c++)
I made a program like this too in vb6... I used it to set the window's On Top, and transparency attributes...
check out thread222-852201
May I ask why you want to change the class name?
Most of the time, when applications show a different/unique class name, they were written in C++, which has more dirrect control over the application...
.Net (and even vb6 and previous versions) use standard classes which are handled by a system (DLLs) external from the program...
You, more or less, script it to draw the forms for you, which is what makes VB so easy to work with (compared to C++)
VB programs typically require a VB Runtime dll, and use the Windows Forms for the controls, etc...
So the class name for the forms generated by them are dictated by the dll that maintains them, avoiding the occurence of conficting class names...
You must also remember that .NET is supposed to be a platform independent system, to where programs will be able to run on various platforms with little or no porting, so the class naming is best left up to the JIT compiler, and probably should not be tampered with...
Good Luck,
Josh
Have Fun, Be Young... Code BASIC
-Josh
PROGRAMMER:
Red-eyed, mumbling mammal capable of conversing with inanimate objects.