Testing functions from the immediate window on 64 bit Visual studio

  • Thread starter Thread starter kiss deez
  • Start date Start date
K

kiss deez

Hello,

I am trying to test various math functions through the immediate
window while in design mode (I have a 64 bit system).

For example, I have the following function:
Public Function MyFunction(ByVal input As Integer) As Integer
Return input * 2
End Function
From the immediate window, I type the following:
? MyFunction(200)

Instead of coming with 400, I receive: "Name 'MyFunction' is not
declared.". What am I doing wrong? I know I have done this before
before upgrading to 64 bit and I'm 99% sure it worked?

Thanks for any help,

J
 
Have you built the application? And is the function really public?

Robin S.
----------------------------
 
Have you built the application? And is the function really public?

Robin S.










- Show quoted text -

Yes, I built the application and I am 100% sure the function is
public. I've created numerous functions to test this functionality out
but it does not work. I think it has something to do with 64-bit XP or
Visual Studio, but I am unable to prove it.

J
 
kiss deez said:
Yes, I built the application and I am 100% sure the function is
public. I've created numerous functions to test this functionality out
but it does not work. I think it has something to do with 64-bit XP or
Visual Studio, but I am unable to prove it.

J

Well, that must be really annoying. Sorry I don't know how to fix it!

Robin S.
 
Well, that must be really annoying. Sorry I don't know how to fix it!

Robin S.

Thanks for the help Robin. It's not a huge deal since I can compile
and debug, but still annoying.
 
Back
Top