Results 1 to 11 of 11

Thread: 'If' Question

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2004
    Posts
    279

    Question 'If' Question

    What I'm trying to do is hard to explain but I'll give it my best shot.


    Quick example:
    VB Code:
    1. Public Localcheat As String
    2.  
    3. If FindWindow("blahblah", vbNullString) Then Localcheat = "BanReason"
    4. End If
    Now here's the printing of the ban above:
    VB Code:
    1. Dim blah As String
    2.  
    3. blah = BanReason
    4. Dim Fnum As Integer
    5. Fnum = FreeFile
    6. Open "C:\blahblah.txt" For Output As Fnum
    7. Print #Fnum, "" & blah & ""
    8. Close Fnum
    I don't think that's how to do it but that's why I'm here, again . Hopefully you get my point when reading those.
    Last edited by Tantrum3k; Nov 8th, 2004 at 11:54 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