Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread adamn...@gmail.com
I think one of the things that is hard about doing something about the 
documentation is that there does not appear to be any simple way to collaborate 
on it.  For example, stirred up a bit by this thread, I started having a go at 
some of the wiki "ToDo" list, specifically the gb.desktop component.  I had 
added some descriptive and example content for much of the DesktopFile class 
then hit this snag

What is the "Size" parameter in GetIcon(Size As Integer)?

Where is a convenient place to talk about that question? I don't think it 
really belongs in the mailing list as it may take a reasonable time before 
someone with that knowledge notices the post and answers it. In the mean time 
the post just drifts farther and farther down the time line.  I don't think 
that adding content to the page concerned would work either, as the person with 
the knowledge is not likely to be referring to the page in the course of their 
normal day.

And while I'm at it - how do you add an image to a wiki page? Like the 
http://gambaswiki.org/wiki/howto/makereport/arrange.png?  in the "How to to 
make a report with Gambas" page.  Note, I mean how do I upload the .png files I 
want to put in a page, not how to reference it in the markup ( i.e. I know 
"[doc/myhowto/blah.png]" ).

cheers
b

-- 
B Bruen 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1100: ODBC driver super buggy 1: rs.count return always negative and only one event in lasted

2017-06-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1100=L21haW4-

Comment #12 by Leonardo SALAZAR:

I reproduce the error in debian 7 gambas  3.4.2 

the next piece of code always return "-1"
Try rs = $conexionodbc.Exec(query)
If rs.Available Then  ' 
 howmany = rsprices.Count ' 
Endif

get -1 

no way to fetch the data in grid



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Jussi Lahtinen
I meant documentation should have example codes. It's great point to start
with, and it doesn't require much skills in English.
If examples are out of date, then likely also documentation is out of date.
So, it's not specific problem of example code.


Jussi



On Tue, Jun 6, 2017 at 9:58 PM, PICCORO McKAY Lenz 
wrote:

> 2017-06-06 14:32 GMT-04:00 Jussi Lahtinen :
> > I think many times short example codes tells much more, than human
> language
> > explanation. If the function, variable, etc names are in English, then I
> > think it is usually enough. Maybe some short comments are necessary
> > sometimes. Let the Gambas be our common language.
>
> documentation its the firts piece of view when a project its about to
> start! come on, if this where true, no maillist will exist,
>
> and taking about of pieces of code, in the past all "odbc connections
> examples" was out of date, that more thant help new developers make it
> confuses
>
> >
> >
> > Jussi
> >
> >
> >
> > On Tue, Jun 6, 2017 at 7:49 PM, Dimitris Anogiatis 
> wrote:
> >
> >> While Google translate and other online transaction tools are not
> perfect
> >> we could try a few of them to see which combination of such tools makes
> >> more sense for both the English side and the non-English side.
> >>
> >> Keep in mind that the way we put words to our thoughts is also affected
> by
> >> different patterns and experiences in all our lives as well as mood and
> >> stress levels at the time of asking for info or documenting a piece of
> >> code. Plus not all words have a direct equivalent in every language. So
> we
> >> also have to have a balance between specifics and verbosity.
> >>
> >> That's my 2 cents worth of wisdom anyways :)
> >>
> >> On Jun 6, 2017 10:00 AM, "Benoît Minisini via Gambas-user" <
> >> gambas-user@lists.sourceforge.net> wrote:
> >>
> >> Le 06/06/2017 à 17:54, PICCORO McKAY Lenz a écrit :
> >>
> >> > hi benoit, there many issues in gb.db specifically in odbc component,
> i
> >> > wish to be fixed in the next release please, thanks in advance
> >> >
> >> > currently i can to contribute to the documentation how-to's wiki parts
> >> but
> >> > i cannot write on both languajes, its very tedious for me write
> english..
> >> > so if any could translate from spanish will be usefully
> >> >
> >> >
> >> I don't speak spanish, and your english is often unreadable, so we need
> >> some help...
> >>
> >> --
> >> Benoît Minisini
> >>
> >>
> >> 
> >> --
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> 
> >> --
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> > 
> --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Cristiano Guadagnino
I speak both spanish and english, so I can be of help, but my free time is
very limited, so ultimately it depends on the amount of work that needs to
be done.

