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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user