Re: Manifest file as a custom resource.
- From: Jan Hyde <StellaDrinker@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 05 Feb 2007 16:29:50 +0000
"Dave O." <nobody@xxxxxxxxxxx>'s wild thoughts were released
on Mon, 5 Feb 2007 15:27:29 -0000 bearing the following
fruit:
http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=51893
&lngWId=1
(Watch for URL wrapping)
The call is usually placed in the forms 'Initialize' event.
On the forms first run, it will create the manifest file automatically in
the app directory. It will only create the file if the Windows version is
greater than Win2K, and the file does not already exist.
A method guaranteed to fail in Vista which forbids writing to the
application folder.
I've yet to see this fail on Vista.
J
Do it properly, the manifest should be compiled into a resource file (as
#24).
Regards
Dave O.
Jan Hyde (VB MVP)
--
Love is the triumph of imagination over intelligence.
(H.L. Mencken)
.
- Follow-Ups:
- Re: Manifest file as a custom resource.
- From: David Youngblood
- Re: Manifest file as a custom resource.
- References:
- Manifest file as a custom resource.
- From: Steve Easton
- Re: Manifest file as a custom resource.
- From: DanS
- Re: Manifest file as a custom resource.
- From: Dave O.
- Manifest file as a custom resource.
- Prev by Date: Need to change text box value from Currency to ASCII string
- Next by Date: Accessing a DLL without registering it
- Previous by thread: Re: Manifest file as a custom resource.
- Next by thread: Re: Manifest file as a custom resource.
- Index(es):
Relevant Pages
|