[Gambas-user] how to start a file?

Robert JUHASZ robert1juhasz at ...626...
Sat Sep 26 03:20:54 CEST 2009


Hello,

I'm very happy with this solution and was perfect as long as I used my
program myself.
Now I wanna put it in a common folder on the server and for storing the
files I'll use a folder. To avoid the direct access of this folder, I'll
make it protected.

The question now is how can I handle this kind of folder from Gambas. I
don't wish to deal with the rights of teh folder. The idea is to give a read
and write password to the folder and use the password from Gambas according
to the user rights in Gambas.

- the files will be displayed by a file view control. Is there any place of
this control to enter (from code) the reading / writing password of the
folder used by the control?

- or, when using the Desktop.Open function, can I specify if I open the file
for read only?

Thanks, Robi

2009/9/16 Robert JUHASZ <robert1juhasz at ...626...>

> .. and it works perfectly, thanks for all of you who helped!
>
> Robi
>
> 2009/9/15 Ricardo Díaz Martín <oceanosoftlapalma at ...626...>
>
> maybe the same... 8-)
>>
>> 2009/9/15 Benoît Minisini <gambas at ...1...>
>>
>> > > You can use this (you need to have installed in your system xdg-open
>> > >  command - out of the box in ubuntu):
>> > >
>> > > EXEC ["xdg-open", PathOfTheFileYouCanOpen]
>> > >
>> > > "xdg-open" runs like in windows "start"
>> > >
>> > > Regards,
>> > > Ricardo Díaz
>> > >
>> >
>> > Guess what Desktop.Open() does...
>> >
>> > --
>> > Benoît Minisini
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Come build with us! The BlackBerry® Developer Conference in SF, CA
>> > is the only developer event you need to attend this year. Jumpstart your
>> > developing skills, take BlackBerry mobile applications to market and
>> stay
>> > ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> > http://p.sf.net/sfu/devconf
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>



More information about the User mailing list