看板 Visual_Basic 關於我們 聯絡資訊
請輸入專案類型(網站專案或者應用程式專案):應用程式 如何讓VB6.0程式碼可以在Microsoft Visual Basic 2005 Express 版執行??? 以下是VB6.0的程式碼!!!變換字體大小和字型樣式的程式碼!! Private Sub Command1_Click() If Option1.Value = True Then Label1.Font.Size = 50 If Option2.Value = True Then Label1.Font.Size = 80 If Option3.Value = True Then Label1.Font.Size = 120 If Check1.Value = 1 Then Label1.Font.Bold = True If Check2.Value = 1 Then Label1.Font.Italic = True If Check3.Value = 1 Then Label1.Font.Underline = True End Sub 放到Microsoft Visual Basic 2005 Express 都會錯誤 要如何解決?? -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.223.211.43
humanfly:改寫成 vb.net ~或用vb6 compiler...何必強求 = = 09/27 13:38
humanfly:用vb.net的寫法 google: vb.net font 即可 09/27 13:42
MOONRAKER:物件定義都改了不錯也難 09/27 15:32