Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
obj1.New1(False)
obj2.New1(False)
Form1.Show
SetCursor("WaitCursor")
End Sub
'Cursor is Case-insensitive and can be one of :
'AppStarting, Arrow, Cross, Default, Hand, Help, HSplit, IBeam,
'No, NoMove2D, NoMoveHoriz, NoMoveVert,
'PanEast, PanNE, PanNorth, PanNW, PanSE, PanSouth, PanSW, PanWest,
'SizeAll, SizeNESW, SizeNS, SizeNWSE, SizeWE, UpArrow, VSplit, WaitCursor.
Sub SetCursor(cursor)
obj1.CreateNew("System.Windows.Forms.CursorConverter" & obj1.System_Windows_Forms)
obj1.Value = obj1.RunMethod2("ConvertFromString", cursor, "System.String")
obj2.FromControl("Form1")
obj2.SetProperty2("Cursor", obj1.Value)
End Sub