:afrog: :afrog: :afrog: :afrog: :afrog: :afrog: :afrog: :afrog:
hey guys i need to add some graphics to my form so any idea about how to do it? have no i dea about active x can anybody help? thx a lot
Printable View
:afrog: :afrog: :afrog: :afrog: :afrog: :afrog: :afrog: :afrog:
hey guys i need to add some graphics to my form so any idea about how to do it? have no i dea about active x can anybody help? thx a lot
What type of graphics are you talking about? You can just use either imageboxes, pictureboxes, or just paste the images right onto the form.
Of course what neicedover just said is the beginners pure VB method. Other ways to do it would be through API's holding images in a memory DC and then BitBlting it onto your form window. But my method that I typically use is DirectX, which allows me to do realtime 2D or 3D graphics. Beats API's thats for sure, but it might be too advance for you depending on your programming skills.
my form is a remote control for a computer controlled robot so any ideas about graphics to the forward, backward, left or right . like maybe blinking arrows when the forward button is pressed and some bits passing on the form like a marquee ... any new ideas? and plz a way to to them cuz i m just a small beginner in VB
Not to treat this post as CC, but how small are ya? :lol:Quote:
Originally Posted by Elios115
Anyways, where are you putting the graphics, in Pictureboxes or Command Buttons?
it is not that i m small in age or major but i just began writing in VB soo i m a tiny beginner :P
well i want to put them in a command button
Set the command buttons Style property to 1-Graphical, and you should be able to load images into it like it's a PictureBox. ;)
yeah i know but i need to kno whow to load animated graphics like a blinking arrow or a marquee on the form that is blinking also
http://www.vbexplorer.com/VBExplorer/gdi2.asp
download the animation example at the bottom of the screen. Study it and that should help. You'll see
thx :)