[Gambas-user] How to "Me.Close" with "Shell" or "Exec"?
abbat
abbat.81 at ...787...
Fri Apr 20 13:06:05 CEST 2012
It does not CLOSE.
Just try F5
If True then
Exec ["ls"]
Me.Close
EndIf
DOES NOT CLOSE (you have to push "stop" button), AND:
If True then
'Exec ["ls"]
Me.Close
EndIf
WORKS
GMail-79 wrote:
>
> On Fri, 2012-04-20 at 03:13 -0700, abbat wrote:
>> Hi,
>>
>> Public Sub Form_Open()
>> Dim a As String = 4
>> Dim b As String = 4
>>
>> If a > b Then
>>
>> Else
>> 'Shell "ls"
>> Exec ["ls"]
>> Me.Close
>> Endif
>> End
>>
>> How to "Me.Close"
>>
>> Thanks
>>
> Removing irrelevant code, I get
>
> Public Sub Form_Open()
>
> If True then
> Exec ["ls"]
> Me.Close
> EndIf
>
> End
>
> or better
>
> Public Sub Form_Open()
>
> Exec ["ls"]
> Me.Close
>
> End
>
> both of which seem to execute perfectly well (i.e. as expected) here.
>
> Please explain your problem again.
>
> cheers
> Bruce
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
View this message in context: http://old.nabble.com/How-to-%22Me.Close%22-with-%22Shell%22-or-%22Exec%22--tp33719245p33719872.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list