473,399 Members | 3,656 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,399 software developers and data experts.

enableVisualStyles

hi all
I can't use the Application.enableVisualStyle method.
it gives me an error that it can't find a match for it.
I installed dotnet version 1.1..but it still dosen't work..????
Nov 17 '05 #1
8 2900
perspolis wrote:
hi all
I can't use the Application.enableVisualStyle method.
it gives me an error that it can't find a match for it.
I installed dotnet version 1.1..but it still dosen't work..????

Application.EnableVisualStyles();
Case sensitivity?

JB
Nov 17 '05 #2
I know..I do it case sensitivity..but it still gives me an error..

"John B" <jb******@yahoo.com> wrote in message
news:42***********************@news.sunsite.dk...
perspolis wrote:
hi all
I can't use the Application.enableVisualStyle method.
it gives me an error that it can't find a match for it.
I installed dotnet version 1.1..but it still dosen't work..????

Application.EnableVisualStyles();
Case sensitivity?

JB

Nov 17 '05 #3
Read your code carefully,

if the compiler won't recognize

Application.EnableVisualStyles();

try

System.Windows.Forms.Application.EnableVisualStyle s();

If it now works, just add

using System.Windows.Forms;

on top of your code file and you can use the first way of writing it.

Note that you need a reference to System.Windows.Forms.dll to use it.

On Thu, 26 May 2005 09:53:59 +0200, perspolis <re*****@hotmail.com> wrote:
I know..I do it case sensitivity..but it still gives me an error..

"John B" <jb******@yahoo.com> wrote in message
news:42***********************@news.sunsite.dk...
perspolis wrote:
> hi all
> I can't use the Application.enableVisualStyle method.
> it gives me an error that it can't find a match for it.
> I installed dotnet version 1.1..but it still dosen't work..????
>
>

Application.EnableVisualStyles();
Case sensitivity?

JB



