Re: [Gambas-user] Key.Enter and Key.Return

2014-02-13 Thread Rolf Schmidt
Hi Bruce: > What is the difference here? > > Every keyboard I have has an "Enter" key which apparently is a > Key.Return, so what is Key.Enter? Does it depend on some particular > keyboard? > One is the key right near the character keys and the other is the (enter) key at the number pad Hope tha

Re: [Gambas-user] Empty PDF problem - maybe Cairo too slow?

2013-08-17 Thread Rolf Schmidt
Hi Rolf-Werner > When the whole thing runs from cron, it will deliver 0 Byte PDFs, but > the originals on the system are fine (the copies remain in the > directory). The mailing system does not see any error. Problems with cron usually result from missing pathes. Cron does not starts a shell wi

Re: [Gambas-user] Release of Gambas 3.4

2013-02-15 Thread Rolf Schmidt
Hi Benoît > This new release fixes about 240 bugs and adds about 270 new features. > > * Better subversion support in the IDE. is there a description for the use of subversion from within the IDE? I didn't find any only for the use of subversion for extracting and compiling the development vers

[Gambas-user] Problem with BLOB with postgresql 9.1

2012-10-11 Thread Rolf Schmidt
Hi, I try to build a program which saves a lot of binary data in a postgresql database. All the data will be written and quoted correctly by the db.update method of gambas. Of course I can retriev the data, but there is no function, which decode the qouted data. So is there a (hidden?) functio

Re: [Gambas-user] Another error with rev. 5177

2012-09-21 Thread Rolf Schmidt
Hi Benoît, > Can you try with revision #5181? It should fix the gb.desktop > compilation problem. Yes everything seems to be fine, even the graphics in the top left corner now looks nice. Many, many thanks Rolf -- Got

[Gambas-user] Another error with rev. 5177

2012-09-20 Thread Rolf Schmidt
Hi Benoit, when I try to open a project from the left panel of the IDE, I get the error "this application has raised an unexpected error and must abort. [11] Unknown symbol 'Path' in class 'Desktop'. CBookmarkList.Load.48" This error seams also be new. Fine regards Rolf signature.asc Descrip

Re: [Gambas-user] Using Gambas for Apache cgi