Cris



   Sent with Mailtrack


On Tue, Jun 6, 2017 at 5:59 PM, Benoît Minisini via Gambas-user <
gambas-user@lists.sourceforge.net> wrote:

> Le 06/06/2017 à 17:54, PICCORO McKAY Lenz a écrit :
>
>> hi benoit, there many issues in gb.db specifically in odbc component, i
>> wish to be fixed in the next release please, thanks in advance
>>
>> currently i can to contribute to the documentation how-to's wiki parts
>> but i cannot write on both languajes, its very tedious for me write
>> english.. so if any could translate from spanish will be usefully
>>
>>
> I don't speak spanish, and your english is often unreadable, so we need
> some help...
>
> --
> Benoît Minisini
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread PICCORO McKAY Lenz
2017-06-06 14:32 GMT-04:00 Jussi Lahtinen :
> I think many times short example codes tells much more, than human language
> explanation. If the function, variable, etc names are in English, then I
> think it is usually enough. Maybe some short comments are necessary
> sometimes. Let the Gambas be our common language.

documentation its the firts piece of view when a project its about to
start! come on, if this where true, no maillist will exist,

and taking about of pieces of code, in the past all "odbc connections
examples" was out of date, that more thant help new developers make it
confuses

>
>
> Jussi
>
>
>
> On Tue, Jun 6, 2017 at 7:49 PM, Dimitris Anogiatis  wrote:
>
>> While Google translate and other online transaction tools are not perfect
>> we could try a few of them to see which combination of such tools makes
>> more sense for both the English side and the non-English side.
>>
>> Keep in mind that the way we put words to our thoughts is also affected by
>> different patterns and experiences in all our lives as well as mood and
>> stress levels at the time of asking for info or documenting a piece of
>> code. Plus not all words have a direct equivalent in every language. So we
>> also have to have a balance between specifics and verbosity.
>>
>> That's my 2 cents worth of wisdom anyways :)
>>
>> On Jun 6, 2017 10:00 AM, "Benoît Minisini via Gambas-user" <
>> gambas-user@lists.sourceforge.net> wrote:
>>
>> Le 06/06/2017 à 17:54, PICCORO McKAY Lenz a écrit :
>>
>> > hi benoit, there many issues in gb.db specifically in odbc component, i
>> > wish to be fixed in the next release please, thanks in advance
>> >
>> > currently i can to contribute to the documentation how-to's wiki parts
>> but
>> > i cannot write on both languajes, its very tedious for me write english..
>> > so if any could translate from spanish will be usefully
>> >
>> >
>> I don't speak spanish, and your english is often unreadable, so we need
>> some help...
>>
>> --
>> Benoît Minisini
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Jussi Lahtinen
I think many times short example codes tells much more, than human language
explanation. If the function, variable, etc names are in English, then I
think it is usually enough. Maybe some short comments are necessary
sometimes. Let the Gambas be our common language.


Jussi



On Tue, Jun 6, 2017 at 7:49 PM, Dimitris Anogiatis  wrote:

