[Gambas-user] DataBrowser Help Again
Christian e Ana Luiza Britto
chriseana at ...626...
Tue Dec 16 16:38:18 CET 2014
Hi Fabien,
The Datasource connection problem is happening here too... The same as
you. But I solved that declaring the conenction by code.
Public ConnectionName As Connection = New Connection
ConnectionName.Host = Application.Path
ConnectionName.name = "Yourdatabase.sqlite"
Connectionname.type = "sqlite3"
DataSourceX.Connection = ConnectionName
Best regards,
Christian
2014-12-16 12:55 GMT-02:00, gambas-user-request at lists.sourceforge.net
<gambas-user-request at lists.sourceforge.net>:
> Send Gambas-user mailing list submissions to
> gambas-user at lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> or, via email, send a message with subject or body 'help' to
> gambas-user-request at lists.sourceforge.net
>
> You can reach the person managing the list at
> gambas-user-owner at lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gambas-user digest..."
>
>
> Today's Topics:
>
> 1. Re: Where are the examples? (Ron)
> 2. Re: Where are the examples? (rolf)
> 3. Re: DataBrowser Help Again (Fabien Bodard)
> 4. Re: Where are the examples? (Jussi Lahtinen)
> 5. Re: Where are the examples? (Beno?t Minisini)
> 6. SerialPort: RS232 DTR problem (Tobias Boege)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 16 Dec 2014 13:33:02 +0100
> From: Ron <ron at ...1740...>
> Subject: Re: [Gambas-user] Where are the examples?
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID:
> <CAM+S5norSKw9MSuoHZBd0wcqBWW33VCSWKMz=VQpd+Zd+cx-hw at ...627...>
> Content-Type: text/plain; charset=UTF-8
>
> Benoit,
> Watch out getting to close to the visualbasic way of thinking.
> Please keep things simple and logical...
> Examples are the first thing new users will look for.. Don't make them hard
> to find. ;P
>
> Regards,
> Ron
> Op 16 dec. 2014 12:51 schreef "Beno?t Minisini" <
> gambas at ...1...>:
>
>> Le 16/12/2014 12:31, rolf a ?crit :
>>
>>> Hello Beno?t
>>>
>>> yesterday evening I compiled Gambas from trunk and no examples have
>>> been
>>>>> installed.
>>>>>
>>>>> Also the menue entry "open example" has gone.
>>>>>
>>>>> Working with the Software Farm makes me crazy. After an installation
>>>>> I
>>>>> do not find the program and the source code either. Where will the
>>>>> programs be installed?
>>>>>
>>>>
>>> There is a new bookmark "installed programs" in the project open
>>> dialog.
>>>> This is where installed programs... are installed.
>>>>
>>>
>>> But the entry is empty?? after install of a program from the software
>>> farm
>>> (see attached screenshots)
>>>
>>
>> There...
>>
>> --
>> Beno?t Minisini
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 16 Dec 2014 13:48:45 +0100
> From: rolf <rolf.frogs at ...221...>
> Subject: Re: [Gambas-user] Where are the examples?
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <201412161348.46352.rolf.frogs at ...221...>
> Content-Type: Text/Plain; charset="utf-8"
>
> Hello Beno?t
>
>> >>> yesterday evening I compiled Gambas from trunk and no examples have
>> >>> been installed.
>> >>>
>> >>> Also the menue entry "open example" has gone.
>> >>>
>> >>> Working with the Software Farm makes me crazy. After an installation
>> >>> I
>> >>> do not find the program and the source code either. Where will the
>> >>> programs be installed?
>> >>
>> >> There is a new bookmark "installed programs" in the project open
>> >> dialog.
>> >> This is where installed programs... are installed.
>> >
>> > But the entry is empty?? after install of a program from the software
>> > farm (see attached screenshots)
>>
>> There...
>
> No, the shown window is empty on my site and I found no way to move to
> the .local (i.e. hidden) directory from Gambas start page - or the open
> projekt or open file entries.
>
> In ./local/share/gambas3/src/example/AnalogWatch/ the program can be found,
>
> but I don't know how to access it from within Gambas.
>
> Is there a way, to configure the pathes?
>
> Many thanks
> Rolf
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 16 Dec 2014 13:59:38 +0100
> From: Fabien Bodard <gambas.fr at ...626...>
> Subject: Re: [Gambas-user] DataBrowser Help Again
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID:
> <CAFkCsL74R7JPPiv2aipuceGBa36XiM-C0zfV4SaOoYJB2WDYSQ at ...627...>
> Content-Type: text/plain; charset=UTF-8
>
> I have problems on setting the database connection property on
> databrowser too. when the cell lose the focus the connection name
> desapear.
>
> so then i can't choose table name !
>
> 2014-12-15 22:23 GMT+01:00 T Lee Davidson <t.lee.davidson at ...626...>:
>> Hello Christian,
>>
>> I did not have any success getting the IDE to give me any options for the
>> Connection property. (The list was always blank.) So, I set it
>> programmatically.
>>
>> With your app, on the form, make sure the DataSource control is the
>> parent
>> of the DataBrowser.
>>
>> Sample project attached.
>>
>>
>> --
>> Lee
>> __________
>>
>> "Artificial Intelligence is no match for natural stupidity."
>>
>>
>>
>> On 12/14/2014 03:31 PM, Christian e Ana Luiza Britto wrote:
>>>
>>> Hi Beno?t Minisini and everybody
>>>
>>> Yes, I've tried to follow the Database example. If I run it it works,
>>> but my app still doesn't work. I'm using Gambas version 3.6.90.
>>>
>>> When I try to inform the Datasource connection name property via IDE
>>> the database connection I inform is not maintained, when I click in
>>> other place the name I just typed before just disappear... :(
>>>
>>> Please, can you send me a very simple code sample for me to try to
>>> follow?
>>> There's something very obvious that I'm not understanding...
>>>
>>> Christian
>>>
>>>
>>> Le 14/12/2014 13:34, Christian e Ana Luiza Britto a ?crit :
>>>>
>>>> Hi,
>>>> I'm trying to make a form with a DataBrowser to edit fields in a
>>>> SqLite 3 table. I've tryed everything... I made a connection, put the
>>>> datasource container in a form with the Databrowser within with the
>>>> columns and labels names but nothing happen. It doesn't work.
>>>>
>>>> Please, someone can share with me the correct coding to make the
>>>> connection, create the DataSource and make the Databrowser to work?
>>>> I'm trying for a few days now... :(
>>>> Best regards from Brazil,
>>>> Chrisian De Britto
>>>>
>>>
>>> Did you look at the 'Database' example?
>>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
>
> --
> Fabien Bodard
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 16 Dec 2014 16:35:00 +0200
> From: Jussi Lahtinen <jussi.lahtinen at ...626...>
> Subject: Re: [Gambas-user] Where are the examples?
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID:
> <CAFJMe7QK1uRUO77ytGb=VbbdhzdXPcNdExE0x_B4D3+dFik1Fw at ...627...>
> Content-Type: text/plain; charset=UTF-8
>
> Maybe "examples" option could be added to main dialog (the place where it
> used to be) after you have installed at least one example?
> Or maybe it could be there, and when clicked it would say "no examples
> installed, you can find them from software farm".
>
>
> Jussi
>
> On Tue, Dec 16, 2014 at 12:50 PM, Beno?t Minisini <
> gambas at ...1...> wrote:
>>
>> Le 16/12/2014 10:14, rolf a ?crit :
>> > Hi,
>> >
>> > yesterday evening I compiled Gambas from trunk and no examples have
>> > been
>> > installed.
>> >
>> > Also the menue entry "open example" has gone.
>> >
>> > Working with the Software Farm makes me crazy. After an installation I
>> do not
>> > find the program and the source code either. Where will the programs be
>> > installed?
>> >
>> > Many questions from
>> > Rolf
>> >
>>
>> There is a new bookmark "installed programs" in the project open dialog.
>> This is where installed programs... are installed.
>>
>> Each installed program has a vendor name, and that vendor name is used
>> as a sub-directory in the "installed programs" directory.
>>
>> "Example" is the vendor name reserved for examples, so in the future it
>> will be easy to insert the list of installed examples in the IDE welcome
>> dialog as before.
>>
>> Regards,
>>
>> --
>> Beno?t Minisini
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 16 Dec 2014 15:47:52 +0100
> From: Beno?t Minisini <gambas at ...1...>
> Subject: Re: [Gambas-user] Where are the examples?
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <54904618.8050802 at ...1...>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Le 16/12/2014 15:35, Jussi Lahtinen a ?crit :
>> Maybe "examples" option could be added to main dialog (the place where it
>> used to be) after you have installed at least one example?
>> Or maybe it could be there, and when clicked it would say "no examples
>> installed, you can find them from software farm".
>>
>>
>> Jussi
>>
>
> Yes.
>
> --
> Beno?t Minisini
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 16 Dec 2014 15:52:06 +0100
> From: Tobias Boege <taboege at ...626...>
> Subject: [Gambas-user] SerialPort: RS232 DTR problem
> To: gambas-user at lists.sourceforge.net
> Message-ID: <20141216145206.GA547 at ...2774...>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> [ this is a forwarded bug report -- and this time I'm only translating. I
> don't understand any of these hardware things. If there are questions
> left, don't hesitate; ]
>
> a user complains that SerialPort.DTR is buggy on his system: after
> initialisation, this property is False and the voltage is -12V.
>
> Setting it to True works and the voltage raises to +12V. But setting it to
> False afterwards does nothing: the property continues to return True the
> voltage remains on +12V. The needed hardware is an RS232 or an RS232-USB
> adapter.
>
> He says it worked with Gambas2 and he first noticed that it didn't with
> Gambas 3.1.1 (from the Ubuntu repositories). I urged him to update and the
> error still happens with 3.6.2.
>
> Attached is the project we came up with to reproduce the issue. He also
> mentioned that behaviour changed slightly when he left out the graphical
> component he initially used his project with: with a graphical component,
> the hardware didn't react and the property remained True and without a
> graphical component, the hardware reacts correctly, only the property gives
> the wrong value -- if I got him right.
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: DTR-Test.tar.gz
> Type: application/octet-stream
> Size: 4842 bytes
> Desc: not available
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>
> ------------------------------
>
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> End of Gambas-user Digest, Vol 103, Issue 40
> ********************************************
>
More information about the User
mailing list