On doing a Shell command (also applies to an Exec command), FMain form
goes blank. This can be seen in the attached screenshots. 'Just after
clicking Search button and before clicking Record button.png' shows the
form before executing the Shell command and 'Just after clicking Record
button.png' shows the screen after executing the Shell command.

Code fragment:
Public Sub ButtonRecord_Click()
Dim sInstruction As String
sInstruction = "get_iplayer --force --get Shock --output " & sDirectory
& " --raw >" & sLogFilename & " 2>&1"
Print "sInstruction=", sInstruction
Shell sInstruction To sOutput

Small project also attached.





<<attachment: image/png>>

<<attachment: Just after clicking Record button.png>>

Attachment: Test.tar.gz
Description: application/compressed-tar

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to