My application seems to be ignoring Enable XP visual styles, which is
ticked on in the application properties.
the Toolbar and Menubar, which appear the nice looking shaded blue
appear like that whilst in the IDE, but when I run the app, they both
go to boring grey.
In the application.des igner.vb self generated file, it does have
PublicSubNew()
MyBase.New(Glob al.Microsoft.Vi sualBasic.Appli cationServices. Authent
icationMode.Win dows)
Me.IsSingleInst ance = false
Me.EnableVisual Styles = true
Me.SaveMySettin gsOnExit = true
Me.ShutDownStyl e =
Global.Microsof t.VisualBasic.A pplicationServi ces.Shutdow
nMode.AfterMain FormCloses
EndSub
If i create a brand new application, just as a test and drop the two
controls into that, they appear with visual styles.
So it looks like its something to do with my project, but i can't find
out where or why.
any help appreciated.
Cheers
Nig 3 2033
In your test application what are the controls you tried ? In particular
make sure you don't confuse menubar,toolbar with menustrip/toolstrip...
--
Patrice
<nk******@googl email.coma écrit dans le message de news: 11************* *********@h48g2 00...legr oups.com...
My application seems to be ignoring Enable XP visual styles, which is
ticked on in the application properties.
the Toolbar and Menubar, which appear the nice looking shaded blue
appear like that whilst in the IDE, but when I run the app, they both
go to boring grey.
In the application.des igner.vb self generated file, it does have
PublicSubNew()
MyBase.New(Glob al.Microsoft.Vi sualBasic.Appli cationServices. Authent
icationMode.Win dows)
Me.IsSingleInst ance = false
Me.EnableVisual Styles = true
Me.SaveMySettin gsOnExit = true
Me.ShutDownStyl e =
Global.Microsof t.VisualBasic.A pplicationServi ces.Shutdow
nMode.AfterMain FormCloses
EndSub
If i create a brand new application, just as a test and drop the two
controls into that, they appear with visual styles.
So it looks like its something to do with my project, but i can't find
out where or why.
any help appreciated.
Cheers
Nig
If you change the Start up form, does the error go away?
Tommaso nk******@google mail.com ha scritto:
My application seems to be ignoring Enable XP visual styles, which is
ticked on in the application properties.
the Toolbar and Menubar, which appear the nice looking shaded blue
appear like that whilst in the IDE, but when I run the app, they both
go to boring grey.
In the application.des igner.vb self generated file, it does have
PublicSubNew()
MyBase.New(Glob al.Microsoft.Vi sualBasic.Appli cationServices. Authent
icationMode.Win dows)
Me.IsSingleInst ance = false
Me.EnableVisual Styles = true
Me.SaveMySettin gsOnExit = true
Me.ShutDownStyl e =
Global.Microsof t.VisualBasic.A pplicationServi ces.Shutdow
nMode.AfterMain FormCloses
EndSub
If i create a brand new application, just as a test and drop the two
controls into that, they appear with visual styles.
So it looks like its something to do with my project, but i can't find
out where or why.
any help appreciated.
Cheers
Nig
On 18 Aug 2006 06:01:51 -0700, nk******@google mail.com wrote:
>My application seems to be ignoring Enable XP visual styles, which is ticked on in the application properties.
the Toolbar and Menubar, which appear the nice looking shaded blue appear like that whilst in the IDE, but when I run the app, they both go to boring grey.
In the application.des igner.vb self generated file, it does have PublicSubNew () MyBase.New(Glo bal.Microsoft.V isualBasic.Appl icationServices .Authent icationMode.Wi ndows) Me.IsSingleIns tance = false Me.EnableVisua lStyles = true Me.SaveMySetti ngsOnExit = true Me.ShutDownSty le = Global.Microso ft.VisualBasic. ApplicationServ ices.Shutdow nMode.AfterMai nFormCloses EndSub
If i create a brand new application, just as a test and drop the two controls into that, they appear with visual styles.
So it looks like its something to do with my project, but i can't find out where or why.
any help appreciated.
Cheers
Nig
"Shaded Blue" implies to me, a blue gradient. If that's the case, I'm curious as to what default
condition produces a blue gradient in design.
The most common way to reproduce what you desescribe if there is a default gradient on a toolstrip
in design is a line of code at runtime that references the ToolStrip's BackColor property. With
VisualStyles, for the default gradient to display, the BackColor is Nothing, not
SystemColors.Co ntrol which is usually grey in most cases.
Gene This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Anand |
last post by:
Hi,
I have done a sample windows application with controls
looks resembling to Windows XP Visual Styles by using the
guidelines http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithCo
ntrolsOnWindowsForms.asp?frame=true.
I would like to incorporate all those XP Visual Styles to
|
by: Alvo von Cossel I |
last post by:
hi,
i have an app with a lot of stuff including an optios form. 1 of the options
is disabling the xp visual styles. i know how to enable them but not how to
disable them. has anyone got an solution to my problem?
--
Alvo von Cossel I of Germany
|
by: Robert Jacobson |
last post by:
Hi,
I'm develing a COM add-in for Microsoft Word XP that displays a form. I'd
like to have the form display using the Windows XP theme. However, neither
using a manifest nor calling Application.EnableVisualStyles does the trick.
(EnableVisualStyles works but massive instability, probably because the
system is trying to theme the Word application itself.)
I'm now trying to selectively enable the themes for just my form, or just...
|
by: Tim |
last post by:
Hi,
The following code works just fine in VS 2003 but in VS 2005 I am getting an
error:
The code:
DateTime dClose = System.Convert.ToDateTime(now.Date.ToString("MMM dd,
yyyy") + " " + storeClose.Hour + ":" + storeClose.Minute);
The error:
|
by: fiona |
last post by:
Innovasys Ltd., a leader in help authoring and documentation tools,
today announced the inclusion of a tailored version of the Innovasys
HelpStudio help authoring product, HelpStudio Lite, in the Microsoft
Visual Studio 2005 Software Development Kit. By providing a full help
authoring environment within the Visual Studio 2005 SDK, Innovasys is
providing developers building components and products that integrate
with Visual Studio 2005 a...
| |
by: MLM450 |
last post by:
I want to use visual styles in my app, but it is causing a problem with
a DLL I use. Is there a way to disable visual styles for that DLL? I do
not have access to the code for the DLL. The DLL's developer is aware
of the problem but will not have a fix ready in time for me.
|
by: Nogusta123 |
last post by:
Hi,
I have had a lot of problems getting web pages, master pages and
content pages to render in VS2005 design view the same as they would in
Internet Explorer. I did a lot of looking on the internet for answers
but didn't have much luck. Anyway I believe I have found the causes of
the problems and thought I should share them in case any one else is
feeling the pain and also to find out what other peoples opinions are,
on whether these...
|
by: Lubomir |
last post by:
Hi,
I have an windows app developed in MS VS 2003, in C++ language. I have now
rebuilt the project with MS VS 2005. I expected my UI will have the XP look,
what didn't happend.
What should I do to convert the visual style of an existing application? I
looked onto new projects generated by VS 2005 and having XP look, but I
didn't see anything about external manifest or anything what could be
connected to XP styles.
|
by: =?Utf-8?B?UmljaA==?= |
last post by:
On my old workstation (development workstation) if I set Application/Enable
XP visual styles - I was able to get/see the visual styles - like button
borders highlighting when you run the mouse over them. But on my new
workstation (development workstation) I can't get the visual styles to work.
Matter of fact, the button controls appear raised (like in old VB6). I
downloaded/Installed a bunch of updates for VS2005 after I got the new...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |