Results 1 to 6 of 6

Thread: How do I open a file using it's associated program in IE?

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2001
    Posts
    37

    Question How do I open a file using it's associated program in IE?

    Is there a way to open a file in IE using it's associated program .... for e.g. ... I can open a Word document easily in IE but how do I open other types of files?


  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Unfortunately, you don't have much control over this. IE does this automatically. Anything kind of document that can be viewed in a container like the office docs, acrobat files, etc.. will be displayed in IE automatically if the user has the application installed.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2001
    Posts
    37
    Is there a Shell equivalent in VBScript as in VB?



  4. #4
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    The only way is to add a reference to the FileSystemObject and use that to open a program

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  5. #5

    Thread Starter
    Member
    Join Date
    Apr 2001
    Posts
    37
    What is the syntax for that?


  6. #6
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Is there a Shell equivalent in VBScript as in VB?
    There is, the "Shell" statement is part of vbscript, but it won't work through IE as that would be a huge security hole.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

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