Results 1 to 10 of 10
  1. #1

    Default Search image and display in VB?


    mga bro, any idea sa code na mo input ko ug picture code, then mo appear dayon sa picturebox. ang mga pics kay naka save na sa isa ka folder. for example ang mga file name sa pics kay 001,002 and so on.. nya mo input ko 001, mo gawas ang 001.jpg sa picture box?

    Thanks daan mga bro

  2. #2

    Default Re: Search image and display in VB?

    For VB.NET
    dim strVal as string
    picEmp.Image = Image.FromFile(strVal)

    For VB6
    dim strVal as string
    imgEmp.Picture = LoadPicture(strVal)

    its all for you on how you pass a value on the variable. you can have a constant then concatenate it with your textbox.text or you can use a dialog box dlg.FileName.

    Have a nice coding bro!

  3. #3

    Default Re: Search image and display in VB?

    thanks bro, ako ni try. TY

  4. #4

    Default Re: Search image and display in VB?

    by d wy bro, dba naa man ibutang sa address sa pic ana? and file extension?

  5. #5

    Default Re: Search image and display in VB?

    Quote Originally Posted by franzziss
    by d wy bro, dba naa man ibutang sa address sa pic ana? and file extension?
    yup you have to include it bro. IMO how about imo nalang diay na ibutang sa database ang mga images para secured pa then dili pa mokaon ug space sa imo local drive. para adto ra sa database na tanan then ma retrieve pa sa uban nga client.

  6. #6

    Default Re: Search image and display in VB?

    Aw o diay sah.. hehehe.. bag o pa man gud ko ani VB bro. Kana access na database bro, ado ako gamit. pwede na? unsaon bro? Thanks kaau. sa amo man gud ni project sa research. nya gpa propose mi ug application na magamit gyud. thatÅ› y amo propose ID system nalang.

  7. #7

    Default Re: Search image and display in VB?

    yes pwede ang ado using ms access. i wont give detail you detail so you can learn on your own phase. use the ADODB.stream
    if you want the detail wala prob na but if the price is right. hehe! joke lang bro. dili lang nako e spoon feed para dindot ang learning curve nimu then ma retain jud sa imo ug gi unsa pag pagawas.

    have a nice coding.

  8. #8

    Default Re: Search image and display in VB?

    yeah bro, dli sad ko ana bro. ngau lang ko idea then ako na bahala.. dli ta makat on ana spoon feed bro.. hehehe.. Thanks very sa idea.. :mrgreen:

  9. #9

    Default Re: Search image and display in VB?

    Quote Originally Posted by franzziss
    by d wy bro, dba naa man ibutang sa address sa pic ana? and file extension?
    cguro ur referring to a hyperlink only i guess but if it is ado bound then first we must declare a connectionstring first then loop the recordset, you can add navigation button if you want to display images that are located on your database i guess

  10. #10

    Default Re: Search image and display in VB?

    thanks uzumaki, try nko..

  11.    Advertisement

Similar Threads

 
  1. If God created Man in his own image and likeness..
    By florigaga in forum General Discussions
    Replies: 0
    Last Post: 08-09-2011, 09:52 AM
  2. Need help in VB 6.0 and VB.Net?
    By rhex_tendo in forum Programming
    Replies: 10
    Last Post: 08-31-2010, 01:01 PM
  3. QUESTION: If we're all created in God's image and likeness...
    By timo in forum Spirituality & Occult - OLDER
    Replies: 25
    Last Post: 03-11-2009, 04:23 PM
  4. remembering images and words in the early 90's
    By depechebox in forum Music & Radio
    Replies: 12
    Last Post: 01-27-2009, 03:52 PM
  5. Replies: 33
    Last Post: 10-17-2008, 04:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top