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. Loading Command prompt from vb6

Loading Command prompt from vb6

Scheduled Pinned Locked Moved Visual Basic
tutorial
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.
  • M Offline
    M Offline
    miftha
    wrote on last edited by
    #1

    I want to load command prompt from VB 6.0 for a click event of a button. can this be done if it can be how to do it. A. Miftha Idroos B.Sc. Engineering, AMBCS, AMIE(SL) Hatton National Bank, Sri Lanka

    P D 2 Replies Last reply
    0
    • M miftha

      I want to load command prompt from VB 6.0 for a click event of a button. can this be done if it can be how to do it. A. Miftha Idroos B.Sc. Engineering, AMBCS, AMIE(SL) Hatton National Bank, Sri Lanka

      P Offline
      P Offline
      PremalathaP
      wrote on last edited by
      #2

      Hi Miftha, Here is the code: Private Sub Command1_Click() Shell "command.com" End Sub Regards, Premalatha

      1 Reply Last reply
      0
      • M miftha

        I want to load command prompt from VB 6.0 for a click event of a button. can this be done if it can be how to do it. A. Miftha Idroos B.Sc. Engineering, AMBCS, AMIE(SL) Hatton National Bank, Sri Lanka

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        On Windows NT Kernels (NT, 2000, XP, 2003, Vista, ...) it's proper to CMD, not Command.com. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -- modified at 10:31 Monday 20th February, 2006

        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