Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Immediate window in VS.NET ?

Immediate window in VS.NET ?

Scheduled Pinned Locked Moved Visual Basic
csharpvisual-studioquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tom Archer
    wrote on last edited by
    #1

    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#

    A K 2 Replies Last reply
    0
    • T Tom Archer

      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#

      A Offline
      A Offline
      AndyG
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • T Tom Archer

        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#

        K Offline
        K Offline
        Klaus Probst
        wrote on last edited by
        #3

        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]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups