2 ms·
Given than VB6 mostly used native widgets, you can make apps written in it look modern simply by adding a manifest with the appropriate incantations.
by int_19h 4y ago
Given than VB6 mostly used native widgets, you can make apps written in it look modern simply by adding a manifest with the appropriate incantations.
- Jaruzel 4y agoTrue, but I think you also have to add a VisualStyles API call as well to the Form_Load() Sub ? It's been a long time since I've done it though.
- orra 4y agoLooks like you need to call InitCommonControls(Ex), in addtion to the manifest. https://jeffpar.github.io/kbarchive/kb/309/Q309366/ https://jeffpar.github.io/kbarchive/kb/309/Q309366/ I'll forgive your slight misremembering, because it's probably been 20 years.
- VB6-Programming 4y ago>Looks like you need to call InitCommonControls(Ex), in addtion to the manifest. Often all you need is the manifest. If the app won't run at all after you have added the manifest, then add a call to InitCommonControls(Ex)