473,387 Members | 3,810 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.

XP-style button on VB6 form

The Button that glows orange when mouse moved over it
Also i wanna include it in message box
Please help
Aug 23 '07 #1
9 14930
download the jewelbutton.ocx in the internet...that is the component that u wanted....
then after downloading, add it to your components in vb6.0
Aug 24 '07 #2
Killer42
8,435 Expert 8TB
download the jewelbutton.ocx in the internet...that is the component that u wanted....
then after downloading, add it to your components in vb6.0
Of course, you could just do it yourself by watching the MouseMove event. Turn on the "glow" when the mouse moves over the button, turn it off as soon as you detect the mouse outside of the button.
Aug 24 '07 #3
vinci
62
Of course, you could just do it yourself by watching the MouseMove event. Turn on the "glow" when the mouse moves over the button, turn it off as soon as you detect the mouse outside of the button.
but isnt it that buttons in VB6 are not that graphical.. what i mean is that they are colored gray.. it is like buttons from windows 98... i think wat he want is to have buttons the same as windows XP does...

if it is posible in VB6 to accomplish it thru code, could u show me how?

tnx killer42...
Aug 24 '07 #4
pureenhanoi
175 100+
download the jewelbutton.ocx in the internet...that is the component that u wanted....
then after downloading, add it to your components in vb6.0
Look at this thread http://www.thescripts.com/forum/thread693872.html.There may have some helpfull
Aug 24 '07 #5
Killer42
8,435 Expert 8TB
Look at this thread ...
Thanks. I was thinking of suggesting that, but couldn't remember where it was. Duh! It's not even a week since I put it in the Articles area, and already I forgot it was there. :(

I should point out that while I edited the post about using manifest when I copied it to the articles area, I haven't tried out the idea. I'll be curious to find out a bit more about it.
Aug 24 '07 #6
Killer42
8,435 Expert 8TB
Correction to an earlier post in this thread. You can change the look of a button in VB6 if you first set the Style property to "1 - Graphical". Then you can change the colour, the picture normally displayed, and the picture displayed while the button is "down".

Note, it looks as though Style can only be set at design time.
Aug 24 '07 #7
Killer42
8,435 Expert 8TB
Here's a little sample. Just add this frm file to a new project. (Don't forget to set it as the startup object).

The reason for the "If ... End If" logic is that the original code, which just set the colour every time the event was triggered, made the button flicker in a bit of an ugly way.
Attached Files
File Type: zip form1.zip (622 Bytes, 1793 views)
Aug 24 '07 #8
Ali Rizwan
925 512MB
Here's a little sample. Just add this frm file to a new project. (Don't forget to set it as the startup object).

The reason for the "If ... End If" logic is that the original code, which just set the colour every time the event was triggered, made the button flicker in a bit of an ugly way.
Killer what is this this ll not sute you this is like kiddy.
Aug 27 '07 #9
Killer42
8,435 Expert 8TB
Killer what is this this ll not sute you this is like kiddy.
Um... what? I didn't understand that.
Aug 27 '07 #10

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

Similar topics

7
by: Dave | last post by:
I created a program using VB6 under WIN 98. The program uses an ado database. When I use the package and deployment program in VB6 on this program and then install it on a machine with XP Pro on...
11
by: PC | last post by:
It's obvious, that Windows XP has a Java 2 VM (including the SWING-module), because we can all run Java 2 applets in Internet Explorer. But what about the support for Java 2 Applications? I...
5
by: Shay | last post by:
Hello Everyone , i am trying to learn ASP 3.0 and i have XP Home and i know XP Home does not support ASP or IIS , so i have to upgrade to XP Pro , but i have never done an upgrade before . So all i...
22
by: The Road To Utopia | last post by:
Here's one for the trolls...a common jibe from them is setting up audio/video hardware under linux. Ok, true story: at work today, someone asked me if I could tell him why his XP Home would play...
1
by: richard turner | last post by:
Access 97 is running on an XP Home machine pulling up a database on an XP Pro machine. The XP Home machine has 512 megs of RAM, the XP Pro machine has 768 megs. Access 97 runs fine on both...
1
by: Scott Chang | last post by:
Hi all, 1)I used Microsoft Visual C++.NET (2002) on my Windows Me and Windows XP Home Edition for the last one and half years. 4-5 weeks ago, I upgraded my PC from Windows XP Home Edition to...
4
by: Ted Duross | last post by:
Hi, I would like to install VS 2003 on a computer with XP Home. Original documentation says I should expect limited functionality ( no ASP.NET Web applications or ASP.NET XML Web service ). Is...
4
by: Bill | last post by:
Hi, I would be grateful if someone could clarify my rather confused ideas of the 10 connection limit on XP/2000 when its being used as a server. (I realise that XP is really a client op sys with...
2
by: 13Rockes | last post by:
I am in the process of writing programs using VB6 in XP Pro. However, I am thinking about starting over using VB2005 as my company is migrating to Vista. Two questions... What kinds of...
10
by: nik | last post by:
Hi, I've compiled my application on my vista machine, and it won't run at all on my xp machine. In the windows error report I get Exception code; 0xe0434f4d. I searched for that exception, but...
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: 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
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,...
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...
0
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,...

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.