推 cole945:因為 Control("xxx") 的型別是 Control,它沒有這個屬性~ 06/17 17:56
→ cole945:可是其實這個Control是PictureBox,所以你要把他轉成Pictur 06/17 17:56
→ cole945:eBox先~作法是用 CType(Control("xx"),PictureBox) 06/17 17:57
→ cole945:然後 CType(好長一串).Image就是你要的東西了~~ 06/17 17:58
※ 編輯: wen1015 來自: 218.166.218.177 (06/17 18:06)
推 wen1015:是CType(Control("pixturebox"), PictureBox).Image嗎 06/17 18:09
→ wen1015:試了還是不行耶 06/17 18:11
推 wen1015:喔喔 解決了 picturebox不但要大小寫 而且我還拼錯= = 06/18 15:11
→ wen1015:感謝 06/18 15:12