Hi,
What I need is raising an event in my own component.
If I declare my FUNCTION or SUB as STATIC and try to raise an event from
this function, I get error message
"Cannot raise event in static function." But if that is not STATIC and I try
call it from my application
I get an error message FUNCT
On Tue, 2012-07-17 at 10:12 +0200, Ivan Kern wrote:
> Hi,
> What I need is raising an event in my own component.
> If I declare my FUNCTION or SUB as STATIC and try to raise an event from
> this function, I get error message
> "Cannot raise event in static function." But if that is not STATIC and I
Hi,
I mean, if FUNCTION or SUB in my component is not STATIC and I try call it
from my
application I get an error message “FUNCTION... is not static.
Thank you, Ivan
-Ursprüngliche Nachricht-
Von: Bruce [mailto:bbr...@paddys-hill.net]
Gesendet: Dienstag, 17. Juli 2012 11:57
An: mailin
Status: New
Owner:
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 274 by kokok...@gmail.com: Unknown symbol 'IsEmptyElement' in
class '.XmlReader.Node
http://code.google.com/p/gambas/issues/detail?id=274
The summary is pretty explicativ
Updates:
Status: Accepted
Owner: adrien.p...@gmail.com
Labels: -Version Version-TRUNK
Comment #1 on issue 274 by adrien.p...@gmail.com: Unknown
symbol 'IsEmptyElement' in class '.XmlReader.Node
http://code.google.com/p/gambas/issues/detail?id=274
(No comment was entered
I have a table (editprojects) with "id" as primary key, serial, integer.
There is only one record at the moment (id = 1)
hResult = hConn.Exec("SELECT last_insert_id() as id FROM editprojects")
print hResult!id
produces 0 not 1
Obviously my sql query is at fault but where?
I wonder if anyone
Updates:
Status: Fixed
Comment #2 on issue 274 by adrien.p...@gmail.com: Unknown
symbol 'IsEmptyElement' in class '.XmlReader.Node
http://code.google.com/p/gambas/issues/detail?id=274
Problem fixed in the last revision (#4960), Thanks.
-
Because yoy are using your component as a module... A module is static.
Generally a component is based on dynamic classes.
A class must be instanciate.
Dim hmyclass as new CMyClass
Then you can call
Hmyclass.myfuntion
A workaround for you if you want to call you class directly will be to
genera
On Tue, 2012-07-17 at 04:14 -0700, Bill-Lancaster wrote:
> I have a table (editprojects) with "id" as primary key, serial, integer.
> There is only one record at the moment (id = 1)
> hResult = hConn.Exec("SELECT last_insert_id() as id FROM editprojects")
> print hResult!id
> produces 0 not 1
Have you got auto_increment on the id field?
http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html
Seems last_insert_id() looks at the previously-run SQL statement that
performed an INSERT. If you're running this query in a separate
program, or have done other SQL operations since
Comment #3 on issue 274 by kokok...@gmail.com: Unknown
symbol 'IsEmptyElement' in class '.XmlReader.Node
http://code.google.com/p/gambas/issues/detail?id=274
Great, thanks to you!
--
Live Security Virtual Conference
E
I thank all of you,
I've got it.
Ivan
-Ursprüngliche Nachricht-
Von: Fabien Bodard [mailto:gambas...@gmail.com]
Gesendet: Dienstag, 17. Juli 2012 13:41
An: mailing list for gambas users
Betreff: Re: [Gambas-user] Raises the event
Because yoy are using your component as a module... A mod
http://www.relatum.hr/temnpk.php?yv=cjnpcd
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
wi
Hi,
Since a few revisions, I get an error when building gbx3 :
[...]
gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\""
-pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g
-ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include
-MT gbx3-gbx_exec_pop.o -M
Le 17/07/2012 21:13, Adrien Prokopowicz a écrit :
> Hi,
>
> Since a few revisions, I get an error when building gbx3 :
>
>
> [...]
> gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\""
> -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -ggdb -Os -I../share -D_REEN
Where is the gambas src directory???
I don't seem to have one after downloading.
./reconf-all and ./configure returns "No such file or directory"
I v'e tried in the /gambas* directory. Outputting to 'output.txt' gives
a blank file other wise I post it.
-
Updates:
Status: Started
Comment #6 on issue 263 by benoit.m...@gmail.com: The TextBox will remain
always in the foreground.
http://code.google.com/p/gambas/issues/detail?id=263
I may have found some sort of workaround for that problem. I did it in
r4963, can you try it?
I modified t
Yes, it works now, thanks.
2012/7/17, Benoît Minisini :
> Le 17/07/2012 21:13, Adrien Prokopowicz a écrit :
>> Hi,
>>
>> Since a few revisions, I get an error when building gbx3 :
>>
>>
>> [...]
>> gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\""
>> -pipe -Wall -Wno-unused-value
Do you happen to have trunk directory in the directory you downloaded the
project to? If so, then cd to trunk...
On Tue, Jul 17, 2012 at 12:44 PM, rocko wrote:
> Where is the gambas src directory???
> I don't seem to have one after downloading.
> ./reconf-all and ./configure returns "No such f
Thanks guys,
Yes, the field is auto-increment.
Having just discovered it, I thought "last_insert_id" would be a bit more
elegant than MAX().
Thanks again
--
View this message in context:
http://old.nabble.com/mysql--last_insert_id-tp34173030p34177606.html
Sent from the gambas-user mailing l
20 matches
Mail list logo