User Tools

Site Tools


k21:k21.3:k21.3.2:start

21.3.2 Manual-Reader - Using Quick-Syntax

The following project provides a way to quickly and easily read and display data from a process. You can use either of the SHELL or EXEC instructions alternatively. The output is immediately displayed in a TextArea:

' Gambas class file
 
Public Sub Form_Open()
    FMain.Center()
    FMain.Resizable = False
End
 
Public Sub TextBox1_Activate()
    Exec ["man", TextBox1.Text] To TextArea1.Text
'-- Shell "man" & " " & TextBox1.Text To TextArea1.Text '-- Alternative to EXEC
    TextArea1.Pos = 1
End

GUI 'man'

Figure 21.3.2.1: GUI for the 'man' programme

I'm sure you can now think of more ways to use quick syntax in your Gambas programs too!

Download

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.
k21/k21.3/k21.3.2/start.txt · Last modified: by 127.0.0.1