locked
res in vb RRS feed

  • Question

  •  

    how to load a image for a cmd button from .res file in vb
    Thursday, September 13, 2007 4:53 PM

Answers

  • include that .res file to your project

     

     

    then

    declare

     

    public const x =resourceid

     

    then use

     

    cmd1.picture=loadresbitmap(x,vbResBitmap)

     

     

     

    hope this works

     

     

    cheers,

    nana

    Thursday, September 13, 2007 5:04 PM

All replies

  • include that .res file to your project

     

     

    then

    declare

     

    public const x =resourceid

     

    then use

     

    cmd1.picture=loadresbitmap(x,vbResBitmap)

     

     

     

    hope this works

     

     

    cheers,

    nana

    Thursday, September 13, 2007 5:04 PM
  • thanks a lot

    Thursday, September 13, 2007 5:10 PM
  • Did u got it right this time



    cheers
    nana
    Friday, September 14, 2007 7:30 AM