By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,974 Members | 1,913 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,974 IT Pros & Developers. It's quick & easy.

Embedding a manifest file

P: n/a
I usually embed a XML manifest with my applications to have them support XP
Visual Styles.
I know I can embed the resource into the resources section of the compiled
executable (under the type RT_MANIFEST and with ID=1).
What I want to know is if there's a way to include it in the project before
compilation, like you could do with the old .rc files, and have it compiled
automatically inside the EXE. Is it possibile?
Jul 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
No :-(
However, if you are using VS2003 you can call
Application.EnableVisualStyles, on app initialisation, instead of including
a Manifest resource/file. It is also a common recomendation that you follow
this call with Application.DoEvents.

"Merak" <me@anywhere.net> wrote in message
news:eT**************@tk2msftngp13.phx.gbl...
I usually embed a XML manifest with my applications to have them support XP Visual Styles.
I know I can embed the resource into the resources section of the compiled
executable (under the type RT_MANIFEST and with ID=1).
What I want to know is if there's a way to include it in the project before compilation, like you could do with the old .rc files, and have it compiled automatically inside the EXE. Is it possibile?

Jul 21 '05 #2

P: n/a
Too bad I'm still with 'ol 2002.
Thanks Mcik.

"Mick Doherty" <md*******@nospam.ntlworld.com> ha scritto nel messaggio
news:er****************@tk2msftngp13.phx.gbl...
No :-(
However, if you are using VS2003 you can call
Application.EnableVisualStyles, on app initialisation, instead of including a Manifest resource/file. It is also a common recomendation that you follow this call with Application.DoEvents.

"Merak" <me@anywhere.net> wrote in message
news:eT**************@tk2msftngp13.phx.gbl...
I usually embed a XML manifest with my applications to have them support

XP
Visual Styles.
I know I can embed the resource into the resources section of the compiled executable (under the type RT_MANIFEST and with ID=1).
What I want to know is if there's a way to include it in the project

before
compilation, like you could do with the old .rc files, and have it

compiled
automatically inside the EXE. Is it possibile?


Jul 21 '05 #3

P: n/a
Sorry I couldn't give you the answer you wanted.
You only need to embed the manifest on the release version, so it only needs
to be done once per app.
If you want to see how the app looks with Visual Style during Design you can
apply a Manifest to devenv.exe in your "Common7\IDE" folder.

"Merak" <me@anywhere.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Too bad I'm still with 'ol 2002.
Thanks Mcik.

"Mick Doherty" <md*******@nospam.ntlworld.com> ha scritto nel messaggio
news:er****************@tk2msftngp13.phx.gbl...
No :-(
However, if you are using VS2003 you can call
Application.EnableVisualStyles, on app initialisation, instead of

including
a Manifest resource/file. It is also a common recomendation that you

follow
this call with Application.DoEvents.

"Merak" <me@anywhere.net> wrote in message
news:eT**************@tk2msftngp13.phx.gbl...
I usually embed a XML manifest with my applications to have them
support
XP
Visual Styles.
I know I can embed the resource into the resources section of the

compiled executable (under the type RT_MANIFEST and with ID=1).
What I want to know is if there's a way to include it in the project

before
compilation, like you could do with the old .rc files, and have it

compiled
automatically inside the EXE. Is it possibile?



Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.