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. Mobile Development
  3. Mobile
  4. How to launch pword.exe in .NET 2005 'Smart Device project'

How to launch pword.exe in .NET 2005 'Smart Device project'

Scheduled Pinned Locked Moved Mobile
csharptutorialquestion
2 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.
  • T Offline
    T Offline
    tony_Udz
    wrote on last edited by
    #1

    Hello, I am trying to launch pword.exe using CreateProcess but its failing. I have used following code : - BOOL a = CreateProcessW(L"pword.exe", L"", NULL, NULL, TRUE, 0, NULL, NULL, 0, 0); a = CreateProcessW(L"\\windows\\pword.exe", L"", NULL, NULL, TRUE, 0, NULL, NULL, 0, 0); Can anybody of you tell me why is it failing? Thanks in advance!

    A 1 Reply Last reply
    0
    • T tony_Udz

      Hello, I am trying to launch pword.exe using CreateProcess but its failing. I have used following code : - BOOL a = CreateProcessW(L"pword.exe", L"", NULL, NULL, TRUE, 0, NULL, NULL, 0, 0); a = CreateProcessW(L"\\windows\\pword.exe", L"", NULL, NULL, TRUE, 0, NULL, NULL, 0, 0); Can anybody of you tell me why is it failing? Thanks in advance!

      A Offline
      A Offline
      Arjun Marwaha
      wrote on last edited by
      #2

      Try the following which worked for me: Process myProcess = new Process(); myProcess.StartInfo.FileName = "\\Windows\\pword.exe"; myProcess.StartInfo.Verb = "Open"; myProcess.Start(); Regards, Dave

      Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.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