Quote Originally Posted by arpan_de
I want to render the various Form controls in my app in WinXP style for which I used this code. Prior to adding the code showed in the above URL, the start-up object in my app was a Form named frmIntro. Since the code tells to use Sub Main as the start-up object, I made Sub Main as the start-up object by going to the project properties & modified Sub Main showed in the above URL as follows:

Code:
Public Sub Main()
    'Call the function before other codes
    InitCommonControlsVB
    frmIntro.Show
End Sub

[...]
Hello Arpan,

From what you post here, I would say there's nothing wrong with your code. Are you using a manifest file or a resource file with an XP manifest?

Another question, where did you put the Sub main?