Results 1 to 3 of 3

Thread: อยากได้ code vb2008 เกี่ยวกับ progress bar ครับ

  1. #1
    Member Pr0T๐TyPe's Avatar
    Join Date
    Sep 2009
    Location
    Nakhonratchasima
    Posts
    43


    คือผมอยากได้ code เกี่ยวกับ progress bar อะครับ แบบว่า พอ progress bar มันเลื่อนจนเต็ม
    จะทำให้มี ข้อความเด้งขึ้นมา 1 ข้อความ ทำยังไงครับ แบบว่าที่ผมทำ พอโหลด progress bar เต็ม
    มันจะขึ้นรัวเลยครับ อยากได้ที่มันขึ้นข้อความแค่ 1 อันอะครับ
    No Signature

  2. #2
    Senior Member
    Join Date
    Feb 2010
    Posts
    121


    ประมาน นี้หรือปล่าวครับ

    ProgressBar1.Value = ProgressBar1.Value + 1 'ให้เพิ่มที่หละ 1
    If ProgressBar1.Value = 100 Then '100 = เต็มหลอด
    MsgBox("ข้อความที่ต้องการ")
    Timer1.stop ' ควรสั่ง Stop ด้วยไม่งั้น เด้งหลายแน่่
    End If

  3. #3
    Member Pr0T๐TyPe's Avatar
    Join Date
    Sep 2009
    Location
    Nakhonratchasima
    Posts
    43


    โค้ดที่บอกมาพอมันโหลดจนเต็มมันฟ้องว่าตรงนี้ผิดครับ

    Code:
    ProgressBar1.Value = ProgressBar1.Value + 1
    ไม่เป็นไรครับได้แล้วก็คือใส่ยังงี้

    [code]ProgressBar1.Increment(1)
    No Signature

Similar Threads

  1. Replies: 0
    Last Post: 11-10-2008, 02:54 AM
  2. อยากได้ e-book ของ windows vista ครับ
    By kuropika7 in forum E-Book, Video หรือบทความทั่วไปด้าน Computer
    Replies: 3
    Last Post: 11-03-2008, 07:32 AM
  3. อยากได้ code calculator
    By Anonymous in forum Symbian C++, J2ME, Brew,XHTML
    Replies: 0
    Last Post: 08-03-2006, 03:10 PM
  4. อยากได้ javascrpt for ns6 ครับ
    By maxdezign in forum E-Book, Video หรือบทความทั่วไปด้าน Computer
    Replies: 0
    Last Post: 19-04-2005, 01:46 AM
  5. อยากได้ Code ร้านหนังสือ Online
    By jimrim in forum PHP,ASP,Javascript, Html
    Replies: 1
    Last Post: 09-02-2004, 11:30 AM

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
  •