Results 1 to 15 of 15

Thread: split function

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Posts
    86

    Resolved split function

    why doesn't this work

    VB Code:
    1. Private Sub Command1_Click()
    2. On Error Resume Next
    3. Text2.Text = Split(ophalen, "seta")(Text3.Text - 1)
    4. End Sub
    5.  
    6. Private Sub Form_Load()
    7. Dim ophalen As String
    8. Open "C:\Program Files\Call of Duty\Main\config_mp.cfg" For Input As #1
    9. Input #1, ophalen
    10. Text1.Text = ophalen
    11. Close #1
    12. End Sub

    and i have an other problem
    i want to split it with a gign that looks like an empty square
    if i copy it and paste than i begin the next rule

    how can i let cbscript know tht he must split it with this sign

    he must get info from this file

    http://www.davyquyo.be/config_mp.cfg

    but when i try he give error
    out of range
    because of the empty squares
    he only can read //generate by call of duty
    Last edited by davyquyo; Oct 4th, 2004 at 09:46 AM.

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