> While Google translate and other online transaction tools are not perfect
> we could try a few of them to see which combination of such tools makes
> more sense for both the English side and the non-English side.
>
> Keep in mind that the way we put words to our thoughts is also affected​ by
> different patterns and experiences in all our lives as well as mood and
> stress levels at the time of asking for info or documenting a piece of
> code. Plus not all words have a direct equivalent in every language. So we
> also have to have a balance between specifics and verbosity.
>
> That's my 2 cents worth of wisdom anyways :)
>
> On Jun 6, 2017 10:00 AM, "Benoît Minisini via Gambas-user" <
> gambas-user@lists.sourceforge.net> wrote:
>
> Le 06/06/2017 à 17:54, PICCORO McKAY Lenz a écrit :
>
> > hi benoit, there many issues in gb.db specifically in odbc component, i
> > wish to be fixed in the next release please, thanks in advance
> >
> > currently i can to contribute to the documentation how-to's wiki parts
> but
> > i cannot write on both languajes, its very tedious for me write english..
> > so if any could translate from spanish will be usefully
> >
> >
> I don't speak spanish, and your english is often unreadable, so we need
> some help...
>
> --
> Benoît Minisini
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread PICCORO McKAY Lenz
2017-06-06 12:49 GMT-04:00 Dimitris Anogiatis :
> While Google translate and other online transaction tools are not perfect
> we could try a few of them to see which combination of such tools makes
> more sense for both the English side and the non-English side.

that-s a totally true..


> Keep in mind that the way we put words to our thoughts is also affected by
> different patterns and experiences in all our lives as well as mood and
> stress levels at the time of asking for info or documenting a piece of
> code. Plus not all words have a direct equivalent in every language. So we
> also have to have a balance between specifics and verbosity.

this point its a special problem.. many possible users don't
contribute due the language are its wall.. and take too much time
translate to other language..

>
> That's my 2 cents worth of wisdom anyways :)
>
> On Jun 6, 2017 10:00 AM, "Benoît Minisini via Gambas-user" <
> gambas-user@lists.sourceforge.net> wrote:
>
> Le 06/06/2017 à 17:54, PICCORO McKAY Lenz a écrit :
>
>> hi benoit, there many issues in gb.db specifically in odbc component, i
>> wish to be fixed in the next release please, thanks in advance
>>
>> currently i can to contribute to the documentation how-to's wiki parts but
>> i cannot write on both languajes, its very tedious for me write english..
>> so if any could translate from spanish will be usefully
>>
>>
> I don't speak spanish, and your english is often unreadable, so we need
> some help...
>
> --
> Benoît Minisini
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Dimitris Anogiatis
While Google translate and other online transaction tools are not perfect
we could try a few of them to see which combination of such tools makes
more sense for both the English side and the non-English side.

Keep in mind that the way we put words to our thoughts is also affected​ by
different patterns and experiences in all our lives as well as mood and
stress levels at the time of asking for info or documenting a piece of
code. Plus not all words have a direct equivalent in every language. So we
also have to have a balance between specifics and verbosity.

That's my 2 cents worth of wisdom anyways :)

On Jun 6, 2017 10:00 AM, "Benoît Minisini via Gambas-user" <
gambas-user@lists.sourceforge.net> wrote:

Le 06/06/2017 à 17:54, PICCORO McKAY Lenz a écrit :

> hi benoit, there many issues in gb.db specifically in odbc component, i
> wish to be fixed in the next release please, thanks in advance
>
> currently i can to contribute to the documentation how-to's wiki parts but
> i cannot write on both languajes, its very tedious for me write english..
> so if any could translate from spanish will be usefully
>
>
I don't speak spanish, and your english is often unreadable, so we need
some help...

-- 
Benoît Minisini



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Benoît Minisini via Gambas-user

Le 06/06/2017 à 17:54, PICCORO McKAY Lenz a écrit :
hi benoit, there many issues in gb.db specifically in odbc component, i 
wish to be fixed in the next release please, thanks in advance


currently i can to contribute to the documentation how-to's wiki parts 
but i cannot write on both languajes, its very tedious for me write 
english.. so if any could translate from spanish will be usefully




I don't speak spanish, and your english is often unreadable, so we need 
some help...


--
Benoît Minisini

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread PICCORO McKAY Lenz
hi benoit, there many issues in gb.db specifically in odbc component, i
wish to be fixed in the next release please, thanks in advance

currently i can to contribute to the documentation how-to's wiki parts but
i cannot write on both languajes, its very tedious for me write english..
so if any could translate from spanish will be usefully

