กระทู้เก่าบอร์ด อ.Yeadram
        
           1,202   1		  
          
					  
		    URL.หัวข้อ / 
		    URL
        
        รบกวนท่านอาจารย์ ตรวจสอบโค้ดครับ      
    
      เป็นโค้ดที่ใส่ปุ่ม เลือกไฟล์รูป ในเครื่องเราครับ
Private Sub cmdSelectFile_Click()
Dim strFileType As String, strFileTypeDesc As String
    
strFileType = "*.bmp;*.jpg;*.gif;*.tif"
strFileTypeDesc = "Pict Files (*.bmp,*.jpg,*.gif,*.tif)"
    
strPictFile =GetOpenFile(strFileType, strFileTypeDesc)
If strPictFile <> "NoFile" Then
CustImage.Picture = strPictFile
End If
End Sub
****แล้วระบบมันขึ้น Error ตรงที่ขี้เส้นใต้สีแดงอ่ะครับ *** มันหมายความว่าไงครับ
    
  Private Sub cmdSelectFile_Click()
Dim strFileType As String, strFileTypeDesc As String
strFileType = "*.bmp;*.jpg;*.gif;*.tif"
strFileTypeDesc = "Pict Files (*.bmp,*.jpg,*.gif,*.tif)"
strPictFile =GetOpenFile(strFileType, strFileTypeDesc)
If strPictFile <> "NoFile" Then
CustImage.Picture = strPictFile
End If
End Sub
****แล้วระบบมันขึ้น Error ตรงที่ขี้เส้นใต้สีแดงอ่ะครับ *** มันหมายความว่าไงครับ
				1 Reply in this Topic. Dispaly 1  pages and you are on page number 1 
				
        
    1 @R17106    
        
    
      ไม่บอกมาว่า error อะไร ก็ขอทำหน้าที่เป็นหมอเดาแล้วกัน คือคุณใส่ฟังก์ชั่น GetOpenFile ลงในโมดูลของคุณหรือยัง ลองดูได้ที่ http://www.thai-access.com/yeadram_view.php?topic_id=2322    
    
  
      Time: 0.0628s
    
      
		