473,883 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No XP style dialogs after porting to VC8

3 New Member
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 1419
sivadhas2006
142 New Member
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
1791
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 software for creating style pages? I am only starting out in study so please, any information would help. thanks
4
2403
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, fast database abstraction layer which conforms to the behavior of the MySQL functions in PHP. This means that a large amount of porting work could be made simple using this porting layer if the application was originally used PHP's native MySQL...
2
2191
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 case where we allow the MDI app to close the database and the user can later request the open dialog. This normally calls the CDatabase open with the flags that allow the ODBC Open Dialog
2
2124
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, "Hello")
0
835
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 duplicate the identical code in all these 10 dialogs. I mean that this component should just contain this 30% and should be used in these 10 dialogs.
4
14186
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 you can navigate through the file system as well.) I've found some on the web, but all of them just have the drives and desktop directories and are static in that you cannot expand the directories. I normally build a treeview control to do it with,...
5
4461
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); sprintf(buff,"%02d:%02d:%02d", hours, minutes, seconds) ; to :
0
1102
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. Dependently on the system regional settings, the captions of such dialogs differ (e.g "Open" for en-En and "Otwieranie" for pl-Pl ). I neet do know what is the exact caption for the current system. To be more detailed I need to find a solution that...
2
2301
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() ChangeFileOpenDirectory _ "F:\Some\Folder\OnThe\Network" With Dialogs.Item(wdDialogFileOpen) .Name = "*.doc" If .Display = -1 Then
0
11164
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10864
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10422
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9588
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 project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7137
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5807
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6008
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4623
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 we have to send another system
3
3242
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.