Results 1 to 3 of 3

Thread: Migrating errors

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2003
    Posts
    74

    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

  2. #2
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    From memory I think Object replaces Any
    This world is not my home. I'm just passing through.

  3. #3
    Banned
    Join Date
    Jul 2003
    Location
    New delhi
    Posts
    143
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width