Re: Manifest file as a custom resource.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"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)

.



Relevant Pages

  • Re: Manifest file as a custom resource.
    ... The call is usually placed in the forms 'Initialize' event. ... it will create the manifest file automatically in ... I've yet to see this fail on Vista. ...
    (microsoft.public.vb.general.discussion)
  • Re: missing emulator feature
    ... Just installed Vista RC1, ... it seems it might be something to do with long filenames and 16bit calls; that environment variables declare directories with long filenames and if used in old 16bit calls will fail. ... Older windows applications might fail in this way too, actually then Win3.11 stuff that has survived into the present. ...
    (comp.sys.tandy)
  • Re: Manifest Requires Win2K Compatibility?
    ... and I just got a new one with WinXP. ... Well, I use a Manifest file, that never caused a problem on my home XP machine, or my old work 2K machine or my Vista machine, or any other I know of. ... And the program, again, runs fine, without any Compatibility mode checked. ...
    (microsoft.public.vb.general.discussion)
  • Re: Winmail could not be started.????
    ... Unable to initialize contacts. ... I disabled Norton Antivirus and tried to open Windows Live Mail (made it the ... Contents and Favorites folders back to the living internal harddrive (the one ... Windows Vista Mail. ...
    (microsoft.public.windows.vista.mail)
  • Re: Excuting external commands under Vista
    ... in my case it is ESS/R that fail. ... Seems like the same problem with Vista. ... I thought I might add the following--I tried disabling User Account Control, I tried running XEmacs as administrator and in WinXPSP2 compatibility mode. ... But when I try to start ispell I get the follow message: ...
    (comp.emacs.xemacs)