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

No XP style dialogs after porting to VC8

3
Hello!

I recently ported my project from VC6 to VC8. But while executing them I found that dialogs have not changed to XP style. These dialogs are being shown with same WIN98 style.

However in an editor, dialogs are being shown with XP style only. Is there anything I need to do to get XP style dialogs.

Thanks.
Nov 21 '06 #1
1 1396
sivadhas2006
142 100+
Hi,

You need to modify the resource file of the executable file.

Expand|Select|Wrap|Line Numbers
  1.  
  2. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  3. <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  4. <assemblyIdentity
  5.     version="1.0.0.0"
  6.     processorArchitecture="X86"
  7.     name="win32 application"
  8.     type="win32"
  9. />
  10. <description>WindowsExecutable</description>
  11. <file name="gdiplus.dll"/>
  12. <dependency>
  13.     <dependentAssembly>
  14.         <assemblyIdentity
  15.             type="win32"
  16.             name="Microsoft.Windows.Common-Controls"
  17.             version="6.0.0.0"
  18.             processorArchitecture="X86"
  19.             publicKeyToken="6595b64144ccf1df"
  20.             language="*"
  21.         />
  22.     </dependentAssembly>
  23. </dependency>
  24. </assembly>
  25.  
  26.  
You need to add this text as custom.
And change the custom folder name as 24.

Regards,
M.Sivadhas.
Nov 22 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

17
by: ZirC°N | last post by:
Hi, I am running NOF on a Win98se machine. The fonts in the Properties dialogs are very difficult to read being bolded and not complete (pixels). Has anyone seen this bug before? Is NOF suitable...
4
by: Chris Travers | last post by:
Hi all; A few years ago, I set about porting a PHP application from MySQL to PostgreSQL, after realizing that MySQL wasn't going to be able to handle it. In order to do this, I built a light,...
2
by: David | last post by:
Hello, I have an application that has been running for years and had little problem with it. We've been retesting the latest code under Windows 2003 and found a surprise. There is a certain...
2
by: mccoyn | last post by:
I am trying to use a C style string in a managed class. When I try to call a function like strcmp I get an error. For example, this code __gc MyClass char str _nogc void foo() strcpy(str,...
0
by: Tony Johansson | last post by:
Hello! Assume I have 10 dialogs and these will be written in winforms C++.NET. Assume also that 30 % of these 10 dialogs are identical. What kind of component would be suitable to avoid to...
4
by: Ben Coats | last post by:
Hey, I'm trying to find code for an Explorer-style Directory ComboBox. (You know, it display "Desktop", "My Computer", all drives, etc., but it has a treeview control inside the combobox so that...
5
by: 2b|!2b==? | last post by:
I am not making much progress porting some old C code to C++ ... I am porting the lines below, which prints an ISO8601 date string: char buff ; memset(buff, '\0',16);...
0
tbarto
by: tbarto | last post by:
Hello, For some time I have been working on an application where a part of the solutuion is a class that is able to find all the system dialogs ( eg. openFileDialog ) that are currently open....
2
by: vbdummy | last post by:
I am not able to use Dialogs.Item(wdDialogFileOpen) because of the way I'm using word inside of another application. The code below works outside of the application but not in it: Sub FileInsert()...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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...

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.