Results 1 to 11 of 11

Thread: graphics

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    103

    Exclamation graphics


    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

  2. #2
    Fanatic Member neicedover1982's Avatar
    Join Date
    Jun 2005
    Posts
    566

    Re: graphics

    What type of graphics are you talking about? You can just use either imageboxes, pictureboxes, or just paste the images right onto the form.
    Kevin | New England Iced Over | http://www.kevincawleyjr.com

  3. #3
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: graphics

    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.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    103

    Re: graphics

    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

  5. #5
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: graphics

    Quote Originally Posted by Elios115
    i m just a small beginner in VB
    Not to treat this post as CC, but how small are ya?

    Anyways, where are you putting the graphics, in Pictureboxes or Command Buttons?

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    103

    Re: graphics

    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

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    103

    Re: graphics

    well i want to put them in a command button

  8. #8
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: graphics

    Set the command buttons Style property to 1-Graphical, and you should be able to load images into it like it's a PictureBox.

  9. #9

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    103

    Re: graphics

    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

  10. #10
    Fanatic Member damasterjo's Avatar
    Join Date
    Nov 2005
    Location
    In front of my Comp DirectX7 EXpert
    Posts
    827

    Re: graphics

    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

  11. #11

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    103

    Re: graphics

    thx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width