N
Neil
Greetings all,
Ok, I've developed a .NET application that integrates into the Windows shell
as a namespace extension (think of Scheduled Tasks and you'll get the
general look of my app). Since I've written it in C# using the 1.1
framework, I decided to support the XP look by calling
Application.EnableVisual Styles(), however here lies the problem:
It appears that calling EnableVisualStyles() works as long as its' called
from an executable. Unfortunately, in my case, I have no starting
executable. Technically the executable is Windows Explorer (explorer.exe)
which calls into my DLL through various interfaces. To make a long story
short, calling EnableVisualStyles within my DLL eventually leads to a crash
of the Windows exlplorer interface, so I'm left with one option to get the
XP style interface, and this is where I need expert opinions:
If I include a manifest named explorer.exe.manifest and install it into the
windows directory, everthing works great. My windows inherit the XP
interface, however so does other programs that are tied to Windows
explorer, such as scheduled tasks. So my question is, should I install a
manfiest that potentially alters other programs interface just to get my app
to have the XP style interface, or should I just leave it alone? The reason
I ask this is that this is going to be a commercial application, and I want
it to look professional (i.e. when run on XP, one would expect it to have an
XP interface), but am I crossing the line by installing a file that could
have affects on other apps that are not mine?
All opinons are welcome!
Neil Axe
Exalien Software
Ok, I've developed a .NET application that integrates into the Windows shell
as a namespace extension (think of Scheduled Tasks and you'll get the
general look of my app). Since I've written it in C# using the 1.1
framework, I decided to support the XP look by calling
Application.EnableVisual Styles(), however here lies the problem:
It appears that calling EnableVisualStyles() works as long as its' called
from an executable. Unfortunately, in my case, I have no starting
executable. Technically the executable is Windows Explorer (explorer.exe)
which calls into my DLL through various interfaces. To make a long story
short, calling EnableVisualStyles within my DLL eventually leads to a crash
of the Windows exlplorer interface, so I'm left with one option to get the
XP style interface, and this is where I need expert opinions:
If I include a manifest named explorer.exe.manifest and install it into the
windows directory, everthing works great. My windows inherit the XP
interface, however so does other programs that are tied to Windows
explorer, such as scheduled tasks. So my question is, should I install a
manfiest that potentially alters other programs interface just to get my app
to have the XP style interface, or should I just leave it alone? The reason
I ask this is that this is going to be a commercial application, and I want
it to look professional (i.e. when run on XP, one would expect it to have an
XP interface), but am I crossing the line by installing a file that could
have affects on other apps that are not mine?
All opinons are welcome!
Neil Axe
Exalien Software