Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Change Graphics In Visual Basic Forms


  • Please log in to reply
3 replies to this topic

#1 ph7ryan

ph7ryan

  • Members
  • 141 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Georgia, USA
  • Local time:06:13 PM

Posted 20 August 2008 - 08:34 AM

I want to spice up the look of some of my programs, and I think that visual graphics taking the place of regualar command buttons and stuff like that...

I need to kno whow to do this on VB 6.0, and 2005 because my school has 6.0 and I have 2005

BC AdBot (Login to Remove)

 


m

#2 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:05:13 PM

Posted 25 August 2008 - 10:27 PM

Add a new button to your form.
In the properties box for the button scroll down to
"style" and change to "graphical"
Scroll up to "picture" and add the pic you want.
Hope that helps.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#3 Keithuk

Keithuk

  • Members
  • 951 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:10:13 PM

Posted 01 September 2008 - 06:38 AM

I want to spice up the look of some of my programs, and I think that visual graphics taking the place of regualar command buttons and stuff like that...

I need to kno whow to do this on VB 6.0, and 2005 because my school has 6.0 and I have 2005


Add a new button to your form.
In the properties box for the button scroll down to
"style" and change to "graphical"
Scroll up to "picture" and add the pic you want.
Hope that helps.


Raw hasn't specified but thats the VB6 method.

Or you can use the Threed32.ocx to have the same effect but you don't have to set any Style just load a picture into it. Threed32.ocx also has a lot of additional features compared with the standard VB6 controls, I'm supprised more users don't use it.

Its on the VB6 CD, but you need to register it with an additonal reg file in the same folder. :thumbsup:

Keith

Windows ME (spare computer)
Windows XP 2002 Professional SP3 (desktop computer)
Windows 7 Professional SP1 32bit (laptop computer)

Windows 8 64bit spare drive for laptop computer


#4 Romeo29

Romeo29

    Learning To Bleep


  • BC Advisor
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:05:13 PM

Posted 01 September 2008 - 07:58 PM

You can embed IE instance in your VB6 app. Use basic HTML to design the GUI with graphical animated buttons and all and capture IE events to know which button user is clicking. Norton antivirus is using this method for years (I first noticed in 2001) though they use C++ I think.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users