當前位置:成語大全網 - 書法字典 - Vb程序問題如何在文本框中輸入兩個不同的數字。

Vb程序問題如何在文本框中輸入兩個不同的數字。

私有子命令1_Click()

將a顯示為字符串,b顯示為字符串

打開“c:\ documents and settings \ administrator \ desktop \ new text document . txt”輸出為# 1。

Print #1,Text1文本

關閉#1

打開“c:\ documents and settings \ administrator \ desktop \ new text document . txt”輸入為# 1。

線路輸入#1

線路輸入# 1 b

關閉#1

MsgBox a * b

末端接頭

我覺得這太麻煩了。Text1 .文本屬性medicine設置為多行,Multline = true,並且在Text1中輸入壹個數字後。文本,有必要輸入新的壹行。