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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…