473,663 Members | 2,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XP look in VB6

I'm trying to apply the XP look to a small VB6 program by using info from:
http://www.vbaccelerator.com/home/VB...VB/article.asp

I've created the manifest file and located it in the same folder as the exe
of my program but it wont work. Can someone please look at the code from
this link which I pasted into the genaral section of my code. Is this the
correct area to paste the code? Where it says 'Start your application here',
what code should be in here?

Thanks again for all your help
Roy Riddex
Jul 17 '05 #1
1 3736
Put the call to InitCommonContr ols in the form's Initiate event. Calling the
code from the load event is too late in the window creation stage.

And if you want to have VB take on the XP appearance in the IDE, copy the
manifest to the VB exe folder and name it VB6.exe.manifes t. The only side
effect of this is the colour selection windows on the properties window no
longer show the colours.

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.
"Roy Riddex" <ro************ **@blueyonder.c o.uk> wrote in message
news:KV******** ********@news-binary.blueyond er.co.uk...
: I'm trying to apply the XP look to a small VB6 program by using info from:
:
http://www.vbaccelerator.com/home/VB...VB/article.asp
:
: I've created the manifest file and located it in the same folder as the
exe
: of my program but it wont work. Can someone please look at the code from
: this link which I pasted into the genaral section of my code. Is this the
: correct area to paste the code? Where it says 'Start your application
here',
: what code should be in here?
:
: Thanks again for all your help
:
:
: Roy Riddex
:
:
Jul 17 '05 #2

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

Similar topics

0
1662
by: FAQPoster | last post by:
An HTML version of this document is available at: http://www.mvps.org/access/netiquette.htm Feeling left out? Alone? Wondering why everyone's ignoring you? Or why you're being flamed for what you deemed an innocent post? The following tips will not only help you, they will help us help you. Please note: The latest changes to this document are marked with a | at the left-most side of the line that has been changed.
1
3432
by: Simeon Nevel | last post by:
As a personal exercise, I'm trying to create a call tracking DB for my own use at work. Here's an abbreviated version of the database layout: Company: CompanyID - Primary Key (Text Length 4) CompanyName OtherData
4
1827
by: Jozef | last post by:
Hello, I have forms in my database that use grey as the back color. When I convert them to XP, They all look goofy. The grey becomes two tone. The grey used in the controls are dark, the grey used in the form detail is light, almost white. I can change the back color on the forms to match the controls, but on controls like tabs etc, it still looks goofy (since I can't change the backcolor on a tab control or button etc.). Is there...
1
1923
by: Shell | last post by:
Hi, I have an application written in ASP.NET 2.0, I would like it's GUI especially the webpart to look like windows xp like transparent look or 3D look. I have looked at option of Borderstyle but it only enhances textare in the control and not the whole control. Can anyone throw some more light on how could I make my Datagrid and WebParts look like Win XP or 3D look? Thanks,
0
1188
by: eselk | last post by:
I'm using Access 2000. I've got a basic look-up combobox on a form (moves to selected record on update). The key field and the look-up field are both indexed, and the speed if fast enough for me. I then go into the Row Source editor for the control and make it so my look-up field is sorted. Still fast enough, no problems yet. Then I go in and set "is not null" for criteria for my look-up field. NOW IT IS SLOW! It isn't actually...
20
2209
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 selected the controls look nice rounded, etc. just like in Windows XP. But if I run the application on a Windows XP computer having the Windows
4
3182
by: Laurel | last post by:
Is there a way, in the debugger, to look at the contents of a dataset? I tried drilling down into my dataset and it's like exploring the registry! Anyway, I didn't find anything useful. The code I use to fill the dataset is below. The dataset fills OK and is usable. I just want to know how it names things, e.g., if there are multiple instances of a column of the same name, etc. Right now it can't find Person.Person_ID, although that is...
3
1371
by: Pascal Cloup | last post by:
Hi, all the installers that i create with VS2005 (with deployement projects) have a flat look and feel under windows XP (flat rectangle buttons). Even the installers created with VS2003 (and which have a correct appearance) have a flat look once updated with VS2005. Someone have an idea?
5
2178
by: Neil Cerutti | last post by:
For use in a hand-coded parser I wrote the following simple iterator with look-ahead. I haven't thought too deeply about what peek ought to return when the iterator is exhausted. Suggestions are respectfully requested. As it is, you can't be sure what a peek() =None signifies until the next iteration unless you don't expect None in your sequence. Using itertools.tee is the alternative I thought about, but caveates in the documentation...
11
3375
by: Peted | last post by:
Im using c# 2005 express edition Ive pretty much finished an winforms application and i need to significantly improve the visual appeal of the interface. Im totaly stuck on this and cant seem to work out how to start on a solution. I have of course used a varienty of componets, mostly radio buttons with "button" appearence.
0
8436
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8858
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
8548
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
8634
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...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5657
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
4349
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2763
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
2
1757
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.