2017-06-06 7:23 GMT-04:00 Benoît Minisini via Gambas-user <
gambas-user@lists.sourceforge.net>:

> Le 06/06/2017 à 12:53, Hans Lehmann a écrit :
>
>> A warm Hello to all friends of the Gambas programming language,
>>
>> many years ago users complained in various Gambas forum posts about the
>> lack of books about Gambas in the German language. I liked Gambas from
>> the beginning. Its conception allows people, like myself, switching over
>> from other environments as well as ambitioned programmers to work on a
>> range of different tasks in a single language. This motivated me as early
>> as 2008 to design a concept for a Gambas book. For a few years now this
>> book is made available online at www.gambas-buch.de. Many chapters have
>> already been published. With great effort, the team of authors pursues
>> the goal to produce a good description of the components and classes of
>> Gambas and to demonstrate their use in example projects. Every chapter
>> and its parts are also offered as a PDF file, and archives of the tested
>> demonstration projects are available for download.
>>
>> However, our work on the online book is hampered increasingly because some
>> components and their classes have only fragmentary documentation in the
>> Gambas wiki, or none at all. By tolerating this condition, the Gambas
>> developers throw away opportunities for newcomers to discover and use
>> Gambas. A class or component should, in my opinion, only be released after
>> its documentation is complete and correct and put on the Gambas wiki.
>> Do the developers really believe that a potential Gambas user will read
>> all the source code to understand how the properties, methods and events
>> work? (I, for one, have never learned C.) To me, for example, it is clear
>> after over 44 years as a grammar school teacher -- among others for
>> Computer Science -- that nothing motivates more than success und success
>> has to be prepared.
>>
>> This brings us to the crucial point with Gambas: all efforts should
>> currently
>> be directed towards quickly closing the gaps and flaws in the
>> documentation!
>> One only learns a language well by speaking it -- and this is only
>> possible
>> with a good dictionary! Such an excellent programming language as Gambas
>> should enjoy a thorough documentation of the existing components and
>> classes
>> with small projects or code snippets which show the essential properties
>> and methods in action. If you have a look at the current state of the
>> documentation, you will see that it is exceedingly incomplete. Do the
>> developers seriously think that the Gambas programmers can read in a
>> crystal
>> ball if all that's known about a class is the names of its properties,
>> methods and events?
>>
>> The software farm with its projects does not replace a systematic
>> treatment
>> of the basics of the language. The online book wanted to provide just that
>> for the German-speaking Gambas programmers, and those who want to be! If
>> none or only insufficient information about the properties, methods and
>> events of a Gambas class is available, then a newbie or a Gambas
>> programmer,
>> who wants to use this class, will resign and turn to other languages.
>>
>> My wish is essentially just that the developers do their job until the end
>> and provide the documentation for their classes, because only then can
>> their
>> valuable work be truly useful. Only then can Gambas finally make progress.
>>
>> Honsek
>> www.gambas-buch.de
>>
>>
> You are right, it's just that time is missing on my side, because of many
> other activities.
>
> I plan to release Gambas 3.10 soon, and document the gb.web.form component
> that allows to make web applications a bit like GUI applications.
>
> And of course filling the other missing entries in the documentation on
> the components I made.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Benoît Minisini via Gambas-user

Le 06/06/2017 à 12:53, Hans Lehmann a écrit :

A warm Hello to all friends of the Gambas programming language,

many years ago users complained in various Gambas forum posts about the
lack of books about Gambas in the German language. I liked Gambas from
the beginning. Its conception allows people, like myself, switching over
from other environments as well as ambitioned programmers to work on a
range of different tasks in a single language. This motivated me as early
as 2008 to design a concept for a Gambas book. For a few years now this
book is made available online at www.gambas-buch.de. Many chapters have
already been published. With great effort, the team of authors pursues
the goal to produce a good description of the components and classes of
Gambas and to demonstrate their use in example projects. Every chapter
and its parts are also offered as a PDF file, and archives of the tested
demonstration projects are available for download.

