トップ 差分 一覧 ping ソース 検索 ヘルプ PDF RSS ログイン

VB6



目次



記事一覧

キーワード

Visual Basic 6.0

思えばVBの本いっぱい買ったなぁ。この本が最良。

文法

 制御構文

If..Then..Else

If A>5 Then Print "A is a bit number!"

For...Next - Loops

For i = 1 to 5
    print #1, i
next i

For Each ... Next

For Each X in Form1.controls
Next X

While...Wend

While i < 5
  i = i +1
Wend

Select Case

Select case i
Case 1 : print "it was a 1"
Case 2 : print "it was a 2"
End select

Do...Loop

Do while i < 5
  i = i + 1
Loop

Choose

Choose (index, "answer1", "answer2", "answer3")

With

With textbox1
  .Height = 100
  .Width = 500
End With

End

End

Stop

Stop


 TIPS


 Excel VBA



YAGI Hiroto (piroto@a-net.email.ne.jp)
twitter http://twitter.com/pppiroto

Copyright© 矢木 浩人 All Rights Reserved.