No Touch with XP look

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
 
M

meh

Greetings;

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

Hope this helps
meh
 
T

Tom

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
 
J

John Vottero

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top