--
Happy coding!
Morten Wennevik [C# MVP]
Nov 17 '05 #4
I know all of things u said..and I know how I can refrence it..but it can't
find it..even it can't show that in intelligence editor.
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:op.srdj01apklbvpo@stone...
Read your code carefully,

if the compiler won't recognize

Application.EnableVisualStyles();

try

System.Windows.Forms.Application.EnableVisualStyle s();

If it now works, just add

using System.Windows.Forms;

on top of your code file and you can use the first way of writing it.

Note that you need a reference to System.Windows.Forms.dll to use it.

On Thu, 26 May 2005 09:53:59 +0200, perspolis <re*****@hotmail.com> wrote:
I know..I do it case sensitivity..but it still gives me an error..

"John B" <jb******@yahoo.com> wrote in message
news:42***********************@news.sunsite.dk...
perspolis wrote:
> hi all
> I can't use the Application.enableVisualStyle method.
> it gives me an error that it can't find a match for it.
> I installed dotnet version 1.1..but it still dosen't work..????
>
>
Application.EnableVisualStyles();
Case sensitivity?

JB



--
Happy coding!
Morten Wennevik [C# MVP]

Nov 17 '05 #5
Are you doing a winform or console application?
If you are doing a winform application, then I'm out of ideas.
If you are doing a console application, then you need to add System.Windows.Forms.dll to the list of references or Intellisense won't even show System.[Windows] as a possible choice.

If you have done all that, can create other controls just fine, made sure you don't have namespace conflict (having your own Application class etc), then I can't help you any more :(

On Thu, 26 May 2005 11:23:44 +0200, perspolis <re*****@hotmail.com> wrote:
I know all of things u said..and I know how I can refrence it..but it can't
find it..even it can't show that in intelligence editor.
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:op.srdj01apklbvpo@stone...
Read your code carefully,

if the compiler won't recognize

Application.EnableVisualStyles();

try

System.Windows.Forms.Application.EnableVisualStyle s();

If it now works, just add

using System.Windows.Forms;

on top of your code file and you can use the first way of writing it.

Note that you need a reference to System.Windows.Forms.dll to use it.

On Thu, 26 May 2005 09:53:59 +0200, perspolis <re*****@hotmail.com> wrote:
> I know..I do it case sensitivity..but it still gives me an error..
>
> "John B" <jb******@yahoo.com> wrote in message
> news:42***********************@news.sunsite.dk...
>> perspolis wrote:
>> > hi all
>> > I can't use the Application.enableVisualStyle method.
>> > it gives me an error that it can't find a match for it.
>> > I installed dotnet version 1.1..but it still dosen't work..????
>> >
>> >
>> Application.EnableVisualStyles();
>> Case sensitivity?
>>
>> JB
>
>
>


--
Happy coding!
Morten Wennevik [C# MVP]



--
Happy coding!
Morten Wennevik [C# MVP]
Nov 17 '05 #6
could u tell me exactly what version of dotnet requried?
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:op.srdoaatdklbvpo@stone...
Are you doing a winform or console application?
If you are doing a winform application, then I'm out of ideas.
If you are doing a console application, then you need to add System.Windows.Forms.dll to the list of references or Intellisense won't
even show System.[Windows] as a possible choice.
If you have done all that, can create other controls just fine, made sure you don't have namespace conflict (having your own Application class etc),
then I can't help you any more :(
On Thu, 26 May 2005 11:23:44 +0200, perspolis <re*****@hotmail.com> wrote:
I know all of things u said..and I know how I can refrence it..but it can't find it..even it can't show that in intelligence editor.
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:op.srdj01apklbvpo@stone...
Read your code carefully,

if the compiler won't recognize

Application.EnableVisualStyles();

try

System.Windows.Forms.Application.EnableVisualStyle s();

If it now works, just add

using System.Windows.Forms;

on top of your code file and you can use the first way of writing it.

Note that you need a reference to System.Windows.Forms.dll to use it.

On Thu, 26 May 2005 09:53:59 +0200, perspolis <re*****@hotmail.com> wrote:
> I know..I do it case sensitivity..but it still gives me an error..
>
> "John B" <jb******@yahoo.com> wrote in message
> news:42***********************@news.sunsite.dk...
>> perspolis wrote:
>> > hi all
>> > I can't use the Application.enableVisualStyle method.
>> > it gives me an error that it can't find a match for it.
>> > I installed dotnet version 1.1..but it still dosen't work..????
>> >
>> >
>> Application.EnableVisualStyles();
>> Case sensitivity?
>>
>> JB
>
>
>

--
Happy coding!
Morten Wennevik [C# MVP]



--
Happy coding!
Morten Wennevik [C# MVP]

Nov 17 '05 #7
Ah, maybe that's it, EnableVisualStyles() is supported only in Framework 1.1

On Thu, 26 May 2005 12:47:54 +0200, perspolis <re*****@hotmail.com> wrote:
could u tell me exactly what version of dotnet requried?
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:op.srdoaatdklbvpo@stone...
Are you doing a winform or console application?
If you are doing a winform application, then I'm out of ideas.
If you are doing a console application, then you need to add

System.Windows.Forms.dll to the list of references or Intellisense won't
even show System.[Windows] as a possible choice.

If you have done all that, can create other controls just fine, made sure

you don't have namespace conflict (having your own Application class etc),
then I can't help you any more :(

On Thu, 26 May 2005 11:23:44 +0200, perspolis <re*****@hotmail.com> wrote:
> I know all of things u said..and I know how I can refrence it..but it can't > find it..even it can't show that in intelligence editor.
> "Morten Wennevik" <Mo************@hotmail.com> wrote in message
> news:op.srdj01apklbvpo@stone...
>> Read your code carefully,
>>
>> if the compiler won't recognize
>>
>> Application.EnableVisualStyles();
>>
>> try
>>
>> System.Windows.Forms.Application.EnableVisualStyle s();
>>
>> If it now works, just add
>>
>> using System.Windows.Forms;
>>
>> on top of your code file and you can use the first way of writing it.
>>
>> Note that you need a reference to System.Windows.Forms.dll to use it.
>>
>>
>>
>> On Thu, 26 May 2005 09:53:59 +0200, perspolis <re*****@hotmail.com> wrote: >>
>> > I know..I do it case sensitivity..but it still gives me an error..
>> >
>> > "John B" <jb******@yahoo.com> wrote in message
>> > news:42***********************@news.sunsite.dk...
>> >> perspolis wrote:
>> >> > hi all
>> >> > I can't use the Application.enableVisualStyle method.
>> >> > it gives me an error that it can't find a match for it.
>> >> > I installed dotnet version 1.1..but it still dosen't work..????
>> >> >
>> >> >
>> >> Application.EnableVisualStyles();
>> >> Case sensitivity?
>> >>
>> >> JB
>> >
>> >
>> >
>>
>>
>>
>> --
>> Happy coding!
>> Morten Wennevik [C# MVP]
>
>
>


--
Happy coding!
Morten Wennevik [C# MVP]



--
Happy coding!
Morten Wennevik [C# MVP]
Nov 17 '05 #8
You need .NET Framework 1.1 and therefore VS.NET 2003, it won´t work with
VS.NET 2002

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"perspolis" <re*****@hotmail.com> escribió en el mensaje
news:ux*************@TK2MSFTNGP12.phx.gbl...
could u tell me exactly what version of dotnet requried?

Nov 17 '05 #9

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

Similar topics

4
by: #ROBERT | last post by:
(VS 2003 + .NET Framework 1.1 + WinXP Pro SP2) Calling Application.EnableVisualStyles() after the initialization() removes all images in the tab control (in the tab headers I mean). Without...
9
by: Guy | last post by:
I have extended the datetimepicker control to incorporate a ReadOnly property. I have used the new keyword to implement my own version of the value property, so that if readonly == true then it...
1
by: desa | last post by:
If I call EnableVisualStyles none the images in my ImageLists show up in my controls anymore. Is this a known issue? How do I fix this? I'm using VS.NET 2003.
4
by: Christian Westerlund | last post by:
Hi! I usually enable visual styles in my apps. I do it in Main before I start my app with Application.Run. Today when I changed from debug to release mode in Visual Studio .NET 2003, the...
17
by: Lance | last post by:
I've noticed that calling DoEvents is much slower in an application that has called Application.EnableVisualStyles in Sub Main. Furthermore, the performance seems to worsen each time that DoEvents...
2
by: Juan Pedro Gonzalez | last post by:
I am a bit unsure about this "Effect"... My code: Public Sub Main() Application.EnableVisualStyles() Application.DoEvents() Dim myMainForm As New FormularioPrincipal Dim mySplash As New...
3
by: Michael A. Covington | last post by:
I added Application.EnableVisualStyles() as the first statement in Main() of my program, and didn't notice much change in visual appearance, but what I *did* notice is that some of my buttons...
3
by: Michael A. Covington | last post by:
Further to previous post... I have a big, complex program which works fine as long as I don't call EnableVisualStyles. If I do this: Application.EnableVisualStyles();...
7
by: Peter | last post by:
Hello, I'm using Visual Studio 2003 and it would be nice if my buttons and other controls could look like Windows XP buttons rather than the flat square kind. I looked on the web and found some...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
isladogs
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...

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.