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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. VB Immediate Window

VB Immediate Window

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiocombusinesshelp
14 Posts 8 Posters 1 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.
  • A Arnd H

    You might be looking for the Command Window (Ctrl+Alt+A), which lets you run commands immediately when in Debug-Pause mode. I don't know whether it has some limitations compared to VB's immediate window, but it still lets you change members and call methods, for example. Just tested, but only in Visual Studio .NET 2002
    Chaque homme de culture a deux patries: la sienne - et la France. (Thomas Jefferson)

    T Offline
    T Offline
    Tom Archer
    wrote on last edited by
    #4

    Arnd H. wrote: but it still lets you change members and call methods, for example. Thanks, but therein lies the problem. I'm not debugging VB code. I just want to open a window and type in some simple vbscript and run it. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

    R 1 Reply Last reply
    0
    • T Tom Archer

      Where is the VB Immediate Window in Visual Studio 2003? I'm documenting some VBScript functions for an AI library and would like to quickly be able to test some examples for the Help file. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

      G Offline
      G Offline
      Giancarlo Aguilera
      wrote on last edited by
      #5

      Can't you use VB 6.0 instead?

      T 1 Reply Last reply
      0
      • G Giancarlo Aguilera

        Can't you use VB 6.0 instead?

        T Offline
        T Offline
        Tom Archer
        wrote on last edited by
        #6

        I could install VB6, but could much more quickly test the vbscript stuff in a web page. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

        1 Reply Last reply
        0
        • T Tom Archer

          Arnd H. wrote: but it still lets you change members and call methods, for example. Thanks, but therein lies the problem. I'm not debugging VB code. I just want to open a window and type in some simple vbscript and run it. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

          R Offline
          R Offline
          Ryan Binns
          wrote on last edited by
          #7

          Tom Archer wrote: I just want to open a window and type in some simple vbscript and run it. Save it to a .vbs file and run it?

          Ryan

          "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

          T 1 Reply Last reply
          0
          • R Ryan Binns

            Tom Archer wrote: I just want to open a window and type in some simple vbscript and run it. Save it to a .vbs file and run it?

            Ryan

            "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

            T Offline
            T Offline
            Tom Archer
            wrote on last edited by
            #8

            That's basically what I ended up doing - saving it to an asp file, copying it to my server and running it. Not as slick as the Immediate Window used to be in terms of iteratively typing in commands, getting feedback, checking vars and so on, but better than nothing. Thanks Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

            S 1 Reply Last reply
            0
            • T Tom Archer

              Where is the VB Immediate Window in Visual Studio 2003? I'm documenting some VBScript functions for an AI library and would like to quickly be able to test some examples for the Help file. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

              J Offline
              J Offline
              Joyprakash Saikia
              wrote on last edited by
              #9

              Execute a VB.NET project with Visual Studio 2003. Now open the Command Window by pressing Ctrl+alt+A. on the Command Window , Type "immed" and press enter switch to Immediate Window.. :) Cheers Joy Joyprakash Saikia

              T 1 Reply Last reply
              0
              • J Joyprakash Saikia

                Execute a VB.NET project with Visual Studio 2003. Now open the Command Window by pressing Ctrl+alt+A. on the Command Window , Type "immed" and press enter switch to Immediate Window.. :) Cheers Joy Joyprakash Saikia

                T Offline
                T Offline
                Tom Archer
                wrote on last edited by
                #10

                Thanks Joy, but they either broke it or changed it. I remember being able to instantiate com objects and the like and now I get errors stating that I can't do that in "design mode" Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

                J 1 Reply Last reply
                0
                • T Tom Archer

                  Thanks Joy, but they either broke it or changed it. I remember being able to instantiate com objects and the like and now I get errors stating that I can't do that in "design mode" Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

                  J Offline
                  J Offline
                  Joyprakash Saikia
                  wrote on last edited by
                  #11

                  If you try to it on design mode , then you are actually debugging VS.NET IDE itself :) .. For example, in "design mode" of VS.NET project ,open Command window and go to immediate window , now type "exit" .. IT WILL EXIT THE IDE.. SO PLEASE SAVE YOUR WORK BEFORE DOING ABOVE MENTIONED TEST.. Joyprakash Saikia MCSD.NET Software Architect Mellon San francisco

                  T 1 Reply Last reply
                  0
                  • J Joyprakash Saikia

                    If you try to it on design mode , then you are actually debugging VS.NET IDE itself :) .. For example, in "design mode" of VS.NET project ,open Command window and go to immediate window , now type "exit" .. IT WILL EXIT THE IDE.. SO PLEASE SAVE YOUR WORK BEFORE DOING ABOVE MENTIONED TEST.. Joyprakash Saikia MCSD.NET Software Architect Mellon San francisco

                    T Offline
                    T Offline
                    Tom Archer
                    wrote on last edited by
                    #12

                    As an example, how would I create an object then? Such as: Set Brain = CreateObject("Asst.Brain") I know nothign about VB projects or the like. I'm simply wanting an environment to quickly test some simple VBScript. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

                    D 1 Reply Last reply
                    0
                    • T Tom Archer

                      As an example, how would I create an object then? Such as: Set Brain = CreateObject("Asst.Brain") I know nothign about VB projects or the like. I'm simply wanting an environment to quickly test some simple VBScript. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

                      D Offline
                      D Offline
                      Daniel Turini
                      wrote on last edited by
                      #13

                      Tom Archer wrote: I know nothign about VB projects or the like. I'm simply wanting an environment to quickly test some simple VBScript. Simply create a .vbs file on your desktop with your favorite text editor (e.g., Notepad) and double-click it to run. I see dead pixels Yes, even I am blogging now!

                      1 Reply Last reply
                      0
                      • T Tom Archer

                        That's basically what I ended up doing - saving it to an asp file, copying it to my server and running it. Not as slick as the Immediate Window used to be in terms of iteratively typing in commands, getting feedback, checking vars and so on, but better than nothing. Thanks Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

                        S Offline
                        S Offline
                        Stuart Dootson
                        wrote on last edited by
                        #14

                        Tom - it's probably easier running it using cscript.exe on the client-side.... Run cscript //h:cscript, add .VBS to your pathext environment variable and you can run VBS scripts from the command prompt. Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'

                        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