473,785 Members | 2,994 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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(ByVa l 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 2017
Have you built the application? And is the function really public?

Robin S.
----------------------------
"kiss deez" <ki********@hot mail.comwrote in message
news:11******** **************@ y80g2000hsf.goo glegroups.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(ByVa l 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...@hot mail.comwrote in message

news:11******** **************@ y80g2000hsf.goo glegroups.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(ByVa l 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********@hot mail.comwrote in message
news:11******** ************@y6 6g2000hsf.googl egroups.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...@hot mail.comwrote
in message

news:11******* *************** @y80g2000hsf.go oglegroups.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(ByVa l 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...@hot mail.comwrote in message

news:11******** ************@y6 6g2000hsf.googl egroups.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...@hot mail.comwrote
in message
>news:11******* *************** @y80g2000hsf.go oglegroups.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(ByVa l 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
1164
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 click, anywhere in your Visual Studio .NET solutions. It supports ALL versions of Visual Studio .NET - meaning you don't have to worry about compatibility issues and fully integrates with all major unit testing frameworks including NUnit, MbUnit...
0
1043
by: zino | last post by:
in visual studio 2003, what is the shortcut keys for the immediate window. for "Clear All"
6
1597
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
6962
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 have an Excel project and a unit test project in the same solution. I have not found the way to initialize the runtimecallback as required by the code generated
1
967
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 appreciated. Thanks, sck10
18
2400
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 that great. One of the cons of ASP & Javascript is that they're both interpreted, which means one has twice the amount of work to do interms of syntax checking & semantic/runtime checking. Another bad thing is that ASP & Javascript doesn't have...
1
1421
by: Programko | last post by:
Is there a way to stop executing command in Immediate window in Visual Studio.net?
2
1862
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 unit testing framework development software that is open source written in C# (for Visual Studio). TestDriven.NET - .NET Unit Testing software development tool / developer tool (add-in) for Visual Studio .NET www.testdriven.net/
0
2249
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 immediate window does bring up a command window but we're looking for the immediate command window that we have used in VB 7. Thanks.
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10330
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8976
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3654
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2880
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.