|
Open "c:\id.txt" For Input As #1
i = i + 1
For i = 1 To 2
Line Input #1, idlne
If Left$(idlne, 3) = "ID:" Then
myid$ = Mid$(idlne, 4)
End If
If Left$(idlne, 3) = "NM:" Then
mynm$ = Mid$(idlne, 4)
End If
Next
Close #1
で取得したmyid$,mynm$ を
WordBasic.BeginDialog 470, 250, "Denpen Format"
WordBasic.Text 10, 8, 100, 12, " YOUR ID:"
WordBasic.TextBox 100, 6, 100, 16, "TextBox1"
のテキストボックスに表示させるにはどうしたらいいのでしょうか?
|
|