However, our work on the online book is hampered increasingly because some
components and their classes have only fragmentary documentation in the
Gambas wiki, or none at all. By tolerating this condition, the Gambas
developers throw away opportunities for newcomers to discover and use
Gambas. A class or component should, in my opinion, only be released after
its documentation is complete and correct and put on the Gambas wiki.
Do the developers really believe that a potential Gambas user will read
all the source code to understand how the properties, methods and events
work? (I, for one, have never learned C.) To me, for example, it is clear
after over 44 years as a grammar school teacher -- among others for
Computer Science -- that nothing motivates more than success und success
has to be prepared.

This brings us to the crucial point with Gambas: all efforts should 
currently
be directed towards quickly closing the gaps and flaws in the 
documentation!

One only learns a language well by speaking it -- and this is only possible
with a good dictionary! Such an excellent programming language as Gambas
should enjoy a thorough documentation of the existing components and 
classes

with small projects or code snippets which show the essential properties
and methods in action. If you have a look at the current state of the
documentation, you will see that it is exceedingly incomplete. Do the
developers seriously think that the Gambas programmers can read in a 
crystal

ball if all that's known about a class is the names of its properties,
methods and events?

The software farm with its projects does not replace a systematic treatment
of the basics of the language. The online book wanted to provide just that
for the German-speaking Gambas programmers, and those who want to be! If
none or only insufficient information about the properties, methods and
events of a Gambas class is available, then a newbie or a Gambas 
programmer,

who wants to use this class, will resign and turn to other languages.

My wish is essentially just that the developers do their job until the end
and provide the documentation for their classes, because only then can 
their

valuable work be truly useful. Only then can Gambas finally make progress.

Honsek
www.gambas-buch.de



You are right, it's just that time is missing on my side, because of 
many other activities.


I plan to release Gambas 3.10 soon, and document the gb.web.form 
component that allows to make web applications a bit like GUI applications.


And of course filling the other missing entries in the documentation on 
the components I made.


Regards,

--
Benoît Minisini

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

PICCORO LENZ MCKAY added an attachment:

error-odbc2.png



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sharing Code Between Projects

2017-06-06 Thread PICCORO McKAY Lenz
2017-06-06 10:13 GMT-04:00 alexchernoff :

> Correct, "import" only creates a local copy, and using a symlink results
> in a
> read only code in the IDE.
>
> The goal is to edit shared centralised modules and having all projects see
> the changes.
>
yeah like java does..

in some days i'll publish an article about using gambas modules and shared
code for editing live, but with git submodules..

but today i'm very busy due lack of funtionality in odbc module, make me
work doulble


>
> Thanks
>
>
>
> --
> View this message in context: http://gambas.8142.n7.nabble.
> com/Sharing-Code-Between-Projects-tp59251p59261.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sharing Code Between Projects

2017-06-06 Thread alexchernoff
Correct, "import" only creates a local copy, and using a symlink results in a
read only code in the IDE. 

The goal is to edit shared centralised modules and having all projects see
the changes.

Thanks 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Sharing-Code-Between-Projects-tp59251p59261.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Class HtmlDocument

2017-06-06 Thread adamn...@gmail.com
On Mon, 5 Jun 2017 11:56:34 +0200
Hans Lehmann  wrote:

> Hello,
> 
> why creates the following source text:
> 
> Public Sub btnCreateHTMLDocument_Click()
>Dim hHtmlDocument As HtmlDocument
> 
>hHtmlDocument = New HtmlDocument

At this point hHtmlDocument.Html5 is false!!

> 
> *hHtmlDocument.Html5 = False**
> *
>Print hHtmlDocument.ToString(True)
>hHtmlDocument.Save(Application.Path &/ "test.html", True)
> 
> End
> 
> this HTML5 document? I would have expected: strict HTML 1.0!
> 
> 
> 
>   
>
>
>
>   
>   
>   
> 
> 
> Hans
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


