Announcement

Collapse
No announcement yet.

File.GetDefaultViewer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • File.GetDefaultViewer

    Can I use File.GetDefaultViewer with more than one .ext at a time? I have tried

    .pps .ppt

    but it gives an error - which makes me think yu can't, unless there is another way to write this.
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  • #2
    Re: File.GetDefaultViewer

    Wouldn't it be the same for those files? Can you stick an OR between them to try and find it?
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

    Comment


    • #3
      Re: File.GetDefaultViewer

      No. It only searches for one extension at a time. Just use several searches and combine the results as you see fit.

      Comment


      • #4
        Re: File.GetDefaultViewer

        Thanks, Brett [img]/ubbthreads/images/icons/smile.gif[/img]
        -
        = Derek
        ["All glory comes from daring to begin" - fortune cookie]

        Comment

        Working...
        X