Re: [Gambas-user] how to start a file?

2009-09-30 Thread Robert JUHASZ
Yes, it works perfectly with mySQL. Robi 2009/9/29 Robert JUHASZ robert1juh...@gmail.com Can it be an other option to load files to the mysql database as BLOB? If yes can someone tell me the command to upload and download the file from/to a certain location? This would solve my problem with

Re: [Gambas-user] how to start a file?

2009-09-29 Thread Robert JUHASZ
Can it be an other option to load files to the mysql database as BLOB? If yes can someone tell me the command to upload and download the file from/to a certain location? This would solve my problem with the rights. Thx, Robi

Re: [Gambas-user] how to start a file?

2009-09-28 Thread Robert JUHASZ
Hi, Probably I'll try to do it directly with the files as you told. About the project: it is a small project follower with different users. And I only want to make the files accesible for those who participate in the project. So it isn't possible to define on the system level. The best could have

Re: [Gambas-user] how to start a file?

2009-09-28 Thread Benoît Minisini
Hi, Probably I'll try to do it directly with the files as you told. About the project: it is a small project follower with different users. And I only want to make the files accesible for those who participate in the project. So it isn't possible to define on the system level. The best

Re: [Gambas-user] how to start a file?

2009-09-28 Thread Doriano Blengino
Benoît Minisini ha scritto: Hi, Probably I'll try to do it directly with the files as you told. About the project: it is a small project follower with different users. And I only want to make the files accesible for those who participate in the project. So it isn't possible to define on the

Re: [Gambas-user] how to start a file?

2009-09-28 Thread Benoît Minisini
Benoît Minisini ha scritto: Hi, Probably I'll try to do it directly with the files as you told. About the project: it is a small project follower with different users. And I only want to make the files accesible for those who participate in the project. So it isn't possible to define

Re: [Gambas-user] how to start a file?

2009-09-27 Thread Doriano Blengino
Robert JUHASZ ha scritto: 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

Re: [Gambas-user] how to start a file?

2009-09-25 Thread Robert JUHASZ
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

Re: [Gambas-user] how to start a file?

2009-09-15 Thread Ricardo Díaz Martín
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 2009/9/15 Robert JUHASZ robert1juh...@gmail.com I just read the answers in a reverse

Re: [Gambas-user] how to start a file?

2009-09-15 Thread Benoît Minisini
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

Re: [Gambas-user] how to start a file?

2009-09-15 Thread Ricardo Díaz Martín
maybe the same... 8-) 2009/9/15 Benoît Minisini gam...@users.sourceforge.net 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

Re: [Gambas-user] how to start a file?

2009-09-15 Thread Robert JUHASZ
.. and it works perfectly, thanks for all of you who helped! Robi 2009/9/15 Ricardo Díaz Martín oceanosoftlapa...@gmail.com maybe the same... 8-) 2009/9/15 Benoît Minisini gam...@users.sourceforge.net You can use this (you need to have installed in your system xdg-open command - out

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Jussi Lahtinen
I'm not sure what you mean, but this code creates file. Dim hFile as File Dim sString as String = Something to write. hFile = Open testfile.txt For Create Write #hFile, sString Close #hFile More from here: http://gambasdoc.org/help/lang/open http://gambasdoc.org/help/cat/stream Or if you mean

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Benoît Minisini
Hi Dimitris, Thanks for your answer. I'm not sure if this is exactly what I want but I'll check. I try to tell more concretly my need: I wanna make a small project follower application for my colleagues where they can follow some actions and attach files. For instance a pdf file with the

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Robert JUHASZ
Hi Dimitris, Thanks for your answer. I'm not sure if this is exactly what I want but I'll check. I try to tell more concretly my need: I wanna make a small project follower application for my colleagues where they can follow some actions and attach files. For instance a pdf file with the customer

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Dimitris Anogiatis
Hey Robi, What I described above is a way to store information in a configuration file. what you need is different Files are going to be attached where? Where is the pdf going to be stored? in the same computer where the project is running? or in a website? To open a file with the default

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Robert JUHASZ
Hi, I mean to let the user to attach a file in run time (I save the link) and let him run the file. Just I don't know how open that file using the link (not for my gambas application but just for the user with the default program of the attached file). In VBA I used ShellExecute for running

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Robert JUHASZ
I just read the answers in a reverse order... I believe that the Desktop.Open is exactly what I need. Many thanks! I'll run the program on a server and I let the user to decide if he saves only the link or attach the file - in this case I'll copy the referred file to a dedicated folder on the

[Gambas-user] how to start a file?

2009-09-13 Thread yuhej
Hello, I just start with Gambas (used VB before) and hopefully I found a place where I can get some answers. At this moment I wish to add an option of attaching files in my application (by saving the path) and to open them later. Can someone tell me how can I start a file from Gambas? For

Re: [Gambas-user] how to start a file?

2009-09-13 Thread Dimitris Anogiatis
Hey Robi, one of the options is to use the gb.settings library. while you're on the IDE press CTRL and P then click on the Componets tab, find gb.settings and click on the box on the left side of the selection then press Ok now in your code you need to use this on top of your code (ie put this