|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Immediate windowIn VB6 I used to use Immediate Window to get or change values of variables.
It is very convenient while debugging. I used drag and drop operation to paste the variable name into Immediate Window. In VB 2005 this approach either doesn't work or I need to do it some different way. Of course VB 2005 environment allows to see values right in the code window, but it's true only for not too long strings. With a long string I still need Immediate Window. How does it work now? Or there is no more drag and drop for this window? Thank you Al vul wrote:
> In VB6 I used to use Immediate Window to get or change values of variables. Add the variable to the watch window. Then you can change its value> It is very convenient while debugging. I used drag and drop operation to > paste the variable name into Immediate Window. In VB 2005 this approach > either doesn't work or I need to do it some different way. Of course VB 2005 > environment allows to see values right in the code window, but it's true > only for not too long strings. With a long string I still need Immediate > Window. > How does it work now? > Or there is no more drag and drop for this window? > > Thank you > Al during debugging. Thank you Chris.
I know that way, but still want to use what I like in VB6. Watch Window doesn't replace Immediate Window. For instance I'm walking through my code and with Immediate Window (in VB6) I can quickly drag and drop any variable I suspect. I do not need to remember them after I saw their values, or changed the value. With Watch I need to add variables, delete them etc. My question is just if it's possible to use Immediate Window the way it was used in VB6 (drag/drop). It allows to paste the variable into it, but no drag/drop. Al Show quoteHide quote "Chris Dunaway" <dunaw***@gmail.com> wrote in message news:1158086398.763105.155190@d34g2000cwd.googlegroups.com... > > vul wrote: >> In VB6 I used to use Immediate Window to get or change values of >> variables. >> It is very convenient while debugging. I used drag and drop operation to >> paste the variable name into Immediate Window. In VB 2005 this approach >> either doesn't work or I need to do it some different way. Of course VB >> 2005 >> environment allows to see values right in the code window, but it's true >> only for not too long strings. With a long string I still need Immediate >> Window. >> How does it work now? >> Or there is no more drag and drop for this window? >> >> Thank you >> Al > > Add the variable to the watch window. Then you can change its value > during debugging. > vul wrote:
> With a long string I still need Immediate Window. I know it's not quite what you're asking for, but if you hover over a string variable so that the value tooltip appears, and then click the little magnifying glass icon next to the value, it'll open a pop-up window with the full content of the string in it. Personally I find this substantially more useful then printing the value into the immediate window in most cases. If you click the little drop-down arrow next to the magnifying glass, you can choose to view the string as HTML or XML too. -- (O)enone Thank you Oenone.
Either it requires some changes in settings or some other things, but after I hover over a string, I get tool tip only, no magnifying glass, no little drop down error. Toll tip shows the string if it's short in length, otherwise it appears truncated. Just due to this limitation I was looking for an approach to use drag/drop Al Show quoteHide quote "Oenone" <oen***@nowhere.com> wrote in message news:fSENg.8549$s4.4485@newsfe3-win.ntli.net... > vul wrote: >> With a long string I still need Immediate Window. > > I know it's not quite what you're asking for, but if you hover over a > string variable so that the value tooltip appears, and then click the > little magnifying glass icon next to the value, it'll open a pop-up window > with the full content of the string in it. Personally I find this > substantially more useful then printing the value into the immediate > window in most cases. > > If you click the little drop-down arrow next to the magnifying glass, you > can choose to view the string as HTML or XML too. > > -- > > (O)enone > Am I just being a bit presumptious here, or have you all missed
something?!?! I've got an Immediate Window in VS 2005 that I've been using for months!! Admittedly, it was a challenge to remember how I opened it... since it's not on the default menus. Open the Command Window (View menu --> Other Windows --> Command Window), then just type Immed and press enter in that window. The Immediate Window pops up - or at least it does on my work machine, my home machine and my laptop :D All running Professional edition - that might make a difference. _________________________________ The Grim Reaper Show quoteHide quote "vul" <a**@optonline.net> wrote in message news:%23xCQlip1GHA.1568@TK2MSFTNGP03.phx.gbl... > In VB6 I used to use Immediate Window to get or change values of > variables. It is very convenient while debugging. I used drag and drop > operation to paste the variable name into Immediate Window. In VB 2005 > this approach either doesn't work or I need to do it some different way. > Of course VB 2005 environment allows to see values right in the code > window, but it's true only for not too long strings. With a long string I > still need Immediate Window. > How does it work now? > Or there is no more drag and drop for this window? > > Thank you > Al >
(newbie) - reading data from a file - in VB 2005 EE
Access the type from a shared method Generating SQL on the fly? udpclient receive port# ? GUI for Charts Web login problem Proper Way to add tbxXXX.Text to URL Greyed out controls HTML Data generated by Server.Controls AxMSFlexGrid is ambiguous in the namespace AxMSFlexGridLib |
|||||||||||||||||||||||