Testing functions from the immediate window on 64 bit Visual studio

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
 
R

RobinS

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

Robin S.
----------------------------
 
K

kiss deez

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
 
R

RobinS

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.
 
K

kiss deez

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top