dcsimg
Page 2 of 2 FirstFirst 12
Results 41 to 52 of 52

Thread: [VB6] Manifest Creator II

  1. #41

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    18,353

    Re: [VB6] Manifest Creator II

    Bug found when toggling TrustInfo between namespaces v2 and v3. Fixed.

    Additionally. As mentioned in post #21. It is possible to get two TrustInfo entries if merging multiple manifests, one using v2 and one using v3, depending if v2 exists in the selected manifest. Also mentioned in that post, you can simply unselect the one you don't want. When selecting the menu to toggle the namespace and 2 or more TrustInfo elements exist, the first element is the one that gets toggled. At that time, the others will be flagged so you can delete them via the tree node's context menu (right click)
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  2. #42
    Addicted Member
    Join Date
    May 2011
    Posts
    230

    Re: [VB6] Manifest Creator II

    thanks for the update

    EDIT:
    I noticed in your .vbp, you're using COMCTL32.OCX v1.3
    is that version bound to OS ? I got 1.4 on Win7
    Last edited by VbNetMatrix; Nov 1st, 2017 at 01:45 AM.

  3. #43
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,098

    Re: [VB6] Manifest Creator II

    Thanks for your great work on this, LaVolpe
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  4. #44

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    18,353

    Re: [VB6] Manifest Creator II

    Quote Originally Posted by VbNetMatrix View Post
    I noticed in your .vbp, you're using COMCTL32.OCX v1.3
    is that version bound to OS ? I got 1.4 on Win7
    Yep, chose the v5 common controls so it would be themed. Theoretically, your version should take effect due to the option to update ActiveX automatically...
    Quote Originally Posted by msdn/vb6
    The Upgrade ActiveX Controls project property automatically updates any ActiveX controls if you have installed a newer version of them on your machine since the last time you opened the project.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  5. #45
    Addicted Member
    Join Date
    May 2011
    Posts
    230

    Re: [VB6] Manifest Creator II

    if I get it correctly, in order for a project to be themed, I need to use the v1.3 ?

  6. #46

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    18,353

    Re: [VB6] Manifest Creator II

    Quote Originally Posted by VbNetMatrix View Post
    if I get it correctly, in order for a project to be themed, I need to use the v1.3 ?
    Ensure version 5 vs. version 6 of the common controls. Note that the comctl32 (v5), the version is retrieved from the dll (comctl32.dll), not the ocx. In your VB components (Ctrl+T), look for entry: Microsoft Windows Common Controls 5.0. The v6 (components entry: Microsoft Windows Common Controls 6.0) is a usercontrol that can't be themed via a manifest.

    FYI: My version number from the DLL is 5.82 xxxxxxx

    Where the 1.3 or 1.4 comes from, I don't know. Here is a somewhat interesting link regarding the revisions of that dll.

    Edited: Theming does not occur in the IDE unless VB6.exe has a manifest (external or embedded)

    Follow-up. I went to Microsoft's site and re-downloaded SP6. After reinstalling, I now have v1.4. I had a cached version of SP6 previously, that I used whenever I reinstalled VB6. Obviously SP6 was upgraded a bit sometime afterwards.
    Last edited by LaVolpe; Nov 25th, 2017 at 10:56 AM.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  7. #47
    Addicted Member
    Join Date
    May 2011
    Posts
    230

    Re: [VB6] Manifest Creator II

    Quote Originally Posted by LaVolpe View Post
    Ensure version 5 vs. version 6 of the common controls. Note that the comctl32 (v5), the version is retrieved from the dll (comctl32.dll), not the ocx. In your VB components (Ctrl+T), look for entry: Microsoft Windows Common Controls 5.0. The v6 (components entry: Microsoft Windows Common Controls 6.0) is a usercontrol that can't be themed via a manifest.

    FYI: My version number from the DLL is 5.82 xxxxxxx

    Where the 1.3 or 1.4 comes from, I don't know. Here is a somewhat interesting link regarding the revisions of that dll.

    Edited: Theming does not occur in the IDE unless VB6.exe has a manifest (external or embedded)
    yes thanks, now I understand... I was aware about the v5 (themable dll) and v6 (static ocx)
    as for the vb6.exe, I don't use manifest on it because it cause too many problem in the IDE (the main one being the accessing the color)

    I also got 5.82, the next 4 number is the version of the OS (in my case 7601 mean Win7sp1) and the 5 other digit is the revision model, wich should be the same for everyone using the most recent version of the 5.82. I got 18837, do you have a most recent version ? just asking in case I missed a MS patch.

    btw, off topic, but is there a way so the forum when it send me email for new post doesn'T always send me to post #23 of page #1 of this thread ??? it seem to be keeping track of last comment I did instead of where I read.

    thanks for the link I'm reading it.

  8. #48
    Junior Member vbLewis's Avatar
    Join Date
    Feb 2009
    Location
    USA
    Posts
    16

    Re: [VB6] Manifest Creator II

    using 64 bit architecture it specifies 'ia64' this should be amd64 ? also a valid value is '*' for all.
    Last edited by vbLewis; Nov 20th, 2017 at 03:31 PM.

  9. #49

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    18,353

    Re: [VB6] Manifest Creator II

    Quote Originally Posted by vbLewis View Post
    using 64 bit architecture it specifies 'ia64' this should be amd64 ? also a valid value is '*' for all.
    I err on the side of official documentation. Per MSDN (Application Manifests)...
    Specifies the processor. The valid values are x86 for 32-bit Windows and ia64 for 64-bit Windows. Optional.
    However, here is another quote I found on a page describing how to enable visual themes. Note that this deals specifically with the common controls dependency. Based on the following, I am considering offering amd64 & * for the common controls entry.
    Set the processorArchitecture entry to "X86" if your application targets the 32 bit Windows platform, or to "amd64" if your application targets the 64 bit Windows platform. You can also specify "*", which ensures that all platforms are targeted.
    Note: You can override this by holding the shift key and right clicking on the item. Then select "Value" from the context menu, you'll see a "New Value" submenu... that provides the option to override. On the GDI+ and Common Controls entry, holding the shift key offers the "Show Attributes" option. Once that is selected, now you can override via the "New Value" submenu.

    In the meantime, anyone can update the project to offer the other options:
    1. Find this line in cManifestEx class, pvValidateAttributes routine
    Code:
    .AddAttributeValueList "processorArchitecture", attr_HasValueList Or attr_CanBeBlank, "x86", "32 Bit", "ia64", "64 Bit"
    2. Suggested change
    Code:
    .AddAttributeValueList "processorArchitecture", attr_HasValueList Or attr_CanBeBlank, "x86", "32 Bit", "ia64", "64 Bit (Itanium)", "amd64", "64 Bit (AMD)", "*", "All Platforms"
    For VB applications (original intent of this project), 64-bit won't be in play. However, nice to know some may be using this for their non-VB projects.
    Last edited by LaVolpe; Nov 20th, 2017 at 08:07 PM. Reason: added another msdn quote
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  10. #50

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    18,353

    Re: [VB6] Manifest Creator II

    Minor update. Had an itch I had to scratch.

    There is an undocumented 2014 WindowsSettings option: forceFocusBasedMouseWheel. This is undocumented and I only know about it because it exists in the registry. After some trial and error, I have added that option; hence the update

    What that option does is revert to pre-Win10 mousewheel behavior where the mousewheel only affects the window with the keyboard focus. As of Win10, per Raymond Chen, Windows broke this and allowed the wheel to affect any window under the mouse, regardless whether it had the focus or not. The newly added option prevents that for the thread only. So if you had 2 listboxes that have scrollbars, this option will only allow the mouse to scroll the one that has the focus, even if the mouse is over the other listbox.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  11. #51
    Lively Member
    Join Date
    Feb 2015
    Location
    Colorado USA
    Posts
    105

    Re: [VB6] Manifest Creator II

    Your release on 25 Oct 2017 shows version 2.0.4. So does your new version on 2 Sep 2019. Shouldn't it be incremented to at least 2.0.5?

  12. #52

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    18,353

    Re: [VB6] Manifest Creator II

    Quote Originally Posted by MountainMan View Post
    Shouldn't it be incremented to at least 2.0.5?
    Feel free to change it to whatever you want. I often get lazy on incrementing when only minor updates are applied.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Page 2 of 2 FirstFirst 12

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width