473,225 Members | 1,298 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,225 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 2799
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.
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.