Results 1 to 40 of 274

Thread: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

Threaded View

  1. #11

    Thread Starter
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,653

    Re: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

    On some versions of Windows for some configurations, manifests are ignored if they aren't embedded. I had to embed mine in vb6.exe to get comctl6 stuff in the IDE as well. First, to be sure you need to, you named it VB6.EXE.manifest correct? And it was just a plain text file, with the contents of the manifest, and not the .res file, and the file size (*not* size on disk, just the actual file size) is a multiple of 4 bytes (add spaces if not)?

    If everything seems fine with the external manifest, you can follow these steps to embed it in the VB6 exe instead:

    -FIRST, MAKE A BACKUP COPY OF VB6.EXE. You don't want to have to reinstall if there's an issue.

    -Download and install the free, no ads or anything weird, Resource Hacker tool.

    -Launch it (as administrator for VB6 since it's in \Program Files (x86)), go to File->Open and choose VB6.EXE from the file dialog.

    -Under the Action menu, select 'Add using script template'

    -In the dialog that pops up, choose MANIFEST from the dropdown, then click Add

    -You'll see the manifest text appear in the editor on the right; replace the default text with the manifest you're using (the default one RH inserts has dpi awareness enabled, which you likely don't want, although cTaskDialog is dpi aware if you do).

    -The 3rd icon from the right on the tool bar is a green arrow. Click that to compile the resource.

    -File->Save

    You'll now have access to the task dialog as well as Visual Styles in the IDE.
    Last edited by fafalone; Oct 12th, 2023 at 01:39 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width