Results 1 to 3 of 3

Thread: code test

  1. #1

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    code test

    VB Code:
    1. For x = 1 to 20234 Then
    2. Each "asdfasdf "
    3. so 'asdf';
    4. For each blah blah 'asdf asdf adsf
    5. REM adsfadsf adsf asdf asdf
    6. EndIf
    7. End
    8. blah
    9. more blah

    PHP Code:
    For 1 to 20234 Then
    Each 
    "asdfasdf "
    so 'asdf';
    For 
    each blah blah 'asdf asdf adsf
    REM adsfadsf adsf asdf asdf
    EndIf
    End
    blah
    more blah 
    VB Code:
    1. For x = 1 to 20234 Then
    2. Each "asdfasdf "
    3. so 'asdf';
    4. For each blah blah 'asdf asdf adsf
    5. REM adsfadsf adsf asdf asdf
    6. EndIf
    7. End
    8. blah
    9. more blah

    how now brown cow
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  2. #2
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: code test

    vb Code:
    1. Private Sub Command1_Click()
    2. Dim str As String
    3.  
    4. str = "Hello Message"
    5. MsgBox str
    6.  
    7. End Sub
    Show Appreciation. Rate Posts.

  3. #3
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: code test

    Code:
    vb Code:
    1. Class form
    2.     Private comboList As ArrayList = new ArrayList()
    3.     private textList As ArrayList = New ArrayList()
    4.        
    5.     Public sub ComboBox1_Click()
    6.           'At design time you can fill the Tag value of the control with the same number as the control one
    7.           comboList.add(ComboBox1.Tag)
    8.     End Sub
    9.        
    10.     public sub btn_case_search()
    11.          For i As Integer to comboList.count-1
    12.                 Dim Field As ComboBox = Me.Controls("Field" & i)
    13.          Next
    14.     end sub
    15. End class
    Show Appreciation. Rate Posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width