I have migrated VB6 to dot net and I am getting:
Value of type 'Cursor' cannot be converted to 'Short'
Here is my code:
Dim intSavePointer As Short ' Save off the MousePointer
' Change the mouse pointer to clue in user of update
intSavePointer = **MyBase.Cursor**(this is the error line of code)
' Change the mouse pointer back
**MyBase.Cursor** = intSavePointer
How to fix that?
Change
Dim intSavePointer As Short
toDim savedCursor As Cursor
.A
Cursor
is not anint
. I don't know why it ever worked in VB6, but I've never used that.