Re: [Gambas-user] File dialog question ?can one multi-select

2009-08-10 Thread werner 007
Maybe i can help you with a example how i use it in a Project. I use TRY because the user can toggle between Multi- and Single- select TRY fcRoot = File.Dir(fcDialog.SelectedPaths[0]) IF error = 0 then FOR i = 0 TO fcDialog.SelectedPaths.Count - 1 ' loop trough filelist doSome

Re: [Gambas-user] Some file/use or progress bar questions.

2009-02-03 Thread werner 007
Hi Richard Maybe you put the file in a array with split() if it makes sense for further work. Dont know how slow it is on such big files, but i made no bad experience with around 1 lines. Regards, Werner(007) -- View this message in context: http://www.nabble.com/Some-file-use-or-progress

Re: [Gambas-user] Help with converting text in field to number

2009-02-02 Thread werner 007
ults > Where value RegExp '[0-1]' > Group by reference_range > Just as idea. Regards, Werner(007) -- View this message in context: http://www.nabble.com/Help-with-converting-text-in-field-to-number-tp21675635p21796806.htm

Re: [Gambas-user] Drag'n'drop and url decode

2009-02-02 Thread werner 007
thread is here: http://www.nabble.com/URL-encoding-%22-20%22-td21216641.html#a21216641 Regards, Werner(007) Actually my decode looks so, it is not a pick of the bunch but it works: > PUBLIC SUB grdView01_Drop() > urldecode(Drag.Data) > END > PUBLIC SUB grdView02_Drop() > urlde

Re: [Gambas-user] Problem with MySQL LONGTEXT field type

2009-01-02 Thread werner 007
Ciao Luigi I believe it comes from permissions. Try this: Give all permissions to user Test for schema mysql and schema Test. That should work. Regards, Werner >From the mySQL Help: There are two sets of permissions for stored functions, 1. permissions to create and manage stored function

Re: [Gambas-user] URL encoding "%20"

2008-12-31 Thread werner 007
@Rob: Yes you are right. @Benoit: Thanks @Doriano: http://www.blooberry.com/indexdot/html/topics/urlencoding.htm @Nando: All the samples does not only %20 ;) Wish a good New Year to all Regards, Werner(007) -- View this message in context: http://www.nabble.com/URL-encoding-%22-20%22

Re: [Gambas-user] URL encoding "%20"

2008-12-30 Thread werner 007
Rob Kudla wrote: > > On Tuesday 30 December 2008 08:03, werner 007 wrote: >> Ok, i got the answer by my self. >> The chars of not printable and non-ascii are represented as Hex. >> To convert it back: > > That'll work, but it'll also run Replace() 16

Re: [Gambas-user] URL encoding "%20"

2008-12-30 Thread werner 007
werner 007 wrote: > > Does anybody know a easy way to convert url encoded strings (like "%20") > to normal characters? > > Btw: Nice would be Conv$("%20", url, utf8). > > > Regards, werner(007) > Ok, i got the answer by my self. The chars of

[Gambas-user] URL encoding "%20"

2008-12-30 Thread werner 007
Does anybody know a easy way to convert url encoded strings (like "%20") to normal characters? Btw: Nice would be Conv$("%20", url, utf8). Regards, werner(007) -- View this message in context: http://www.nabble.com/URL-encoding-%22-20%22-tp21216641p21216641.html Sent

Re: [Gambas-user] Gambas Apps Dependencies

2008-08-31 Thread werner 007
t is not *nix like to do that. When you check on start up, give the message that the package is missing and the user has to install it by self, and disable the associated feature. Or but the check at beginning of use of the feature, so the user needs not to re-open the app. Regar

Re: [Gambas-user] Edit a text file?

2008-08-26 Thread werner 007
fileID Wrote this out of my head, so you would need to correct many things. Meant only as idea. Anyway i would prefer to use the file stream object and read/write direct to it. Regards, Werner(007) -- View this message in context: http://www.nabble.com/Edit-a-text-file--tp19162815p19170893.h

Re: [Gambas-user] Change list element from ReadOnly ComboBox

2008-08-25 Thread werner 007
Not shure, but combox has not a value but a text property. try: combo2.index=combo2.find(combo1.text), that should do the job with text-values. Werner(007) -- View this message in context: http://www.nabble.com/Change-list-element-from-ReadOnly-ComboBox-tp19155677p19156036.html Sent from

Re: [Gambas-user] execute shell command then exit

2008-08-23 Thread werner 007
I did a little research on how to separate a process and found: YourCommand & disown or nohub YourCommand & (& is for bg) Regards, Werner(007) -- View this message in context: http://www.nabble.com/execute-shell-command-then-exit-tp19013217p19123997.html Sent from the gambas-

Re: [Gambas-user] Help with understanding how not to hard-code paths

2008-08-23 Thread werner 007
Gambas has the two objects "system" and "user", which contain also path information. Use these often! For example, "user.home" contains the home-directory, add to this the string "./YourApplicationName" as path to the directory of your images. Regards, Werner -- View this message in context: h

Re: [Gambas-user] execute shell command then exit

2008-08-23 Thread werner 007
With the shell you should have the possibility to separate a calling process from parent, or to run as a background process. I think a usable command could be fork, or call the process with a closing "&". This is only meant as guidance, because whether this is quite true ...? Regar

[Gambas-user] Failing when create DEB installation package

2008-08-23 Thread werner 007
Hi at all I have Gambas 2.7. When i will create a deb-package, it fails with success message. But Mandriva, Suse and Fedora work well. Can anybody give me a hint how to fix this? Regards Werner (007) The output from the creation-window is: Paket für Debian erstellen. Making build directory