Anyone tell how to change a mouse pointer b4 it was
MousePointer = MousePointerConstants.vbHourglass
Now you have to use
Windows.Forms.Cursors.AppStarting()
but how??
Printable View
Anyone tell how to change a mouse pointer b4 it was
MousePointer = MousePointerConstants.vbHourglass
Now you have to use
Windows.Forms.Cursors.AppStarting()
but how??
VB Code:
Cursor.Current = Cursors.WaitCursor
Could get that to work - need any specific namespace??
I got this to work though
frmMain.ActiveForm.Cursor = System.Windows.Forms.Cursors.WaitCursor
as Sascha said (it is in the System.Windows.Forms Namespace - a useful one to have Imported)
VB Code:
System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor