作者karta2506968 (阿祥)
看板Visual_Basic
标题[.NET] 如何让VB 6.0可以在 Visual Basic 2005中执行??
时间Sat Sep 27 13:00:03 2008
请输入专案类型(网站专案或者应用程式专案):应用程式
如何让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
1F:→ humanfly:改写成 vb.net ~或用vb6 compiler...何必强求 = = 09/27 13:38
2F:推 humanfly:用vb.net的写法 google: vb.net font 即可 09/27 13:42
3F:→ MOONRAKER:物件定义都改了不错也难 09/27 15:32