Results 1 to 4 of 4

Thread: finding the path?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    millersport, Ohio USA
    Posts
    8

    Post

    I wrote an program that will need to shell out to MsPaint to edit a file. And just to be safe I need to confirm the path to MsPaint. Then open MsPaint with my (.BMP ) open.

  2. #2
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    Open the registry and read the data under the key name:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\MSPAINT.EXE

    The data under (Default) will have the path.

    ------------------
    Tom Young, 14 Year Old
    [email protected]
    ICQ: 15743470
    AIM: TomY10
    PERL, JavaScript and VB Programmer

  3. #3
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    If it is not necessary to have only MsPaint to open the bmp, you could use the Shell function or the ShellExecute API function.

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    millersport, Ohio USA
    Posts
    8

    Post

    not familiar with this, pleas explain?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width