Results 1 to 3 of 3

Thread: close shell window not working help please

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2003
    Posts
    599

    close shell window not working help please

    guys,


    how can i close the command prompt .......

    say i : shell "ping 192..168.100.111"
    then a command prompt appear and after a few seconds then i would like to close that command prompt .... how to?, Master\


    EXAMPLE :
    Dim phandle1 As Long

    If (Trim(txtipi1.Text) <> "") Then
    phandle1 = Shell("ping -t " & txtipi1.Text, vbMinimizedNoFocus)
    wapintstorage.setwapip1handle = phandle1
    End If


    later i issue this :

    SendMessage wapintstorage.getwapip1handle, WM_CLOSE, 0&, 0&


    It AINT WORKING
    Last edited by vbnew; Aug 14th, 2003 at 11:52 PM.
    Thank You

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