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. Start method

Start method

Scheduled Pinned Locked Moved C#
5 Posts 2 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
    messages
    wrote on last edited by
    #1

    Hi everyone I gonna use of this this code but it does'nt work SecureString securePwd = new SecureString(); Process.Start("Notepad.exe", "TEST", securePwd, "WORKGROUP"); I fill this code with my username(TEST) and I dont use of password in my computer for the last parameter Im using of WORKGROUP for domain but it donest work it shows "Logon failure: unknown user name or bad password"

    S 1 Reply Last reply
    0
    • M messages

      Hi everyone I gonna use of this this code but it does'nt work SecureString securePwd = new SecureString(); Process.Start("Notepad.exe", "TEST", securePwd, "WORKGROUP"); I fill this code with my username(TEST) and I dont use of password in my computer for the last parameter Im using of WORKGROUP for domain but it donest work it shows "Logon failure: unknown user name or bad password"

      S Offline
      S Offline
      Simon_Whale
      wrote on last edited by
      #2

      messages wrote:

      "Logon failure: unknown user name or bad password"

      I would check to make sure the username or password is correct for the work group

      Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

      M 1 Reply Last reply
      0
      • S Simon_Whale

        messages wrote:

        "Logon failure: unknown user name or bad password"

        I would check to make sure the username or password is correct for the work group

        Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

        M Offline
        M Offline
        messages
        wrote on last edited by
        #3

        Hi Did you check it?

        S 1 Reply Last reply
        0
        • M messages

          Hi Did you check it?

          S Offline
          S Offline
          Simon_Whale
          wrote on last edited by
          #4

          have you tried to run Notepad like this

          process.start("Notepad.exe");

          does that work?

          Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

          M 1 Reply Last reply
          0
          • S Simon_Whale

            have you tried to run Notepad like this

            process.start("Notepad.exe");

            does that work?

            Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

            M Offline
            M Offline
            messages
            wrote on last edited by
            #5

            yes it works and also it works like this process.start("Notepad.exe","c:\\text.txt");

            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