Groups | Blog | Home
all groups > vb.net upgrade > september 2003 >

vb.net upgrade : Does VB.Net support WinXP Themes or Visual Styles


Michael Daly
9/16/2003 3:33:39 PM
Does VB.Net support Windows XP new Themes or Visual Styles?

I have written a small VB6 app that works fine on Win98,
NT4 and W2k but looks vertically squashed under WinXP.
Would recompiling it under VB.Net solve this issue?

Thanks... Michael Daly
Michael Daly
9/16/2003 5:04:38 PM
Thanks for the feedback. More work to do... :-)

Michael Daly

[quoted text, click to view]
Herfried K. Wagner [MVP]
9/17/2003 12:41:45 AM
Hello,

"Michael Daly" <michaeldaly@iprimus.com.au> schrieb:
[quoted text, click to view]

Yes.

[quoted text, click to view]

Visual Styles can be used with VB6 too:

http://www.vbaccelerator.com/home/VB/Code/Libraries/XP_Visual_Styles/index.asp

[quoted text, click to view]

VB.NET is a completely different programming language. I think you will
have to rewrite the application in VB.NET.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet

huyn NO[at]SPAM online.microsoft.com
9/18/2003 7:52:41 PM
Hi,

This article shows how to have Windows XP Visual Styles with controls on
Windows Forms. You would need to upgrade your application to use the new
System.Windows.Forms.Form class.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechar
t/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.asp

Regards,

Huy Nguyen, Visual Basic team.

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
AddThis Social Bookmark Button