-
Migrating errors
I used the upgrade program to automatically upgrade vb6 code and transform it into vb .NET code. Here are some error that I got:
1.
Version\OrderEntry\OrderEntry.NET\modDeclarations.vb(122):
'As Any' is not supported in 'Declare' statements.
- Public Declare Function SendMessage Lib "user32" Alias "SendMessageA"(ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByRef lParam As Any) As Integer
Any ideas???
Thanks
-
From memory I think Object replaces Any
-
after migrating the project you have to write some code like vb.net
you are migrating thats true.but to run the code you have to write some syntax according to that what vb.net give that facility in the migrating
Biswajit das