So, I guess that you are right. In fact, changing it to True and then back to 
False seems to have absolutely no effect on the generated html text.
Oh well, back to Adrien for this one I'd say.

b
-- 
B Bruen 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #1 by PICCORO LENZ MCKAY:

now tested better, works only with odbc/postgres using lasted and any 
odbc/mysql, for any odbc/freetds, previous odbc/postgresql or any odbc/sqlite 
or any odbc/mdbtools does not work



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Using a relative file path for a WebView URL

2017-06-06 Thread adamn...@gmail.com
On Sat, 3 Jun 2017 09:13:57 -0400
T Lee Davidson  wrote:

Thanks Lee, I'll give that a try!
b

> wvwPage.HTML = File.Load(path &/ "index.html")   ?
> 
> 
> On 06/02/2017 08:57 PM, adamn...@gmail.com wrote:
> > I am trying to get a WebViewer control in a loaded library to display an 
> > html file stored inside the executable archive of a project using that 
> > library.
> > This appears to be not possible ... in the following the main project is 
> > calling the library form Run method with a relative path say 
> > "../help/html/index.html" (Note the use of the ../ to get the calling 
> > programs executable relative path!). The library code is as follows:
> > 
> > Public Sub Run (path As string)
> > If Exist(path &/ "index.html") Then
> > Debug path &/ "index.html exists"
> > wvwPage.URL = path &/ "index.html"
> > Debug wvwPage.URL
> > 
> > FHSView.Run.10: ../help/html/index.html exists
> > FHSView.Run.13: file:///home/ksshare/gb3projects/Tools/help/html/index.html
> > 
> >  From the above debug output it appears that the WebView control is 
> > "subverting" the actual path back into an absolute path.
> > Any comments?
> > 
> > I think I can extract the entire help directory out of the calling 
> > program's executable into the /tmp dir, but I think that then I will have 
> > to edit every link in the pages to a path relative to the /tmp dir. Painful!
> > 
> > Has anyone got any better ideas?
> > 
> > bruce
> > 
> 
> -- 
> Lee
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


-- 
B Bruen 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sharing Code Between Projects

2017-06-06 Thread PICCORO McKAY Lenz
2017-06-06 7:02 GMT-04:00 Charlie :

> If you want to use a Module that is in another program just right click on
> FMain in the Project window and click in Import..
>
> 
>
> Navigate to the Module you want and open it in your project.
>
> Or did I misunderstand what you are looking for?
>

i want the same he said, u misunderstand

he wants to code the same component sahred by other project but without
duplication..

when u import the module, the code its duplicate.. if created simplink the
code its read only

*the solution its that all the shared code will be git submodules.. *




>
>
>
>
>
> -
> Check out www.gambas.one
> --
> View this message in context: http://gambas.8142.n7.nabble.
> com/Sharing-Code-Between-Projects-tp59251p59254.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread PICCORO McKAY Lenz
2017-06-06 6:53 GMT-04:00 Hans Lehmann :

> A warm Hello to all friends of the Gambas programming language,
>
> many years ago users complained in various Gambas forum posts about the
> lack of books about Gambas in the German language. I liked Gambas from
> the beginning. Its conception allows people, like myself, switching over
> from other environments as well as ambitioned programmers to work on a
> range of different tasks in a single language. This motivated me as early
> as 2008 to design a concept for a Gambas book. For a few years now this
> book is made available online at www.gambas-buch.de. Many chapters have
> already been published. With great effort, the team of authors pursues
> the goal to produce a good description of the components and classes of
> Gambas and to demonstrate their use in example projects. Every chapter
> and its parts are also offered as a PDF file, and archives of the tested
> demonstration projects are available for download.
>
the gambas buch its a great book, the problem its that its only in German..
many articles/chapers i read in that book, that-s why i made an effor this
weekend
and produce te lasted ODBC documentation examples in gambas wiki

that problem i anunce some oportunities before, but benoit mention that
made this only for hobie
its a great effort the components and languaje made by gambas developers..
for spanish users there's the jsbsan blog .. but hangs my web browser due
many anuncies

