473,325 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Testing functions from the immediate window on 64 bit Visual studio

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

Mar 15 '07 #1
4 2000
Have you built the application? And is the function really public?

Robin S.
----------------------------
"kiss deez" <ki********@hotmail.comwrote in message
news:11**********************@y80g2000hsf.googlegr oups.com...
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

Mar 15 '07 #2
On Mar 15, 1:45 am, "RobinS" <Rob...@NoSpam.yah.nonewrote:
Have you built the application? And is the function really public?

Robin S.
----------------------------"kiss deez" <kissdzn...@hotmail.comwrote in message

news:11**********************@y80g2000hsf.googlegr oups.com...
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- Hide quoted text -

- 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

Mar 16 '07 #3

"kiss deez" <ki********@hotmail.comwrote in message
news:11********************@y66g2000hsf.googlegrou ps.com...
On Mar 15, 1:45 am, "RobinS" <Rob...@NoSpam.yah.nonewrote:
>Have you built the application? And is the function really public?

Robin S.
----------------------------"kiss deez" <kissdzn...@hotmail.comwrote
in message

news:11**********************@y80g2000hsf.googleg roups.com...
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- Hide quoted text -

- 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
Well, that must be really annoying. Sorry I don't know how to fix it!

Robin S.
Mar 16 '07 #4
On Mar 16, 1:49 am, "RobinS" <Rob...@NoSpam.yah.nonewrote:
"kiss deez" <kissdzn...@hotmail.comwrote in message

news:11********************@y66g2000hsf.googlegrou ps.com...
On Mar 15, 1:45 am, "RobinS" <Rob...@NoSpam.yah.nonewrote:
Have you built the application? And is the function really public?
Robin S.
----------------------------"kiss deez" <kissdzn...@hotmail.comwrote
in message
>news:11**********************@y80g2000hsf.googleg roups.com...
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- Hide quoted text -
- 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

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.

Mar 17 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: TestDriven.NET | last post by:
TestDriven.NET, the FREE one-click unit testing add-in for Visual Studio .NET is now available: http://www.testdriven.net/news.htm TestDriven.NET makes it easy to run unit tests with a single...
0
by: zino | last post by:
in visual studio 2003, what is the shortcut keys for the immediate window. for "Clear All"
6
by: Huy Hoang | last post by:
I remember that in Java you can compile and run each class individually as long as it contains the method "main". However, is this possible in C# as well? I tried it a while ago but it didn't work.
15
by: Enrique | last post by:
Question I am posting this question again (3rd time) because some issues with my no spam alias. Here it is the question: I have not been able to run unit tests for a VSTO (2005) project. I...
1
by: sck10 | last post by:
Hello, I am using Visual Studio 2K5 to develop websites using c#. My question is, where is the immediate window? I went to Debug-Windows, but its not there. Any help with the would be...
18
by: Andrew Wan | last post by:
I have been developing web applications with ASP & Javascript for a long time. I have been using Visual Studio 2003.NET. While VS2003 is okay for intellisense of ASP & Javascript, it's still not...
1
by: Programko | last post by:
Is there a way to stop executing command in Immediate window in Visual Studio.net?
2
by: mo.sparrow | last post by:
Typemock Isolator – A powerful mocking framework for .NET unit testing and Test Driven Development (in Visual Studio). http://www.typemock.com/learn_about_typemock_isolator.html NUnit - A...
0
by: mgfine | last post by:
This question was first posted in the VB forum: We're new to using VB 9 (Visual Studio.Net 2007) and we cannot invoke an immediate command window from an immediate window. Typing >cmd in the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.