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

Windows Xp look for C# application.

I've created the <exename>.exe.manifest for my application and it works fine as long as the file is in the same dir as the executable.

I am using Borland C# Builder. How would I go about creating a resource file from that manifest file I have so I can import it
into my project.

Thanks for any info.
Nick Z.
Nov 16 '05 #1
7 1203
Hi,

In .Net 1.1 you can call "Application.EnableVisualStyles();" will use XP
style, without the need to any manifest file.

Regards,
Emad
"Nick" <pa*****@optonline.net> wrote in message
news:7s**********************@news4.srv.hcvlny.cv. net...
I've created the <exename>.exe.manifest for my application and it works fine as long as the file is in the same dir as the executable.
I am using Borland C# Builder. How would I go about creating a resource file from that manifest file I have so I can import it into my project.

Thanks for any info.
Nick Z.

Nov 16 '05 #2
Emad Barsoum wrote:
Hi,

In .Net 1.1 you can call "Application.EnableVisualStyles();" will use XP
style, without the need to any manifest file.

Regards,
Emad
"Nick" <pa*****@optonline.net> wrote in message
news:7s**********************@news4.srv.hcvlny.cv. net...
I've created the <exename>.exe.manifest for my application and it works


fine as long as the file is in the same dir as the executable.
I am using Borland C# Builder. How would I go about creating a resource


file from that manifest file I have so I can import it
into my project.

Thanks for any info.
Nick Z.



Omg. Lol. Thanks! I though it was to much to do this simple task.

Nick Z.
Nov 16 '05 #3
I tried that and found the method does indeed exist, but didn't work. Any ideas?

"Nick" wrote:
Emad Barsoum wrote:
Hi,

In .Net 1.1 you can call "Application.EnableVisualStyles();" will use XP
style, without the need to any manifest file.

Regards,
Emad
"Nick" <pa*****@optonline.net> wrote in message
news:7s**********************@news4.srv.hcvlny.cv. net...
I've created the <exename>.exe.manifest for my application and it works


fine as long as the file is in the same dir as the executable.
I am using Borland C# Builder. How would I go about creating a resource


file from that manifest file I have so I can import it
into my project.

Thanks for any info.
Nick Z.



Omg. Lol. Thanks! I though it was to much to do this simple task.

Nick Z.

Nov 16 '05 #4
"Beeeeeeeeeeeeves" <Be**************@discussions.microsoft.com> wrote in
message news:DE**********************************@microsof t.com...
I tried that and found the method does indeed exist, but didn't work. Any ideas?


Set the 'FlatStyle' property of all buttons etc. to 'System' (RTFM). This
can be automatically done in code using a foreach loop. see the last bit of
code on
http://www.mctainsh.com/Csharp/XpControlsInCS.aspx.

Cheers
Nick.
Nov 16 '05 #5

"Beeeeeeeeeeeeves" <Be**************@discussions.microsoft.com> wrote in
message news:DE**********************************@microsof t.com...
I tried that and found the method does indeed exist, but didn't work. Any ideas?

The method is broken. Don't listen to workarounds about running DoEvents
afterwards, you'll leave yourself with odd bugs if you go down that route.
Stick with the manifest method.

"Nick" wrote:
Emad Barsoum wrote:
Hi,

In .Net 1.1 you can call "Application.EnableVisualStyles();" will use XP style, without the need to any manifest file.

Regards,
Emad
"Nick" <pa*****@optonline.net> wrote in message
news:7s**********************@news4.srv.hcvlny.cv. net...

>I've created the <exename>.exe.manifest for my application and it works
fine as long as the file is in the same dir as the executable.

>I am using Borland C# Builder. How would I go about creating a resource
file from that manifest file I have so I can import it

>into my project.
>
>Thanks for any info.
>Nick Z.


Omg. Lol. Thanks! I though it was to much to do this simple task.

Nick Z.

Nov 16 '05 #6
Stu Smith wrote:
"Beeeeeeeeeeeeves" <Be**************@discussions.microsoft.com> wrote in
message news:DE**********************************@microsof t.com...
I tried that and found the method does indeed exist, but didn't work. Any


ideas?

The method is broken. Don't listen to workarounds about running DoEvents
afterwards, you'll leave yourself with odd bugs if you go down that route.
Stick with the manifest method.

"Nick" wrote:

Emad Barsoum wrote:

Hi,

In .Net 1.1 you can call "Application.EnableVisualStyles();" will
use XP
style, without the need to any manifest file.

Regards,
Emad
"Nick" <pa*****@optonline.net> wrote in message
news:7s**********************@news4.srv.hcvlny .cv.net...
>I've created the <exename>.exe.manifest for my application and it
works
fine as long as the file is in the same dir as the executable.
>I am using Borland C# Builder. How would I go about creating a
resource
file from that manifest file I have so I can import it
>into my project.
>
>Thanks for any info.
>Nick Z.

Omg. Lol. Thanks! I though it was to much to do this simple task.

Nick Z.



Hmmm. Interesting. I dont mind using the manifest since I already have it working. I just want to include it in the exe not at an
extra file. Any ideas? I know its easy in VS .NET, but i dont have it. In VS .NET you would just add a resource and in the add
resource dialog press import and import the manifest with custom type and id. In borland its either you add reasy resource or
nothing. It doesnt let you import resources. Is there a tool that would allow me to do something like this manually.

Thanks.
Nick Z.
Nov 16 '05 #7
Try Heaventools Resource Tuner, from http://www.restuner.com/

Cheers
Nick.

Hmmm. Interesting. I dont mind using the manifest since I already have it working. I just want to include it in the exe not at an extra file. Any ideas? I know its easy in VS .NET, but i dont have it. In VS .NET you would just add a resource and in the add resource dialog press import and import the manifest with custom type and id. In borland its either you add reasy resource or nothing. It doesnt let you import resources. Is there a tool that would allow me to do something like this manually.
Thanks.
Nick Z.

Nov 16 '05 #8

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

Similar topics

25
by: TPJ | last post by:
GUI's etc: PyGtk on Windows "(...) So if someone develops mainly for X and just wants to make sure that it is not impossible to run on Windows, you can use PyGTK. (...)", July 2nd, 1999 pyGTK...
2
by: thechaosengine | last post by:
Hi everyone, Is there anyway to create some sort of catch-all in windows forms applications that could ensure that no unexpected exceptions bring down an application? For example, perhaps...
8
by: Bf | last post by:
I was creating test projects using c# and was surprised that there seems to be only a form based windows applications available. Is it safe to assume that classic window applications that utilize a...
9
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
20
by: Maurice | last post by:
Hi all, I have an application, designed in Visual Studio 2005, which will run mainly on Windows XP computers. If I run the application on a Windows XP computer having the Windows XP Theme...
16
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. I'm looking for a way to programmatically retrieve the following if possible: Windows Installation Key or COA from the registry Windows installed...
2
by: shapper | last post by:
Hello, I usually develop Asp.Net 2.0 (With VB.NET or C#) web sites with SQL 2005 databases. A few of my web sites use online CMS with AJAX. I need to create a Windows Vista compatible...
3
by: Sylvie | last post by:
My Windows Application has two forms, one form contains a grid (lets say Stock Listing), and the other is a form of one stock, contains some edit boxes for one stock's fields.. Is it possible to...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.