473,396 Members | 2,093 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,396 software developers and data experts.

Using manifest file to create XP styles

There is a lot of information out there that shows you how to use a
manifest file with your .net application (exe) to enable windows xp
styles.

I am building a dll for COM interop, which contains a windows form.

How can I enable windows xp styles to this form?

(appname.dll.manifest doesn't work)

Cheers!

May 17 '06 #1
2 2804
Never mind, answered my own question:

Don't use a minfest in 1.1.... :)

System.Windows.Forms.Application.EnableVisualStyle s()
System.Windows.Forms.Application.DoEvents()
System.Windows.Forms.Application.Run(New frmConfiguration)

http://blogs.msdn.com/rprabhu/archiv.../28/56540.aspx

SiJP wrote:
There is a lot of information out there that shows you how to use a
manifest file with your .net application (exe) to enable windows xp
styles.

I am building a dll for COM interop, which contains a windows form.

How can I enable windows xp styles to this form?

(appname.dll.manifest doesn't work)

Cheers!


May 17 '06 #2
> System.Windows.Forms.Application.EnableVisualStyle s()
System.Windows.Forms.Application.DoEvents()
System.Windows.Forms.Application.Run(New frmConfiguration)
Note that this is not a cast-iron fix. You might still get an exception
thrown because of the bug in the implementation of
Application.EnableVisualStyles. I have found that the only way to be certain
is to use a manifest.

HTH

Charles
"SiJP" <si**********@gmail.com> wrote in message
news:11**********************@j55g2000cwa.googlegr oups.com... Never mind, answered my own question:

Don't use a minfest in 1.1.... :)

System.Windows.Forms.Application.EnableVisualStyle s()
System.Windows.Forms.Application.DoEvents()
System.Windows.Forms.Application.Run(New frmConfiguration)

http://blogs.msdn.com/rprabhu/archiv.../28/56540.aspx

SiJP wrote:
There is a lot of information out there that shows you how to use a
manifest file with your .net application (exe) to enable windows xp
styles.

I am building a dll for COM interop, which contains a windows form.

How can I enable windows xp styles to this form?

(appname.dll.manifest doesn't work)

Cheers!

May 18 '06 #3

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

Similar topics

1
by: Santhu | last post by:
What is the difference between METADATA and MANIFEST and where do they get stored? Thank you
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...
5
by: NormD | last post by:
I have a windows form application distributed via no click deployment. I am thinking about adding xp theme support using an application manifest. I know the manifest is not downloaded to the client...
2
by: John Carron | last post by:
Hi All, Can anybody point me to some documentation about assembly manifest files. I've seen them used is WinForms applications to enable visual styles. I'm more interested in what happens...
0
by: ChrisB | last post by:
In my C# application, I want to make my controls have the look and feel of XP (what a novel concept, I know.) I am running Visual Studio .Net 2002 on Windows XP Pro I found articles on the web...
5
by: anthony.duerr | last post by:
I have encountered a problem (most certainly a .NET bug), that, for the life of me, I cannot figure out how to work around. Using Visual Studio 2003, with enabled XP Visual Styles. There are...
0
by: mb | last post by:
Hi I am working on a small helper tool to our main application. The tool uses SQLDMO to connect to the SQL Server 2000 database and allows us to cofigure the users who are allowed to use our...
2
by: Atchoum | last post by:
Is it possible to create a manifest file for a DLL. I tried and it does not seem to work... TIA
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi all, I have a publishing Click Once of my application. Now I want create new version of my application for modify some files, like app.config.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.