Results 1 to 7 of 7

Thread: Open a file as read only

Threaded View

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Resolved Open a file as read only

    Using the following :
    System.Diagnostics.Process.Start("YourFile.txt");

    I can open a file with whatever application is suitable for that file type if supported but what I want to know is.

    Can i open that file in read only mode ?
    I would prefer not to make a reference to the various COM objects for office applications.
    Last edited by venerable bede; Aug 7th, 2007 at 06:50 AM.

    Parksie

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