|
-
Feb 1st, 2008, 03:23 PM
#1
Addicted Member
Re: Render WinXP Style
 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?
Jottum™
XpVistaControls , (transparent) usercontrols for XP, Vista and 7 with W2K legacy support.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|