473,503 Members | 1,188 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Q: How can I enable the XP style interface on a form when it is declared in a DLL?

I know all about Application.EnableVisualStyles (for .NET 1.1 only) and
using a manifest, but neither method seems to work when the form is declared
in a class DLL, unless the calling executable enables the visual style. The
problem is that I have no control over the calling executable since I am
making a shell namespace extension. In my case the calling executable is
actually Windows File Explorer.

As a test, I did create a manifest named explorer.exe.manifest and through
it in the windows directory, and sure enough my app had the XP style
interface, but since this is going to be a commercial application, I don't
really want to do such a hack job that could potentially affect other
programs.

Is there another (more professional) way to enable the XP style interface
that I am missing?

Thank you in advance.

-Neil

Jul 21 '05 #1
1 1314
Why cant the desktop OS handle widgits, why must the app have to do
fagshandbag stuff.

Im sick n tired of BMP bubble buttons and winamp style UIs and Linux apps,
And avalon is gona make things worse with Fx crap.

If the user wants the XP crayola UI, let em use display control panel to do
it, i sure aint gona code that crap into an app.

"Neil" <ne******@verizon.net.invalid> wrote in message
news:PH*****************@nwrdny01.gnilink.net...
I know all about Application.EnableVisualStyles (for .NET 1.1 only) and
using a manifest, but neither method seems to work when the form is declared in a class DLL, unless the calling executable enables the visual style. The problem is that I have no control over the calling executable since I am
making a shell namespace extension. In my case the calling executable is
actually Windows File Explorer.

As a test, I did create a manifest named explorer.exe.manifest and through
it in the windows directory, and sure enough my app had the XP style
interface, but since this is going to be a commercial application, I don't
really want to do such a hack job that could potentially affect other
programs.

Is there another (more professional) way to enable the XP style interface
that I am missing?

Thank you in advance.

-Neil

Jul 21 '05 #2

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

Similar topics

13
40624
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div...
21
3930
by: Michael Bierman | last post by:
Please forgive the simplicy of this question. I have the following code which attempts to determine the color of some text and set other text to match that color. It works fine in Firefox, but does...
1
4223
by: hortoristic | last post by:
We are using JavaScript to Enable/Disable certain fields on web pages based on business rules. A simple example is if when using an option type tag, and the two options are Yes and No. If YES...
6
6207
by: Claus Holm | last post by:
I'm trying to enable a menuitem in the parent form from a mdichild. Rather than making the menuitems public, I'd go for a public method in the parent form to do the change, but when I call the...
7
1403
by: Brett | last post by:
I have created an interface with five properties and five methods. Five classes are accessed through this interface and contain the implementation. This setup works fine now. All the classes are...
1
269
by: Neil | last post by:
I know all about Application.EnableVisualStyles (for .NET 1.1 only) and using a manifest, but neither method seems to work when the form is declared in a class DLL, unless the calling executable...
15
2770
by: Xah Lee | last post by:
On Java's Interface Xah Lee, 20050223 In Java the language, there's this a keyword “interface”. In a functional language, a function can be specified by its name and parameter specs....
17
2433
by: Jason Doucette | last post by:
I am converting a C-style unit into a C++ class. I have an implementation function that was defined in the .cpp file (so it was hidden from the interface that exists in the .h file). It uses a...
4
24860
by: yawnmoth | last post by:
Say I wanted to make a link change colors when someone was hovering over it. Ordinarily, I could do that by doing something like... <style> a { color: whatever; } a:hover { color:whatever;
0
7089
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
7339
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
7463
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
5581
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1515
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 ...
1
738
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
389
bsmnconsultancy
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...

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.