realbasic-nug
[Top] [All Lists]

Re: How to open a powerpoint-file in REALbasic?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: How to open a powerpoint-file in REALbasic?
From: Will Leshner <will at softbook dot com>
Date: Wed, 27 Feb 2002 13:39:01 -0800
As a filter to GetOpenFolderItem() it doesn't really mean or do anything. You can name your file types anything you want in the dialog to add file types. There are a bunch of preset ones that you access with the popup and they have names that are the same as MIME types. So, for example, you have in that list things like "text/plain" and "image/jpeg". These are standard MIME types and they would mean something to a web browser or a mail client. In this case they are more explanatory than anything else.

On Tuesday, February 26, 2002, at 09:39  AM, jeb eddy wrote:

Isn' that a little overkill? Wouldn't

dim f as FolderItem

f = GetOpenFolderItem("application/powerpoint")
if f<>nil then
   f.Launch
end if

suffice?

Cheers,
   Frank+++

I have never understood what the "application" part of the parameter string means or does. Could someone point me to something in the on-line docs, or post a brief explanation?

thx,

jeb eddy

---
Subscribe to the digest: <mailto:realbasic-nug-
digest at lists dot realsoftware dot com>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>



<Prev in Thread] Current Thread [Next in Thread>