The code in VB6 is:
------------------------------
Load(Inter_pol_surfex)
------------------------------
The message error is:
------------------------------
Name 'Load' is not declared.
------------------------------
我可以收到修复此邮件的代码吗?
答案 0 :(得分:0)
我猜你是在尝试展示一个表单。在.NET中没有用于显示表单的Load函数,您必须创建表单的实例。
替换
Load(Inter_pol_surfex)
由此:
Dim f As New Inter_pol_surfex
f.Show()
答案 1 :(得分:-1)
试试这个:
Private sub Load (Inter_pol_surfex as [type of variable] )
end sub