473,394 Members | 2,020 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,394 software developers and data experts.

Getting property settings for controls in the immidiate window in VB2005

Joe
I am trying to get information on controls on my multi form Visual Basic
2005 project.
Any time I type such things as "? frmMyForm1.visible" in the immediate
window after I pause the program, I get the error "Unable to evaluate
expression.". This happens with any of the other controls on any of the
forms.
What am I doing wrong, and how do I go about correcting the problem. In VB6
I used to be able to get information on any control on any form by simply
pointing to the form and the control by typing "? MyForm1.visible" and get a
True or False reply.
In VB2005 typing things like "? MyForm2.cmdButton1.Text" always gives me the
"Unable to evaluate
expression." error. I read some place that forms and controls on form need
to be declared with a Dim statement. How does one go about declaring Forms
and Controls such as Text boxes and buttons, and where? Do they have to be
declared in a class module? Can someone point me to a few examples please?

Any help will be greatly appreciated.
Thanks


Apr 25 '06 #1
1 1079
If you're using VS2005, just hover the mouse of the the object in
question and one of the debugging visualizers will appear that allows
you to see all the properties of the object. You can also set up a
watch.

Apr 25 '06 #2

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

Similar topics

0
by: Jennifer Link | last post by:
I am using the AutomaticDelay property to set up display properties of a tooltip I have added to a button on a form. I am using the default form created with a Windows Application project. I have...
11
by: Tom Szabo | last post by:
Hi, In order to preserve some settings and avoid cookies I have thought of the following trick: I simply create an array as the property of the window: window.aList = new Array(); and...
2
by: Colin McGuigan | last post by:
This is a translation of an ASP page to ASP.Net. First, the background: The goal is to have a grid of different settings for the application -- think something along the lines of the Property...
15
by: Mark Goldin | last post by:
I have main aspx page with a number of user controls. How can I create a global property that will be visible in every user control? Thanks
7
by: MrFez | last post by:
Through some investigation it appears that selecting "Every visit to the page" for the IE caching setting "Check for new version of stored pages" causes the window.opener property of child windows...
4
by: Martin the Third | last post by:
Okay, I have a program that has many optional windows. Its not mdi or anything, it just has alot of windows that you can choose to have that would add extra features to the program. Now, I need...
6
by: WT | last post by:
Hello, Using VS2005. I have an assembly library that can be called from a Web site asp.net application or from a winform application. From this library I need to retrieve a path using simply a...
1
by: shapper | last post by:
Hello, I have a class where I created various controls. One of the controls have a property which is a generic list of WebControl. Then in web site page I have something like: Dim a As New...
1
by: Jeffrey Christiansen | last post by:
I wanted to add a toggle button to a VB2005 form to be used for a simple Windows Application (i.e. compiled to a "*.exe"), so I added the ActiveX Microsoft Forms Object toggle button, however I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.