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. C#
  4. Accessing the .Net command prompt

Accessing the .Net command prompt

Scheduled Pinned Locked Moved C#
csharpvisual-studiotutorialquestion
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.
  • S Offline
    S Offline
    Stuggo
    wrote on last edited by
    #1

    Hi all, I would like my application to access the Visual Studio .Net Command Prompt so that i can run a command from my application. I want my application to automatically register a dll by running the regasm command >regasm Example.dll What code would i use to do this ? Thank you ...

    S B 2 Replies Last reply
    0
    • S Stuggo

      Hi all, I would like my application to access the Visual Studio .Net Command Prompt so that i can run a command from my application. I want my application to automatically register a dll by running the regasm command >regasm Example.dll What code would i use to do this ? Thank you ...

      S Offline
      S Offline
      Salil Khedkar
      wrote on last edited by
      #2

      Read on the System.Diagnostics.Process.Start(...) method.

      1 Reply Last reply
      0
      • S Stuggo

        Hi all, I would like my application to access the Visual Studio .Net Command Prompt so that i can run a command from my application. I want my application to automatically register a dll by running the regasm command >regasm Example.dll What code would i use to do this ? Thank you ...

        B Offline
        B Offline
        billb2112
        wrote on last edited by
        #3

        System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = "regasm.exe" p.StartInfo.Arguments = "example.dll" p.Start(); Something like that should work, or come close. Custom Software, Custom Solutions. Yye Software. http://www.yyesoftware.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