Results 1 to 2 of 2

Thread: Windows 7 type of controls using vb6 and uctabstrip control

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2016
    Posts
    5

    Windows 7 type of controls using vb6 and uctabstrip control

    I am using free uctabstrip control from here ; http://planet-source-code.com/vb/scr...74007&lngWId=1

    I am using vb6 on Windows 7 64bit. When you compile and run it you actually get Windows 7 type of controls like rounded corner command buttons and tab control where the selected tab page is white.

    But when I compile it second time with a new name, I get old windows xp type of controls. Why is that? And how can I get Windows 7 type of controls on all projects?

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Windows 7 type of controls using vb6 and uctabstrip control

    From your description it sounds like the demo Project relied on the user interface theme provided by selecting the Common Controls 6 assembly. This is done using an application manifest.

    Maybe the original demo Project had one but relied on an external manifest file linked to the compiled program by name. Renaming the program is enough to break the link. The system also maintains a manifest cache (something like Shell32's icon cache) so changing, adding, renaming programs and external manifests doesn't take effect immediately.

    By default a program gets the old look when it lacks this CC6 assembly selection manifest. Such programs are considered legacy, and for appcompat reasons do not automatically get the newer assembly.

    These features came along in 2001 with Windows XP and have been modified since then. Since VB6 was never replaced by a successor product VB programmers never got easy access to such features. The idea was that everyone would settle for .Net's managed scripting languages or move to C++ for native code development.

Tags for this Thread

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