Results 1 to 7 of 7

Thread: .Exe being executed only by another app *Resolved*

Threaded View

  1. #4
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959
    test1.exe

    Code:
    Private Sub Command1_Click()
    dim open
    Open "c:\password.txt" For Output As #1
    Print #1, "password"
    Close #1
    Shellex "c:\test1.exe"
    End Sub

    test2.exe

    Code:
    Private Sub Form_Initialize()
    Me.Hide
    Open "c:\password.txt" For Input As #1
    Input #1, getpassword
    Close #1
    If getpassword = "password" Then
    Form1.Show
    Kill "c:\password.txt"
    Else
    GoTo End1
    End If
    End1:
    End Sub
    Last edited by Jmacp; Feb 13th, 2004 at 12:08 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