Hey, I'm new here and I need some help.
I'm trying to make a program to send a command through a textbox when a button is clicked, THEN grab the output and put it into another texbox. If you could help i would be great full. This is what I have so far....

Public Class Form3

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        
        Shell("C:\DFU\s-irecovery.exe")
        SendKeys.Send(TextBox1.Text)
        SendKeys.Send("{ENTER}")
        
    End Sub

    

    Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub
End Class
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.