Immediate window in VS.NET ?
-
I used to be able to do things like the following in the VB6 immediate window: set doc = CreateObject("Microsoft.XMLDOM") Does anyone know how I can do this VS.NET now that all the development environments have been combined? Cheers, Tom Archer Author, Inside C#
-
I used to be able to do things like the following in the VB6 immediate window: set doc = CreateObject("Microsoft.XMLDOM") Does anyone know how I can do this VS.NET now that all the development environments have been combined? Cheers, Tom Archer Author, Inside C#
Although I haven't tried setting a variable to an instance of a COM object, this seems to work (I've tried an Object type and set it to 1 and "asdf" successfully): For some strange reason I'm thinking you can find your way to the command window so I'll skip that part ;P In the command window type "immed" to switch to immediate mode (type ">cmd" to switch back to command mode). Once you're in immediate mode you can manipulate variables like you used to in VB6. This also seems to work in C#, but for some reason you have to set the variable twice in the command window for the assignment to stick.... Andy Gaskell, MCSD
-
I used to be able to do things like the following in the VB6 immediate window: set doc = CreateObject("Microsoft.XMLDOM") Does anyone know how I can do this VS.NET now that all the development environments have been combined? Cheers, Tom Archer Author, Inside C#
Uh, no. The debugger is the same as C#'s, and doing something like that would imply edit-and-continue, which is not supported. ___________ Klaus [www.vbbox.com]