473,324 Members | 2,239 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

XP Style Buttons

Hi
I'm new to VB.NET. I've developped a VB.NET application. But the BUTTONS on
my form or any Message Box(MsgBox) contains, are NOT the Windows XP style
buttons. I want the XP style buttons to my entire application. I've also
created a Manifest file and put it in my application's folder. But if the
manifest file is present in the same directory the Application does not run
!!!

Plz help me

Nov 20 '05 #1
3 3483
Did you set the FlatStyle property of the buttons to "System"?

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Mr Utkal Ranjan" <ut*****@hotmail.com> wrote in message
news:eu**************@TK2MSFTNGP12.phx.gbl...
Hi
I'm new to VB.NET. I've developped a VB.NET application. But the BUTTONS on my form or any Message Box(MsgBox) contains, are NOT the Windows XP style
buttons. I want the XP style buttons to my entire application. I've also
created a Manifest file and put it in my application's folder. But if the
manifest file is present in the same directory the Application does not run !!!

Plz help me

Nov 20 '05 #2
* "Mr Utkal Ranjan" <ut*****@hotmail.com> scripsit:
I'm new to VB.NET. I've developped a VB.NET application. But the BUTTONS on
my form or any Message Box(MsgBox) contains, are NOT the Windows XP style
buttons. I want the XP style buttons to my entire application. I've also
created a Manifest file and put it in my application's folder. But if the
manifest file is present in the same directory the Application does not run
!!!


NET 1.0:

Set the controls' 'FlatStyle' properties to 'System', then add an application manifest.

Tools

<http://www.msjogren.net/dotnet/eng/tools/default.asp>
-> "ThemeMe"

MSDN:

VS.NET Addin for using XP visual styles
<http://tinyurl.com/37yk>

Using XP Visual Styles in Windows Forms apps
<http://tinyurl.com/37yi>

..NET 1.1:

<http://msdn.microsoft.com/msdnmag/issues/03/03/WindowsForms/default.aspx>

\\\
Application.EnableVisualStyle()
Application.DoEvents()
///

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Nice stuff...

http://windowsforms.net/ControlGalle...=21&tabindex=9
--
='o'= Arturo ='o'=
www.miltonfrank.tv

"Mr Utkal Ranjan" <ut*****@hotmail.com> escribió en el mensaje
news:eu**************@TK2MSFTNGP12.phx.gbl...
Hi
I'm new to VB.NET. I've developped a VB.NET application. But the BUTTONS on my form or any Message Box(MsgBox) contains, are NOT the Windows XP style
buttons. I want the XP style buttons to my entire application. I've also
created a Manifest file and put it in my application's folder. But if the
manifest file is present in the same directory the Application does not run !!!

Plz help me

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Terrance | last post by:
Good Afternoon: I was hoping if someone could share some light on a problem that I'm facing. When I create a Visual Basic.Net program and I use the XP style for my Window Forms and buttons; if I...
4
by: KvS | last post by:
Hi all, I'm pretty new to (wx)Python so plz. don't shoot me if I've missed something obvious ;). I have a panel inside a frame, on which a Button and a StaticText is placed: self.panel =...
7
by: Rob Nicholson | last post by:
We're using a well known presentation layer library to implement complex controls on an intranet site. IE has the following limitation which effectively means that you can only have 30 <STYLE> tags...
2
by: guy | last post by:
where can i find FREE office 2003 style controls for vb.net ??
1
by: Nathan | last post by:
Hello, I'm using XP-style toolbars and buttons in an application, and I'm wondering whether it's possible to put pictures on buttons with XP styles. I have buttons on one form with pictures...
1
by: Martin Keeton | last post by:
I.m developing applications using VB.NET and have a number of command buttons that have images on them. When The application is run with the classic windows style look the images appear just fine but...
1
by: Mika M | last post by:
Hello! Is it possible to use XP Style Buttons with Images? I can change buttons to XP Style easily, but when adding ... myButton.FlatStyle = FlatStyle.System .... button images just...
3
by: Rick Brandt | last post by:
I am using some buttons to hide/show various divs and am changing the style of the button to indicate which button's view is "active". My problem is that for the non-active buttons I want the...
0
by: harishdixit1 | last post by:
Hello friends I m creating an ATL DLL which will attached a toolbar in IE. I implemented XP style & it is working fine means controls now have XP Style. On my toolbar i have Button menus. But...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.