No Touch with XP look

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

I'm using no touch deployment for my .Net forms
application. I have a manifest file that makes the
controls take the XP look on XP machines (article from
Microsoft about this). Using no touch deployment will
not load my application with the XP look on my XP machine
though.

The simple explaination about the manifest file is you
place it in the same folder as your executable, and the
file searches for a certain dll found on XP machines. If
found it displays your Windows Forms with the XP look.

Any ideas on how to make this work?

Thank you,
Tom
 
Greetings;

assuming your manifest file works on your development box it should be
working on the client machines.

Hope this helps
meh
 
Double clicking the executable locally or on user's
machines works correctly with XP look. Using no touch
deployment does not work with XP look either locally
("development box") or on user's machines.

So my question is how can I get the XP look using no
touch deployment.

Thanks,
Tom
 
Tom said:
I'm using no touch deployment for my .Net forms
application. I have a manifest file that makes the
controls take the XP look on XP machines (article from
Microsoft about this). Using no touch deployment will
not load my application with the XP look on my XP machine
though.

The simple explaination about the manifest file is you
place it in the same folder as your executable, and the
file searches for a certain dll found on XP machines. If
found it displays your Windows Forms with the XP look.

Any ideas on how to make this work?

If you're using V1.1 of the .NET Framework, put this two lines:

Application.EnableVisualStyles();
Application.DoEvents();

at the beginning of your Main(). Then you don't need the manifest.
 
Back
Top