Results 1 to 4 of 4

Thread: not sure how to convert this function declaration.

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2007
    Posts
    63

    not sure how to convert this function declaration.

    Old function declaration:

    Public Function HW(ByRef Emulator By Number*or*ByRef Name As Object) As Object

    I've tried to change 'Emulator By Number' to 'Emulator_By_Number' though that doesn't work.

    also it's like it doesn't like the 'or' in the declaration.

    Any help on how to correct this declaration would be appreciated.


    Thanks again

    Mythos

  2. #2
    PowerPoster VBDT's Avatar
    Join Date
    Sep 2005
    Location
    CA - USA
    Posts
    2,922

    Re: not sure how to convert this function declaration.

    I haven’t seen that kind of declaration. Where did you get it? And from what are you converting?

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2007
    Posts
    63

    Re: not sure how to convert this function declaration.

    Sorry that would help. I'm converting from VB6 to VB 2005.

    And actually the original function was declaired like this:

    Public Function HW(Emulator*By*Number*or*Name)

    What I prosted previously is how VB 2005 converted it.

    thanks again.

  4. #4
    PowerPoster VBDT's Avatar
    Join Date
    Sep 2005
    Location
    CA - USA
    Posts
    2,922

    Re: not sure how to convert this function declaration.

    Can we see that code?

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