As hans mentions, prawns have evolved and is beyond simple pastime, many
projects i had to perform in php or java due to the urgency of having them
"fast", losing the opportunity to develop in this confortable and flexible
programing languaje called gambas ...

We are clear that the learning curve is fast and easy to program, but the
type of responses such as "it is the programmer's job" or assumes that "the
programmer must know how to program" distances the prospects, and does not
allow the development Of a business model Cost-effective based on low
maintenance and fast obtaining of manpowers

Currently taking the ODBC component as example, i note many lack of
documentation.. complete in this lasted days by me, the first ODBC
component documentation was very poor and inconsistent with the component
behaviour.. and as last, the compoent ntil version 3.8.1 was in very bad
state... and all the documentation assumed that all the features of the
mysql db componente are same for the rest.. and that's not true.. this
limit the gambas to a mysql database for novice users... due documentation
does not offer how to solve that situations...


> However, our work on the online book is hampered increasingly because some
> components and their classes have only fragmentary documentation in the
> Gambas wiki, or none at all. By tolerating this condition, the Gambas
> developers throw away opportunities for newcomers to discover and use
> Gambas. A class or component should, in my opinion, only be released after
> its documentation is complete and correct and put on the Gambas wiki.
> Do the developers really believe that a potential Gambas user will read
> all the source code to understand how the properties, methods and events
> work? (I, for one, have never learned C.) To me, for example, it is clear
> after over 44 years as a grammar school teacher -- among others for
> Computer Science -- that nothing motivates more than success und success
> has to be prepared.
>
>
Hi hans, in this way, there's a problem.. many developers need the
component xyz due newer develop needs..

The real solution its that the documentation must be generated from the
component code.. like JAva does..

later then must be complete in the gambas wiki.. WITH EXAMPLES, i mean the
code documentations must not have example, only teoric implementations, and
later any enhanchement must be done in the generated gambas wiki page,
currently this behaviour seems are, but need more improvement...



> This brings us to the crucial point with Gambas: all efforts should
> currently
> be directed towards quickly closing the gaps and flaws in the
> documentation!
> One only learns a language well by speaking it -- and this is only possible
> with a good dictionary! Such an excellent programming language as Gambas
> should enjoy a thorough documentation of the existing components and
> classes
> with small projects or code snippets which show the essential properties
> and methods in action. If you have a look at the current state of the
> documentation, you will see that it is exceedingly incomplete. Do the
> developers seriously think that the Gambas programmers can read in a
> crystal
> ball if all that's known about a class is the names of its properties,
> methods and events?
>
> The software farm with its projects does not replace a systematic treatment
> of the basics of the language. The online book wanted to provide just that
> for the German-speaking Gambas programmers, and those who want to 

Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Fernando Cabral
Agreed, Honsek. I am a newcomer, I liked Gambas at first sight, but I have
had a hard time finding proper documentation and  good examples on how-to.

- fernando



2017-06-06 7:53 GMT-03:00 Hans Lehmann :

