本文介绍了迁移错误后VB6到VB.Net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我正在努力修复从vb6迁移到vb.net的代码并在修复跟踪错误时遇到问题。任何人都可以帮忙修理它

I am working on fixing errors after migrating code from vb6 to vb.net and facing problem in fixing following error. Can anyone help in fixing it

  ExampleControl.enmWaitcursorstate的值无法转换为system.windows.form游标




推荐答案

这是一个可能显示您需要的示例。

Here is an example that may show what you need.

    Private Sub Button4_MouseEnter(sender As Object, e As EventArgs) Handles Button4.MouseEnter
        ' show wait cursor when entering Button4
        Cursor = Cursors.WaitCursor
    End Sub
    Private Sub Button4_MouseLeave(sender As Object, e As EventArgs) Handles Button4.MouseLeave
        ' show default cursor when leaving Button4
        Cursor = Cursors.Default
    End Sub


这篇关于迁移错误后VB6到VB.Net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 14:15