473,385 Members | 1,317 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,385 software developers and data experts.

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 1306
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
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
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
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
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
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
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
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
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
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;
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.