In article <do-B6015A.20310205032008@[EMAIL PROTECTED]
>,
Mac Dude <do@[EMAIL PROTECTED]
> wrote:
a month later....
ya mon, the application 'AcceptFileTypes' property comes later than
5.2.4 only ting i can suggest is to have an app window open on desktop
with a visible rectcontrol, like an editfield, to drop and process the
text file instead of the app icon itself.
-bubba
> Oh-oh... I understand what you are saying, No One. However, Is the
> AcceptFileTypes property a feature of a later RB version? From your
> description
> of where it is I gather you may be using RB 200x. In my version (5.2.4)
I
> cannot
> find any such property & the online help comes up empty when searching
for
> such
> a name.
>
> I do have the OpenDo***ent event code ("fontoholic" is of course correct
in
> stating that I need it). It all works as long as the creator code of the
text
> file is the same as that of the app. But I really would like to be able
to
> drop
> text files from different origins. I also would not like my app to open
> *every*
> saved email just because I double clicked the it (which is what I get if
I
> set
> the opening application in the GetInfo window to my app).
>
> So, anyone out there with RB 5.2.4 having seen an AcceptFileProperty??
>
> Anyway, your hint was helpful.
>
> Mac Dude.
>
> In article <C3F35A90.51%noone@[EMAIL PROTECTED]
>, No One <noone@[EMAIL PROTECTED]
>
wrote:
>
> > Creating the TEXT fileType as Dale described in the earlier reply is
the
> > first step.
> >
> > Then you need to add the file type to the App's AcceptFileTypes
property.
> > Select the App class in the Project tab. AcceptFileType is near the
bottom
> > of the property list at the right side of the window.
> >
> > Finally you need to add code to the OpenDo***ent event handler in the
App
> > class as fontoholic mentioned.
> >


|