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..???? 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
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
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]
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]
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]
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]
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]
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? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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.
|
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...
|
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...
|
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...
|
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...
|
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();...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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,...
|
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...
|
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,...
|
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...
|
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...
|
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...
|
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...
| |