> A warm Hello to all friends of the Gambas programming language,
>
> many years ago users complained in various Gambas forum posts about the
> lack of books about Gambas in the German language. I liked Gambas from
> the beginning. Its conception allows people, like myself, switching over
> from other environments as well as ambitioned programmers to work on a
> range of different tasks in a single language. This motivated me as early
> as 2008 to design a concept for a Gambas book. For a few years now this
> book is made available online at www.gambas-buch.de. Many chapters have
> already been published. With great effort, the team of authors pursues
> the goal to produce a good description of the components and classes of
> Gambas and to demonstrate their use in example projects. Every chapter
> and its parts are also offered as a PDF file, and archives of the tested
> demonstration projects are available for download.
>
> However, our work on the online book is hampered increasingly because some
> components and their classes have only fragmentary documentation in the
> Gambas wiki, or none at all. By tolerating this condition, the Gambas
> developers throw away opportunities for newcomers to discover and use
> Gambas. A class or component should, in my opinion, only be released after
> its documentation is complete and correct and put on the Gambas wiki.
> Do the developers really believe that a potential Gambas user will read
> all the source code to understand how the properties, methods and events
> work? (I, for one, have never learned C.) To me, for example, it is clear
> after over 44 years as a grammar school teacher -- among others for
> Computer Science -- that nothing motivates more than success und success
> has to be prepared.
>
> This brings us to the crucial point with Gambas: all efforts should
> currently
> be directed towards quickly closing the gaps and flaws in the
> documentation!
> One only learns a language well by speaking it -- and this is only possible
> with a good dictionary! Such an excellent programming language as Gambas
> should enjoy a thorough documentation of the existing components and
> classes
> with small projects or code snippets which show the essential properties
> and methods in action. If you have a look at the current state of the
> documentation, you will see that it is exceedingly incomplete. Do the
> developers seriously think that the Gambas programmers can read in a
> crystal
> ball if all that's known about a class is the names of its properties,
> methods and events?
>
> The software farm with its projects does not replace a systematic treatment
> of the basics of the language. The online book wanted to provide just that
> for the German-speaking Gambas programmers, and those who want to be! If
> none or only insufficient information about the properties, methods and
> events of a Gambas class is available, then a newbie or a Gambas
> programmer,
> who wants to use this class, will resign and turn to other languages.
>
> My wish is essentially just that the developers do their job until the end
> and provide the documentation for their classes, because only then can
> their
> valuable work be truly useful. Only then can Gambas finally make progress.
>
> Honsek
> www.gambas-buch.de
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fernando Cabral
Blogue: http://fernandocabral.org
Twitter: http://twitter.com/fjcabral
e-mail: fernandojosecab...@gmail.com
Facebook: f...@fcabral.com.br
Telegram: +55 (37) 99988-8868
Wickr ID: fernandocabral
WhatsApp: +55 (37) 99988-8868
Skype:  fernandojosecabral
Telefone fixo: +55 (37) 3521-2183
Telefone celular: +55 (37) 99988-8868

Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos,
nenhum político ou cientista poderá se gabar de nada.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sharing Code Between Projects

2017-06-06 Thread Charlie
If you want to use a Module that is in another program just right click on
FMain in the Project window and click in Import.. 

 

Navigate to the Module you want and open it in your project.

Or did I misunderstand what you are looking for?





-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Sharing-Code-Between-Projects-tp59251p59254.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sharing Code Between Projects

2017-06-06 Thread adamn...@gmail.com
On Tue, 6 Jun 2017 02:22:26 -0700 (MST)
alexchernoff  wrote:

> Dear All,
> 
> I have multiple projects sharing certain modules such as logging, config
> routines... I created a symlink in each project's .src directory pointing to
> the actual file (with relative path like ln -s
> ../../../../SHARED/Mod_Logging.module)
> 
> Gambas sees it, also recognizes it as a link (icon has an arrow) but it's
> read only and no way to unlock. I tried all possible permissions and still
> no luck.
> 
> Anyone know about this or maybe better way to share modules?
> 
> thanks!
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/Sharing-Code-Between-Projects-tp59251.html
> Sent from the gambas-user mailing list archive at Nabble.com.
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


See here : http://gambaswiki.org/wiki/doc/library

-- 
B Bruen 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Sharing Code Between Projects

2017-06-06 Thread alexchernoff
Dear All,

I have multiple projects sharing certain modules such as logging, config
routines... I created a symlink in each project's .src directory pointing to
the actual file (with relative path like ln -s
../../../../SHARED/Mod_Logging.module)

Gambas sees it, also recognizes it as a link (icon has an arrow) but it's
read only and no way to unlock. I tried all possible permissions and still
no luck.

Anyone know about this or maybe better way to share modules?

thanks!





--
View this message in context: 
http://gambas.8142.n7.nabble.com/Sharing-Code-Between-Projects-tp59251.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user