|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Getting property settings for controls in the immidiate window in VB20052005 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 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.
"Send To Mail Recipient"
Saving outlook email attachment? ListBox Control Recursion with a Tree View and checkboxes Missing DataGrid GetType question Click-Once Deployment of DLLs Automatically interacting with a search engine... OnPaint vs. using a cached background image crystal report viewer connection |
|||||||||||||||||||||||