2012-09-20 Thread Rolf Schmidt
Hi Rolf-Werner, >>> But Apache has some problem with it. I configured the cgi-bin as above >>> (actually not me, but it's the default). Apache looks for it and >>> seemingly it DOES find it but it complaints with a 500 Internal Error >>> page and in /var/log/apache2/suexec.log we can read somethin

Re: [Gambas-user] Using Gambas for Apache cgi

2012-09-18 Thread Rolf Schmidt
Hi Rolf-Werner > But Apache has some problem with it. I configured the cgi-bin as above > (actually not me, but it's the default). Apache looks for it and > seemingly it DOES find it but it complaints with a 500 Internal Error > page and in /var/log/apache2/suexec.log we can read something about >

Re: [Gambas-user] Problem with rev. 5144

2012-09-10 Thread Rolf Schmidt
Hi Benoît > It is better with revision #5146? I checked out newest Version (5151) this morning and the problem has gone. Thank you Rolf -- Live Security Virtual Conference Exclusive live event will cover all the ways to

Re: [Gambas-user] sqlite database inside an executable

2012-05-30 Thread Rolf Schmidt
Hi Bruce, what about to cat the database-file at the end of an executable and strip it later (perhaps with cut) and store it, where you like. Another methode could be, study the C-code of the sqlite-libs and see, if you can open the database with an offset - i.e. the data will begin at the end

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Rolf Schmidt
Hi Willy > If Exist(Use.Home& "/Desktop) then > sPath = User.Home& "/Desktop/SystemInfo.txt" > Endif > > Now it turns out that this only works on systems with English language. > Other systems translate "Desktop" into local language!! > Like for Dutch it will be "Bureaublad" instead of "Desk

Re: [Gambas-user] Start a form minized

2012-02-08 Thread Rolf Schmidt
Hi M. Cs.: > Try to add at the > Public Sub Form_Open() > Me.Minimized=True > . > End Because this didn't work, I asked. Any other ideas? Thanks Rolf signature.asc Description: This is a digitally signed message part.

[Gambas-user] Start a form minized

2012-02-07 Thread Rolf Schmidt
Hi everybody out there is it possible to start a form minimized or invisible. I use a TrayIcon to terminate the program and program should stay in the background and wait for incoming calls. Then a second from will be shown with the connection data but the main form - which only has a close butt

Re: [Gambas-user] How to convert unix timestamp into gambas date and time

2012-02-03 Thread Rolf Schmidt
Hello Benoît > Unix time stamp is a number of seconds since 1/1/1970. > > So to convert a Gambas date to Unix timestamp: > > Print DateDiff(CDate("1/1/1970"), Now, gb.Second) > > And to convert an Unix timestamp to Gambas date: > > Print DateAdd(CDate("1/1/1970"), TimeStamp, gb.Second)

Re: [Gambas-user] How to convert unix timestamp into gambas date and time

2012-02-03 Thread Rolf Schmidt
Hi Rolf, hi Ron. is there a function which allows to convert an unix timestamp into the appropriated date/time in Gambas3? If, how is it called and how to use. >> >>> Take a look at this one: >>> http://gambasdoc.org/help/lang/stat?v3 >>> file.stat should deliver a file date. O

Re: [Gambas-user] How to convert unix timestamp into gambas date and time

2012-02-03 Thread Rolf Schmidt
Hi "another Rolf" >> is there a function which allows to convert an unix timestamp into the >> appropriated date/time in Gambas3? >> >> If, how is it called and how to use. > Take a look at this one: > http://gambasdoc.org/help/lang/stat?v3 > file.stat should deliver a file date. Or did I get you

[Gambas-user] How to convert unix timestamp into gambas date and time

2012-02-02 Thread Rolf Schmidt
Hi everybody out there is there a function which allows to convert an unix timestamp into the appropriated date/time in Gambas3? If, how is it called and how to use. Many thanks Rolf -- Keep Your Developer Skills Curre

[Gambas-user] Problem with Rev. 4430

2012-01-30 Thread Rolf Schmidt
Hi Benoit, when I compile Gambas3 from current trunk (i.e. Rev. 4430) I get an error say, that there is no "make all" in gb.gsl. When I look into this directory no "Makefile" was build by configure. Disable the gsl package, Gambas is installable. reconf-all and configure didn't report any probl

Re: [Gambas-user] Compiling Gambas3 in Debian squeeze

2011-09-04 Thread Rolf Schmidt
Hello Benoît, thanks for your fast answer. > automake seems too old (I have 1.11 version there). > after install automake 1.11 and running reconf-all I get message: ... autoreconf: running: aclocal -I m4 --install autoreconf: running: libtoolize --copy autoreconf: running: /usr/bin/autoconf au

[Gambas-user] Compiling Gambas3 in Debian squeeze

2011-09-04 Thread Rolf Schmidt
Hi, I need some help to compile Gambas3 in Debian squeeze. The problem seems to be the compile environment especial the auto-tools. I installed from the debian repository: autoconf 2.67-2 automake1.9 libtool 2.2.6b-2 The reconf-all-command generates the follwoing few lines before it exits. l

Re: [Gambas-user] Seg fault, rev 3903, odbc db selecting... how to...

2011-06-29 Thread Rolf Schmidt
Caveat: ODBC is not the problem. The problem is an odbc driver for mdb-files > The .mdb file has no password set on it. As far as I could see there is a very limited version of the driver available. Do you have "libmdbodbc" installed? Can you access your mdb file with the "MDB File Viewer" i.e

Re: [Gambas-user] Gambas Calculator

2011-06-03 Thread Rolf Schmidt
Hi Richard the Class-File was broken, so I attache a new file with the class and form file intact but still with german variable names and comments Fine regards Rolf calc2.tgz Description: GNU Unix tar archive -- Sim

Re: [Gambas-user] Gambas Calculator

2011-06-02 Thread Rolf Schmidt
Hi Richard I wondered if anyone on the list would have the code/form for a simple calculator in gambas they would be willing to share. If you can live with german variable names and comments, here is a runnable version (but it is in Gambas 2.x) Fine regards Rolf calculator.tgz Description:

Re: [Gambas-user] Making a web app

2010-12-21 Thread Rolf Schmidt
Hi Rolf-Werner > Now, to make things somewhat clearer, let me add this: > > During the last two hours or so I set up a commandline application in > Gambas doing this: > > PUBLIC SUB Main() > >PRINT " Transitional//EN\">" Here you have to print an empty line - its part of the HTML-Standard! >

[Gambas-user] Problem with PostgrSQL, Gambas 2.7 and 64-Bit Linux

2010-10-17 Thread Rolf Schmidt
Hi, as the subject says, I have problems with Gambas2 (version 2.7 - from the Debian repository) on a 64-Bit Linux (Debian Lenny) and postgreSQL 8.4 database. It seems, that a connection is possible, but no table is found in the given database by any query (with db.exec). Did someone else has

Re: [Gambas-user] Spacing property.

2010-09-19 Thread Rolf Schmidt
Am Sonntag, 19. September 2010 schrieb Jean-pierre Lainé: > Pour Benoit Minisini, ou le modérateur du groupe. > Bonjour à tous, je suis en train de me lancer en Gambas (2). > L'OS est UBUNTU. > Mais je me suis bêtement inscrit sur une liste "anglo saxonne" et "my > englisch is very très bad!". > Po

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-17 Thread Rolf Schmidt
Hi Fabien Bodard: > la j'ai mal a la tête maintenant ... on véra ça a la prochiane version > ... to have english version ... try google ;) What google translate makes no sense for me neither in english nor in german! Rolf signature.asc Description: This is a digitally signed message part.

Re: [Gambas-user] Database Results

2010-09-12 Thread Rolf Schmidt
Hi Benoît > But I don't think I can change the interface anymore, it will break a lot > of code. Unless someone finds an unexpected solution. What about a property, which indicate how the result should be delivered. For example in PHP Database Objects you can give a value that says how the data

Re: [Gambas-user] Pipe doesn't receive contents

2010-05-07 Thread Rolf Schmidt
Hi Doriano > > You can't wait until EOF on a named pipe! Also a 'tail' on a named pipe > > will never give you some data - but 'cat' do! > > > > Just read and find another mechanism to stop reading. > > I tried cat and tail on named fifo, and both work. You can start first > either of the two side

Re: [Gambas-user] Pipe doesn't receive contents

2010-05-07 Thread Rolf Schmidt
Hello Rolf-Werner > DIM hFile AS File > DIM sLine AS String > > hFile = PIPE "/tmp/FIFO1" FOR INPUT > > PRINT "Now let's start:" > > WHILE NOT Eof(hFile) >LINE INPUT #hFile, sLine >PRINT sLine > WEND > > PRINT "That's it." > You can't wait until EOF on a named pipe! Also a 'tail' on a nam

Re: [Gambas-user] Too many open files error message

2010-05-04 Thread Rolf Schmidt
Hi Richard > This routine is called by my program, consecutively a large number of times > during an automated process: > > Public Sub Display_HTML(sHTML As String, wb As WebView, Optional prefix As > String = "html") > > Dim wFile As File > Dim sFilename As String > > sFilename = Temp$(pref

Re: [Gambas-user] sdl.sound and total length of a track

2010-01-04 Thread Rolf Schmidt
Hi Alessandro, Dimitris Anogiatis wrote: > to get the length of an MP3 file (since gb.sdl.sound works primarily with > mp3s) I would personally write an ID3Tag module to get the mp3's length and > then load it through gb.sound.sdl afterward. > > or if you want you could also explore the option of

Re: [Gambas-user] Financial program

2009-12-15 Thread Rolf Schmidt
Am Dienstag, 15. Dezember 2009 schrieb Doriano Blengino: > Jean-Yves F. Barbier ha scritto: > > Doriano Blengino a écrit : > > ... > > > >> A strongness inherited from pascal... I gave a look to many, countless > > > > hmm, I don't think Pascal can define vars as temperature[-10, +50] > > What do

Re: [Gambas-user] menu button events Q

2009-12-12 Thread Rolf Schmidt
Hello Richard > Regarding keeping bookmarks, is there an accepted place to put them?, or > just a settings file? There are a lot of possibilities: 1. A file in the home directory - perhaps as xml-file 2. In a sqlite database as firefox do it, also as a file in the home directory 3. In a LDAP data

Re: [Gambas-user] Really weird socket problem

2009-10-20 Thread Rolf Schmidt
Hi Kad Mann: > Windows can't be the problem because the client and the proxy are on the > linux box. The client is not communicating with the proxy over a socket. > The server is on Windows and has nothing to do with the issue. What does ethereal shows about the start of the connection? Keep an e

Re: [Gambas-user] How to get listbox selection?

2009-09-08 Thread Rolf Schmidt
Hallo Dimitris deine Mail ist sehr interessant, doch leider kann ich sie nicht lesen - komischer englischer Dialekt. Gruß Rolf PS: If you like to answer in a different language then english, the language of this list, do it as PM. > > An katalava kala thes na vlepeis oles tis epiloges pou exe

Re: [Gambas-user] need some helping hand for crypting

2009-07-20 Thread Rolf Schmidt
Hi Charlie > > > > > > no what I need is for gambas2, I have to store Passwords in an > > > > XML-file, what means plain-text readable. > > > > So I need a crypting/uncrypting logic . > > > > I put my PW "TOPSECRET" to store > > > > Print crypting("TOPSECRET") > > > > > > > > >2sgb

Re: [Gambas-user] need some helping hand for crypting

2009-07-20 Thread Rolf Schmidt
Hi Charlie > > no what I need is for gambas2, I have to store Passwords in an XML-file, > > what means plain-text readable. > > So I need a crypting/uncrypting logic . > > I put my PW "TOPSECRET" to store > > Print crypting("TOPSECRET") > > > > >2sgbtf&& > > > > and get it back by > >

Re: [Gambas-user] PictureDatabase with PostgreSQL

2009-07-15 Thread Rolf Schmidt
Hi Pino, > I am trying to use the example "PictureDatabase" with PostgreSQL but I get > the following error: > > "Invalid byte sequence for encoding UTF-8" > In Debian, the PostgreSQL database will created on install-time with the charset of the root, usually of the national language. I have had

Re: [Gambas-user] help with some simple parsing

2009-05-06 Thread Rolf Schmidt
Hi Richard > In one of my hl7 messages in the Free Text segment under an actual > pathology result, there is a list of sequential bood test results > representing previous results of the same type - , separated by tabs which > I need to display properly. as I've re-constructed the result as html,

Re: [Gambas-user] Problem with gambas..

2009-03-27 Thread Rolf Schmidt
Hi Carlos > I have a problem with a code on gambas.. > > I'm trying.. this code.. EXEC ["rm", application.Path & "/imagenes/*.*"] > ... just I wanna erase the content of images folder. > > But I got an error.. on console... rm: can't erase > «/home/carlosh/Prueba/imagenes/*.*»: File don't exists

Re: [Gambas-user] General Forms / Display manager ...

2009-01-29 Thread Rolf Schmidt
Hi Gareth > Can someone tell me .. if I do form.Hide, then form.Show .. would you > expect the form to reappear in the same place .. > > If not, where would you reset top/left in order to control it's position on > show .. Check if the form_show() event and/or the form_resize() event was called

Re: [Gambas-user] Gambas & PostgreSQL cannot create index. relation XXX does not exist.

2009-01-24 Thread Rolf Schmidt
Hello Randy. > STATIC PUBLIC FUNCTION CreateGLTables() > > DIM hTable AS Table > > hTable = Global.$hConn.Tables.Add("glcoa") > WITH hTable > .Fields.Add("company", db.String, 3) > .Fields.Add("account", db.String, 12) > .Fields.Add("description", gb.String, 32) > .Fields.Add

Re: [Gambas-user] Gambas2 USB detect !!??

2009-01-03 Thread Rolf Schmidt
Am Samstag, 3. Januar 2009 schrieb Emil Tchekov: > > drive. I haven't hooked any USB drives up to my Ubuntu server since I > > upgraded so I don't know if every distro has logs that look like that, or > > just Mandriva. > > > > Rob > > Good idea - /var/log/messages should be present on every linux

Re: [Gambas-user] gambas3 compile problem

2008-10-06 Thread Rolf Schmidt
Hi Joshua, > Yes I know but DF shows its wasnt full > > > It says here NO SPACE LEFT ON DEVICE !! > > your disk is full :-) Even if df says there is space left, you can run out of inodes, especially if you have a large amount of small files or, you use UNIONFS. Hope that helps (

Re: [Gambas-user] Q:how to save a file.png into Postgresql

2008-09-02 Thread Rolf Schmidt
Hello Richard > Dies at the line containing 'Coct' with message: unknown identifier > > but I'm sure this way is good, as I can remember reading something about > this in the postgres doc's but couldn't figure out how to do the > substitution. OK, I thougt it is a Gambas converting function, but

Re: [Gambas-user] Q:how to save a file.png into Postgresql

2008-08-31 Thread Rolf Schmidt
Hi richard > Public sub Save_Image(ImagePath as string) > > Dim img As Image > Dim pictureData As String > Dim sql As String > > img = Image.Load(ImagePath) ' Save temp image as png file > tempFile = Temp() & ".png" > img.Save(tempFile) > > > pictureData = File.Load(tempFile) 'reload

Re: [Gambas-user] Postgresql date question

2008-07-20 Thread Rolf Schmidt
Hi Richard > Hi to postgres users of gambas. > > I'm passing some information to postges, which gets the data from date type > > eg date1 as date > data2 as date > > (N the postgres database the default on the date field is null) > > my problem is that postgres baulks when I"ve not put a date