Results 1 to 5 of 5

Thread: อยากทราบวิธีการ load ภาพ BMP มาแสดงผล

  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    0


    อยากทราบวิธีการ load ภาพ BMP มาแสดงผล

    คือผมอยากหา source code ของโปรแกรมที่สามารถโหลดรูป BMP มาแสดงผลทางหน้าจอได้เหมือนๆกัน Paintbrush ไม่ทราบว่าพอจะมีตัวอย่างไหมครับ

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Location
    Thailand
    Posts
    136


    Re: อยากทราบวิธีการ load ภาพ BMP มาแสดงผล

    1. วาง Picture Control ลงบนฟอร์ม
    2. โหลดภาพด้วยฟังก์ชั่น LoadPicture() ดังนี้
    picture1 = LoadPicture("c:img01.bmp")

  3. #3
    wimonrat
    Guest


    Re: อยากทราบวิธีการ load ภาพ BMP มาแสดงผล

    แล้ว vb สามารถโหลดรูป file อะไรได้บ้างค่ะ คือว่าส่วนใหญที่เหงมีแต่ JPG

  4. #4
    Junior Member
    Join Date
    Dec 2006
    Posts
    0


    Re: อยากทราบวิธีการ load ภาพ BMP มาแสดงผล

    ลองดูตัวอย่างที่เว็บนี้ดูนะครับ http://www.vbaccelerator.com/codelib/gfx/vbjpeg.htm

  5. #5
    BingLi224
    Guest


    Re: อยากทราบวิธีการ load ภาพ BMP มาแสดงผล

    BMP หรือ ICO หรือ CUR ก็ได้ครับ

Similar Threads

  1. Replies: 2
    Last Post: 07-06-2007, 01:38 PM
  2. Replies: 12
    Last Post: 12-02-2007, 08:59 PM
  3. Replies: 5
    Last Post: 09-04-2005, 12:57 AM
  4. Replies: 3
    Last Post: 10-03-2004, 04:09 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

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