[Gambas-user] external function freezes

2018-06-08 Thread Demosthenes Koptsis
Hello, i implemented a ptrace and waitpid external functions in order to 
read/write a memory address of a process.


i want to make a trainer for a game in gambas and i created a small 
program that reads and writes to a memory process.


The problem is that when i try to write to memory it freezes at waitpid 
line.


i attach the test program you have to 1) open it as root 2) run a 
process you want to hack and get the pid 3) scan memory with scanmem and 
locate an address you want to write. 4) run my test program and see it 
freezes.


Any help?



Memory.tar.gz
Description: application/gzip
--
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] About trayIcon popupmenu.

2016-10-28 Thread Demosthenes Koptsis
See at Application Farm, the VirtualDVD project.

It implements the sys tray icon with a popup menu


On 10/28/2016 07:49 PM, Gianluigi wrote:
> Hi Jorge,
> not sure I understand.
> Had you seen this post? [0]
> Regards
> Gianluigi
>
> [0] http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event-td57442.html
>
> 2016-10-28 18:01 GMT+02:00 Jorge Carrión :
>
>> This is the code of the old trayIcon example from Benoit..
>>
>> Private $hTrayIcon As TrayIcon
>>
>> Public Sub Main()
>>
>>$hTrayIcon = New TrayIcon As "TrayIcon"
>>$hTrayIcon.Show
>>
>> End
>>
>> Public Sub TrayIcon_MouseDown()
>>
>>$hTrayIcon.Hide
>>
>> End
>>
>> It works for me except the MouseDown event, that works now with Click
>> Event.
>> Ok.
>> There isn't any Form here... How the PopupMenu property is suposed to be
>> implemented? A Menu needs a Form as parent as I know...
>>
>> Best Regards.
>> 
>> --
>> The Command Line: Reinvented for Modern Developers
>> Did the resurgence of CLI tooling catch you by surprise?
>> Reconnect with the command line and become more productive.
>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>> http://sdm.link/telerik
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] App idle with long loops

2016-10-08 Thread Demosthenes Koptsis
On 8/10/2016 19:09 μμ, Tobias Boege wrote:
> On Sat, 08 Oct 2016, Demosthenes Koptsis wrote:
>> Hello,
>>
>> i have very long (time consuming) For loops and my app is frozen until
>> loop is finished.
>>
>> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To
>> sOUTPUT
>>
>> 'get urls
>> For i = 0 To iDepth
>>   wgetURLS(i * 10)
>> Next
>>
>> Public Sub wgetURLS(iStart As Integer)
>> .
>>
>> Shell("wgetURLS.sh") To sOUTPUT
>>
>> .
>>
>> --
>>
>> Is there possible to set the gui idle and the same time run For...loops?
>>
> If you only want to refresh the GUI (e.g. if your For loops update a
> ProgressBar on your form and you want to update the value of that bar
> during the loop), then Wait [1] is sufficient.
>
> If you want the GUI to be fully operatable while your loops run in the
> background, you have to use a background Task [2]. As Gambas is single-
> threaded, Tasks are implemented as external processes which execute one
> of your classes. This limits the things you can do with Tasks (you cannot
> directly modify the main program, for example, but have to send data and
> status reports through a pipe from your Task to the main process and
> interpret them there). However, if all you want is loading some files via
> wget, that should not be a problem.
>
> Of course, there is also the gb.net.curl component which can download files
> asynchronously. If you can use that (which depends on what you want to do),
> you should.
>
> And as a fourth option, looking further into your code: if you want to
> execute shell scripts in a For loop, then don't use the Shell-To syntax
> but create a Process object instead and accumulate its output in Read
> events. The event loop will take care of everything and the GUI will be
> usable without any extra effort on your side.
>
> Finding the best solution depends, who would have thought, on what you want
> to do *specifically*. Tasks are the most general and most cumbersome option.
>
> Regards,
> Tobi
>
> [1] http://gambaswiki.org/wiki/lang/wait
> [2] http://gambaswiki.org/wiki/comp/gb/task
>
Thanks very much for the details.

Regards,

Dim


--
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] App idle with long loops

2016-10-08 Thread Demosthenes Koptsis
Hello,

i have very long (time consuming) For loops and my app is frozen until 
loop is finished.

for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To 
sOUTPUT

   'get urls
   For i = 0 To iDepth
 wgetURLS(i * 10)
   Next

Public Sub wgetURLS(iStart As Integer)
.

Shell("wgetURLS.sh") To sOUTPUT

.

--

Is there possible to set the gui idle and the same time run For...loops?


--
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] x86 and x64 executables

2016-10-05 Thread Demosthenes Koptsis
Thanks Tobi !!!


On 10/05/2016 10:54 AM, Tobias Boege wrote:
> On Wed, 05 Oct 2016, Demosthenes Koptsis wrote:
>> Hello,
>>
>> is there possible to create gambas3 application
>>
>> for x64 and x86 architectures from the same gambas3 IDE?
>>
>> Or i have to install gambas3 in separated machines?
>>
> Gambas applications are compiled into bytecode which is interpreted by
> the... interpreter. Your Gambas projects are independent of the under-
> lying architecture. They run as soon as you have Gambas installed on
> your machine of choice.
>
> Regards,
> Tobi
>


--
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] x86 and x64 executables

2016-10-05 Thread Demosthenes Koptsis
Hello,

is there possible to create gambas3 application

for x64 and x86 architectures from the same gambas3 IDE?

Or i have to install gambas3 in separated machines?


Regards,

Dim


--
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] Load an Image from Data

2016-10-05 Thread Demosthenes Koptsis
Yes, that was it!

Thanks
Dim

On 4/10/2016 22:04 μμ, Gianluigi wrote:
> Not sure I understand:
>
> PictureBox1.Picture = Picture["NamePicture.extension"]
>
> 2016-10-04 19:55 GMT+02:00 Demosthenes Koptsis :
>
>> Hi,
>>
>> i have 3 images imported in a Gambas3 Project.
>>
>> The images are in Data folder of Gambas IDE.
>>
>> How do i load an image from Data folder?
>>
>>
>> Regards,
>>
>> Dim
>>
>>
>> 
>> --
>> 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] sni-qt/3330" WARN

2016-10-04 Thread Demosthenes Koptsis
Hello,

i follow your suggestion, and i think is easier to create with IDE the 
menu and after assign it to TrayIcon.

Thanks for the hack

On 3/10/2016 22:25 μμ, Gianluigi wrote:
> I think it's better to create the menu with the IDE gambas.
> Create the TrayIcon as in this thread [0] and close the window into
> Form_Open.
>
> [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html
>
> 2016-10-03 21:16 GMT+02:00 Demosthenes Koptsis :
>
>> Hi,
>>
>> i try to Run the systray project in Linux Mint 18 Mate x64, edition
>>
>> and i get
>>
>> "sni-qt/3330" WARN  22:10:44.398 void
>> StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
>>
>> finally the project cannot run
>>
>>
>>
>> 
>> --
>> 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


[Gambas-user] Load an Image from Data

2016-10-04 Thread Demosthenes Koptsis
Hi,

i have 3 images imported in a Gambas3 Project.

The images are in Data folder of Gambas IDE.

How do i load an image from Data folder?


Regards,

Dim


--
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] sni-qt/3330" WARN

2016-10-03 Thread Demosthenes Koptsis
If i create the Menu with IDE Gambas it will be a menu on top of the form.

Creating the menu by code it is ok now.
The only change to work was to add at the end of New() the event name

  hMenu = New Menu(Me, True) As "RootMenu"
  hMenu2 = New Menu(hMenu) As "Menu2"
  hMenu3 = New Menu(hMenu) As "Menu3"

On 3/10/2016 22:25 μμ, Gianluigi wrote:
> I think it's better to create the menu with the IDE gambas.
> Create the TrayIcon as in this thread [0] and close the window into
> Form_Open.
>
> [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html
>
> 2016-10-03 21:16 GMT+02:00 Demosthenes Koptsis :
>
>> Hi,
>>
>> i try to Run the systray project in Linux Mint 18 Mate x64, edition
>>
>> and i get
>>
>> "sni-qt/3330" WARN  22:10:44.398 void
>> StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
>>
>> finally the project cannot run
>>
>>
>>
>> 
>> --
>> 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


[Gambas-user] Fwd: sni-qt/3330" WARN

2016-10-03 Thread Demosthenes Koptsis
Sorry for my mistake

The program runs but i get this message in console

"sni-qt/3330" WARN  22:10:44.398 void
StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE




 Forwarded Message 
Subject:sni-qt/3330" WARN
Date:   Mon, 3 Oct 2016 22:16:20 +0300
From:   Demosthenes Koptsis 
To: gambas-user@lists.sourceforge.net



Hi,

i try to Run the systray project in Linux Mint 18 Mate x64, edition

and i get

"sni-qt/3330" WARN  22:10:44.398 void
StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE

finally the project cannot run


--
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] sni-qt/3330" WARN

2016-10-03 Thread Demosthenes Koptsis
Hi,

i try to Run the systray project in Linux Mint 18 Mate x64, edition

and i get

"sni-qt/3330" WARN  22:10:44.398 void 
StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE

finally the project cannot run



--
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] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
yes you are right ... it was my mistake during copy/paste

On 3/10/2016 21:00 μμ, Gianluigi wrote:
> In my Ubuntu the your code without *hMenu.Name = "hMenu"* do not work.
>
> And this code is unnecessary:
>
> Public Sub TrayIcon1_Click()
>
> hMenu.Popup
>
> End
>
> Public Sub Timer1_Timer()
>
> If Me.Visible == True Then
>   Me.Visible = False
> Endif
>
> End
>
> 2016-10-03 18:38 GMT+02:00 Demosthenes Koptsis :
>
>> Yes it works also in Ubuntu Mate.
>>
>> Final code:
>> --
>> ' Gambas class file
>>
>> Public hMenu As Menu
>> Public hMenu2 As Menu
>> Public hMenu3 As Menu
>>
>> Public Sub Form_Open()
>>
>> TrayIcon1.PopupMenu = "hMenu"
>> TrayIcon1.Show
>> TrayIcon1.Visible = True
>>
>>'Create the popup menu
>> hMenu = New Menu(Me, True) As "RootMenu"
>>
>> hMenu2 = New Menu(hMenu) As "Menu2"
>> hMenu2.Text = "Mount ISO"
>>
>> hMenu3 = New Menu(hMenu) As "Menu3"
>> hMenu3.Text = "Unmount ISO"
>>
>> End
>>
>> Public Sub TrayIcon1_Click()
>>
>> hMenu.Popup
>>
>> End
>>
>> Public Sub Timer1_Timer()
>>
>> If Me.Visible == True Then
>>   Me.Visible = False
>> Endif
>>
>> End
>>
>> Public Sub Menu2_Click()
>>
>> Message.Info("hello Menu2")
>>
>> End
>>
>> Public Sub Menu3_Click()
>>
>> Message.Info("hello Menu3")
>>
>> End
>> 
>>
>> On 3/10/2016 19:18 μμ, Gianluigi wrote:
>>> Hello Charlie,
>>> It also works the message?
>>>
>>> 2016-10-03 15:55 GMT+02:00 Charlie :
>>>
>>>> Your code works fine in Linux Mint 18 Cinnamon 64bit
>>>> http://www.cogier.com/gambas/TestG.png
>>>> <http://www.cogier.com/gambas/TestG.png>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context: http://gambas.8142.n7.nabble.
>>>> com/Menu-has-no-Click-event-tp57442p57457.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
>>
>> 
>> --
>> 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] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
Yes it works also in Ubuntu Mate.

Final code:
--
' Gambas class file

   Public hMenu As Menu
   Public hMenu2 As Menu
   Public hMenu3 As Menu

Public Sub Form_Open()

   TrayIcon1.PopupMenu = "hMenu"
   TrayIcon1.Show
   TrayIcon1.Visible = True

  'Create the popup menu
   hMenu = New Menu(Me, True) As "RootMenu"

   hMenu2 = New Menu(hMenu) As "Menu2"
   hMenu2.Text = "Mount ISO"

   hMenu3 = New Menu(hMenu) As "Menu3"
   hMenu3.Text = "Unmount ISO"

End

Public Sub TrayIcon1_Click()

   hMenu.Popup

End

Public Sub Timer1_Timer()

   If Me.Visible == True Then
 Me.Visible = False
   Endif

End

Public Sub Menu2_Click()

   Message.Info("hello Menu2")

End

Public Sub Menu3_Click()

   Message.Info("hello Menu3")

End


On 3/10/2016 19:18 μμ, Gianluigi wrote:
> Hello Charlie,
> It also works the message?
>
> 2016-10-03 15:55 GMT+02:00 Charlie :
>
>> Your code works fine in Linux Mint 18 Cinnamon 64bit
>> http://www.cogier.com/gambas/TestG.png
>> 
>>
>>
>>
>> --
>> View this message in context: http://gambas.8142.n7.nabble.
>> com/Menu-has-no-Click-event-tp57442p57457.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


--
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] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
On 3/10/2016 16:10 μμ, Gianluigi wrote:
> You can take a look here [0].
> I repeat, in Ubuntu click the icon is not registered by the poject.

What does it mean?
In Ubuntu, the TrayIcon is been seen correctly.
But when i click it, Public Sub TrayIcon1_Click()
is been called.

How can i have access to each Menu_Click() subroutines?

> Regards
> Gianluigi
> [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html
>
> [System]
> Gambas=3.9.90 r7884
> OperatingSystem=Linux
> Kernel=4.4.0-38-generic
> Architecture=x86_64
> Distribution=Ubuntu 16.04.1 LTS
> Desktop=UNITY
> Theme=Cleanlooks
> Language=it_IT.UTF-8
> Memory=15975M
>
> [Libraries]
> Cairo=libcairo.so.2.11400.6
> Curl=libcurl.so.4.4.0
> DBus=libdbus-1.so.3.14.6
> GStreamer=libgstreamer-1.0.so.0.802.0
> GTK+2=libgtk-x11-2.0.so.0.2400.30
> GTK+3=libgtk-3.so.0.1800.9
> OpenGL=libGL.so.1.0.0
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.58.0.0
> QT4=libQtCore.so.4.8.7
> QT5=libQt5Core.so.5.5.1
> SDL=libSDL-1.2.so.0.11.4
> SQLite=libsqlite3.so.0.8.6
>
> [Environment]
> CLUTTER_IM_MODULE=xim
> COMPIZ_BIN_PATH=/usr/bin/
> COMPIZ_CONFIG_PROFILE=ubuntu
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-k6RIFlWV3J
> DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
> DESKTOP_SESSION=ubuntu
> DISPLAY=:0
> GB_GUI=gb.qt4
> GDMSESSION=ubuntu
> GDM_LANG=it
> GIO_LAUNCHED_DESKTOP_FILE=/home//.local/share/applications/gambas3.desktop
> GIO_LAUNCHED_DESKTOP_FILE_PID=5746
> GNOME_DESKTOP_SESSION_ID=this-is-deprecated
> GNOME_KEYRING_CONTROL=
> GNOME_KEYRING_PID=
> GPG_AGENT_INFO=/home//.gnupg/S.gpg-agent:0:1
> GTK2_MODULES=overlay-scrollbar
> GTK_IM_MODULE=ibus
> GTK_MODULES=gail:atk-bridge:unity-gtk-module
> HOME=/home/
> IM_CONFIG_PHASE=1
> INSTANCE=
> JOB=unity-settings-daemon
> LANG=it_IT.UTF-8
> LANGUAGE=it
> LOGNAME=
> MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> PWD=/home/
> QT4_IM_MODULE=xim
> QT_ACCESSIBILITY=1
> QT_IM_MODULE=ibus
> QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
> QT_QPA_PLATFORMTHEME=appmenu-qt5
> SESSION=ubuntu
> SESSIONTYPE=gnome-session
> SESSION_MANAGER=local/:@/tmp/.ICE-unix/1405,unix/:/tmp/.ICE-unix/1405
> SHELL=/bin/bash
> SHLVL=0
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> TZ=:/etc/localtime
> UPSTART_EVENTS=xsession started
> UPSTART_INSTANCE=
> UPSTART_JOB=unity7
> UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1207
> USER=
> XAUTHORITY=/home//.Xauthority
> XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
> XDG_CURRENT_DESKTOP=Unity
> XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
> XDG_MENU_PREFIX=gnome-
> XDG_RUNTIME_DIR=/run/user/1000
> XDG_SEAT=seat0
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> XDG_SESSION_DESKTOP=ubuntu
> XDG_SESSION_ID=c1
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> XDG_SESSION_TYPE=x11
> XDG_VTNR=7
> XMODIFIERS=@im=ibus
>
> 2016-10-03 14:27 GMT+02:00 Demosthenes Koptsis :
>
>> On 3/10/2016 14:39 μμ, Benoît Minisini wrote:
>>> Le 03/10/2016 à 13:33, Demosthenes Koptsis a écrit :
>>>> On 3/10/2016 14:21 μμ, Benoît Minisini wrote:
>>>>> Le 03/10/2016 à 10:32, Demosthenes Koptsis a écrit :
>>>>>> Hello,
>>>>>>
>>>>>> i try to implement a systray icon with a popup menu.
>>>>>>
>>>>>> In wiki says that each menu has a Click() event but i cannot find it
>> in
>>>>>> code.
>>>>>>
>>>>>> I attach the small project.
>>>>>>
>>>>> Are you using the last version finally?
>>>>>
>>>> i use 3.9.0
>>>>
>>> Your program cannot work:
>>> - You must give your popup-menu a name that matches the string defined
>>> in the TrayIcon PopupMenu property.
>>> - You must define that menu before setting the property (this should not
>>> be necessary, but at the moment it works like that).
>>> - Once the popup menu is defined, you should not let-it popup on the
>>> Click event.
>>>
>>> All what I said is true with the new trayicon procotol.
>>>
>>> I guess you are using an old desktop that does not implement it, and so
>>> has other problems.
>>>
>>> Please post your system information so that I know.
>>>
>>> Regards,
>>>
>> Ok i put a Name to the hMenu

Re: [Gambas-user] gb.jit Ubuntu 16.04.1 LTS

2016-10-03 Thread Demosthenes Koptsis
On 3/10/2016 15:23 μμ, Ron wrote:
> I wonder can't the configure steps find this out by themselves. Ie. Try if
> the specific config versions exists of default cannot be found?
>
> Op 3 okt. 2016 17:01 schreef "Gianluigi" :
>
>> Hello Demosthenes,
>>
>> Benoit Minisini docet:
>>
>> $ ./reconf
>> $ LLVM_CONFIG=llvm-config-3.5 ./configure -C
>> $ make
>>
>> Regards
>> Gianluigi
>>
>> 2016-10-02 23:01 GMT+02:00 Demosthenes Koptsis :
>>
>>> Hello,
>>>
>>> i have apt-get install all packages according help wiki.
>>>
>>> i get this error
>>>
>>> ||
>>> || THESE COMPONENTS ARE DISABLED:
>>> || - gb.jit
>>> ||
>>>
>>> what packages i need to install ?
>>>
>>> In wiki says LLVM >= 3.1
>>>
>>> but what packages are they?
>>>
>>>
>>> Regards Dim
>>>
>>>
>>> 
>>> --
>>> 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

ubuntu has llvm 3.8 by default.

i have installed both 3.8 and 3.5 and with

LLVM_CONFIG=llvm-config-3.5 ./configure -C
it works

now i run gambas 3.9.2 finally


--
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] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
On 3/10/2016 14:39 μμ, Benoît Minisini wrote:
> Le 03/10/2016 à 13:33, Demosthenes Koptsis a écrit :
>> On 3/10/2016 14:21 μμ, Benoît Minisini wrote:
>>> Le 03/10/2016 à 10:32, Demosthenes Koptsis a écrit :
>>>> Hello,
>>>>
>>>> i try to implement a systray icon with a popup menu.
>>>>
>>>> In wiki says that each menu has a Click() event but i cannot find it in
>>>> code.
>>>>
>>>> I attach the small project.
>>>>
>>> Are you using the last version finally?
>>>
>> i use 3.9.0
>>
> Your program cannot work:
> - You must give your popup-menu a name that matches the string defined
> in the TrayIcon PopupMenu property.
> - You must define that menu before setting the property (this should not
> be necessary, but at the moment it works like that).
> - Once the popup menu is defined, you should not let-it popup on the
> Click event.
>
> All what I said is true with the new trayicon procotol.
>
> I guess you are using an old desktop that does not implement it, and so
> has other problems.
>
> Please post your system information so that I know.
>
> Regards,
>
Ok i put a Name to the hMenu ... still no Click() event



' Gambas class file

   Public hMenu As Menu
   Public hMenu2 As Menu
   Public hMenu3 As Menu

Public Sub Form_Open()

  'Create the popup menu
   hMenu = New Menu(Me, True)
   hMenu.Name = "hMenu"

   hMenu2 = New Menu(hMenu)
   hMenu2.Text = "Mount ISO"

   hMenu3 = New Menu(hMenu)
   hMenu3.Text = "Unmount ISO"

   TrayIcon1.PopupMenu = "hMenu"
   TrayIcon1.Show
   TrayIcon1.Visible = True

End

Public Sub TrayIcon1_Click()

   hMenu.Popup

End

Public Sub Timer1_Timer()

   If Me.Visible == True Then
 Me.Visible = False
   Endif

End

Public Sub hMenu2_Click()

   Message.Info("hello qwerty")

End

-



--
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] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
On 3/10/2016 14:39 μμ, Benoît Minisini wrote:
> Le 03/10/2016 à 13:33, Demosthenes Koptsis a écrit :
>> On 3/10/2016 14:21 μμ, Benoît Minisini wrote:
>>> Le 03/10/2016 à 10:32, Demosthenes Koptsis a écrit :
>>>> Hello,
>>>>
>>>> i try to implement a systray icon with a popup menu.
>>>>
>>>> In wiki says that each menu has a Click() event but i cannot find it in
>>>> code.
>>>>
>>>> I attach the small project.
>>>>
>>> Are you using the last version finally?
>>>
>> i use 3.9.0
>>
> Your program cannot work:
> - You must give your popup-menu a name that matches the string defined
> in the TrayIcon PopupMenu property.
> - You must define that menu before setting the property (this should not
> be necessary, but at the moment it works like that).
> - Once the popup menu is defined, you should not let-it popup on the
> Click event.
>
> All what I said is true with the new trayicon procotol.
>
> I guess you are using an old desktop that does not implement it, and so
> has other problems.
>
> Please post your system information so that I know.
>
> Regards,
>
i use latest Ubuntu 16.04.1 LTS Mate edition



--
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] gb.jit Ubuntu 16.04.1 LTS

2016-10-03 Thread Demosthenes Koptsis
On 3/10/2016 12:01 μμ, Gianluigi wrote:
> LLVM_CONFIG=llvm-config-3.5 ./configure -C

ok it has accepted it now i build with make

let's see...



--
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] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis
On 3/10/2016 14:21 μμ, Benoît Minisini wrote:
> Le 03/10/2016 à 10:32, Demosthenes Koptsis a écrit :
>> Hello,
>>
>> i try to implement a systray icon with a popup menu.
>>
>> In wiki says that each menu has a Click() event but i cannot find it in
>> code.
>>
>> I attach the small project.
>>
> Are you using the last version finally?
>
i use 3.9.0



--
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] Menu has no Click() event

2016-10-03 Thread Demosthenes Koptsis

Hello,

i try to implement a systray icon with a popup menu.

In wiki says that each menu has a Click() event but i cannot find it in 
code.


I attach the small project.




TestG.tar.gz
Description: GNU Zip compressed data
--
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] gb.jit Ubuntu 16.04.1 LTS

2016-10-02 Thread Demosthenes Koptsis
Hello,

i have apt-get install all packages according help wiki.

i get this error

||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.jit
||

what packages i need to install ?

In wiki says LLVM >= 3.1

but what packages are they?


Regards Dim


--
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] libpq.so

2016-10-02 Thread Demosthenes Koptsis
Hello,

in my lmde2 i have the libpq.so file in folder

/usr/lib/x86_64-linux-gnu/libpq.so


however the configure -C command cannot find it and i get

||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.db.postgresql


--
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] reconf-all error

2016-10-02 Thread Demosthenes Koptsis
Ok, thanks

if you want add libtool to sudo-apt get packages for debian.


On 10/02/2016 09:13 PM, Benoît Minisini wrote:
> Le 02/10/2016 à 19:55, Demosthenes Koptsis a écrit :
>> Hello,
>>
>> i get these errors please help...
>>
>> user@lmde-laptop ~/Downloads/gambas3-3.9.1 $ ./reconf-all
>> ./reconf-all: 7: ./reconf-all: libtoolize: not found
>> autoreconf: Entering directory `.'
>> autoreconf: configure.ac: not using Gettext
>> autoreconf: running: aclocal
>> aclocal: warning: couldn't open directory 'm4': No such file or directory
>> autoreconf: configure.ac: tracing
>> autoreconf: configure.ac: adding subdirectory main to autoreconf
>> autoreconf: Entering directory `main'
>> autoreconf: running: aclocal -I m4 --install
>> autoreconf: configure.ac: not using Libtool
>> autoreconf: running: /usr/bin/autoconf
>> configure:4148: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
>> If this token and others are legitimate, please use m4_pattern_allow.
>> See the Autoconf documentation.
>> configure:4150: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
>> configure:4151: error: possibly undefined macro: AC_DISABLE_STATIC
>> autoreconf: /usr/bin/autoconf failed with exit status: 1
>> user@lmde-laptop ~/Downloads/gambas3-3.9.1 $
>>
>> my os is lmde2.
>>
>>
>>
>> --
>> 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
>>
> You must install libtool package.
>
> Regards,
>


--
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] reconf-all error

2016-10-02 Thread Demosthenes Koptsis
Hello,

i get these errors please help...

user@lmde-laptop ~/Downloads/gambas3-3.9.1 $ ./reconf-all
./reconf-all: 7: ./reconf-all: libtoolize: not found
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory main to autoreconf
autoreconf: Entering directory `main'
autoreconf: running: aclocal -I m4 --install
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure:4148: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
   If this token and others are legitimate, please use m4_pattern_allow.
   See the Autoconf documentation.
configure:4150: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure:4151: error: possibly undefined macro: AC_DISABLE_STATIC
autoreconf: /usr/bin/autoconf failed with exit status: 1
user@lmde-laptop ~/Downloads/gambas3-3.9.1 $

my os is lmde2.



--
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] Ubuntu for Android and Gambas

2012-12-11 Thread Demosthenes Koptsis
Thanks Rob,

i will wait to see how it goes 


Στις 10/12/2012 8:34 μμ, ο/η Rob Kudla έγραψε:
> On 12/08/2012 11:03 PM, Demosthenes Koptsis wrote:
>> According Canonical we will be able to run ubuntu in any android device
>> like phones and tablets.
>> http://www.ubuntu.com/devices/android
>> Does this mean that we can run Gambas in Ubuntu in a Phone or Tablet?
> Any multi-core ARM-based phone or tablet, in theory, yes. As far as I know
> Gambas builds on ARM and there are armel and armhf packages for both
> gambas2 and gambas3 in the Ubuntu repositories.
>
> I won't be trying it myself until there's accelerated video playback
> support (very few ARM chipsets have usable video drivers for X, just
> Android) but it seems possible, and maybe you don't need 3D or video playback.
>
> Rob
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Ubuntu for Android and Gambas

2012-12-08 Thread Demosthenes Koptsis
Hello,

According Canonical we will be able to run ubuntu in any android device 
like phones and tablets.

http://www.ubuntu.com/devices/android

Does this mean that we can run Gambas in Ubuntu in a Phone or Tablet?



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Using Gambas for Apache cgi

2012-09-18 Thread Demosthenes Koptsis
Hu??? If you can run any script (file beginning with "#!") as CGI
script, then you run any gambas executable, that are script too. The
only requirement is that "gbr3" and "gbx3" directory *must be in the
PATH environmental variable*. Because Gambas executable start with "#!
/usr/bin/env gbr3".

Regards,

-- 
Benoît Minisini

-

Yes i had to add a mime for gambas extention in Apache config.
so to avoid extra configuration i did a console script



--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2012-09-17 Thread Demosthenes Koptsis
Στις 17/9/2012 20:52, ο/η Tobias Boege έγραψε:
> On Mon, 17 Sep 2012, Rolf-Werner Eilert wrote:
>> Hi everyone,
>>
>> Long time ago I set up a Gambas application in my internal server for
>> cgi. I do remember there was some tweaking of Apache confs to tell it to
>> accept .gambas and .gbs as a cgi program, but I don't remember what it
>> was. Now I have tried to install this on another server, but of course
>> it wasn't as simple as just copying the binaries into cgi-bin.
>>
>> Can one of you guys point me to it? I already searched my apache config
>> files, but I didn't find where I have changed something.
>>
>> Thanks for your help.
>>
>> Rolf
>>
> Hi Rolf,
>
> my answer is as always: Hans (you know him?) already did this and wrote a
> paper (in german). I don't mind (and he doesn't mind me) sending it along
> with everything else he felt to put in that tarball back then (Gambas2
> times). Since I last sent it to someone I actually tested it out and it
> indeed worked on our school server ;-)
>
> Apache configuration is not much of that paper, I hope you find it
> useful; any credit to Hans.
>
> Unfortunately, the tarball (even only the PDF xz-compressed) appears to
> be >512 KiB (must have been the reason I never really wanted to send it to
> the list) and so I'll send it to you via private mail.
>
> Benoit, may I finally send the whole archive to the list (read: Are you
> inclined to approve that ~1.5 MiB archive?)
>
> Regards,
> Tobi
>
> --
> 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
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Hi there,

see the main server how it configs a cgi-bin directory.
in mine for www is

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all


a similar config must be in your virtual host for its cgi-bin directory

For more Apache configs see the official Apache docs.

After that you have to create a script in an text editor with this line

#!/usr/local/bin/gbs3

or wherever gbs3 is located at your system

this binary can run gambas scripts from console.

i used it to write a gambas console script as cgi but Benoit suggests to 
use instead a binary gambas file but i cant figure out how to run a 
test.gambas file as cgi.

see also this conversation
http://sourceforge.net/mailarchive/message.php?msg_id=29473177




--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] run gambas bash scripts

2012-06-28 Thread Demosthenes Koptsis
Thanks Benoit!


On 06/29/2012 12:28 AM, Benoît Minisini wrote:
> Le 28/06/2012 22:41, Demosthenes Koptsis a écrit :
>> ok,
>>
>> now something else.
>>
>> i test a server page created with gambas on apache.
>>
>> i configured apache to run gambas server page as cgi and it run it very
>> good.
>> so far there is no mod_gambas3 for apache as i know and i had to run the
>> server page as cgi.
>>
>> is there any other way to config apache to run gambas server pages
>> except cgi config?
>>
> No. But I guess your gambas cgi script will be fast enough. :-)


--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] run gambas bash scripts

2012-06-28 Thread Demosthenes Koptsis
ok,

now something else.

i test a server page created with gambas on apache.

i configured apache to run gambas server page as cgi and it run it very 
good.
so far there is no mod_gambas3 for apache as i know and i had to run the 
server page as cgi.

is there any other way to config apache to run gambas server pages 
except cgi config?

Στις 28/6/2012 23:36, ο/η Benoît Minisini έγραψε:
> Le 28/06/2012 21:43, Demosthenes Koptsis a écrit :
>> i want to write a cgi script like php for apache but with gambas language
>>
>> which is better approach.
>>
>> to write it as cgi with
>>
>> #!/usr/local/bin/gbs3
>>
>> or with
>> #!/usr/bin/env gbw3
>> as server page
>>
>> thanks !!!
>>
> None of them. The faster and better is putting everything in a gambas
> executable and use it as a cgi script.
>



--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] run gambas bash scripts

2012-06-28 Thread Demosthenes Koptsis
ok i found it at Server Pages

Thanks !!

Στις 28/6/2012 22:39, ο/η Benoît Minisini έγραψε:
> Le 28/06/2012 21:22, Demosthenes Koptsis a écrit :
>> I think somewhere i saw it in the past 
>>
>> can anyone know if we can write scripts running from bash like that:
>> i think gbr3 is not the right bin to do this
>>
>> #!/usr/local/bin/gbr3
>>
>> ' Gambas module file
>>
>> Public Sub Main()
>>  Print "Hello World"
>> End
>>
> You must type '#!/usr/local/bin/gbs3' instead.
>
> gbs3 is a program made in Gambas that allows you to run Gambas scripts.
> It transforms the script file into a Gambas project, compiles it and run
> it. It maintains a cache of compiled scripts so that if you run the
> script another time, it is run directly.
>
> Regards,
>



--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] run gambas bash scripts

2012-06-28 Thread Demosthenes Koptsis
i want to write a cgi script like php for apache but with gambas language

which is better approach.

to write it as cgi with

#!/usr/local/bin/gbs3

or with
#!/usr/bin/env gbw3
as server page

thanks !!!

Στις 28/6/2012 22:39, ο/η Benoît Minisini έγραψε:
> Le 28/06/2012 21:22, Demosthenes Koptsis a écrit :
>> I think somewhere i saw it in the past 
>>
>> can anyone know if we can write scripts running from bash like that:
>> i think gbr3 is not the right bin to do this
>>
>> #!/usr/local/bin/gbr3
>>
>> ' Gambas module file
>>
>> Public Sub Main()
>>  Print "Hello World"
>> End
>>
> You must type '#!/usr/local/bin/gbs3' instead.
>
> gbs3 is a program made in Gambas that allows you to run Gambas scripts.
> It transforms the script file into a Gambas project, compiles it and run
> it. It maintains a cache of compiled scripts so that if you run the
> script another time, it is run directly.
>
> Regards,
>



--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] run gambas bash scripts

2012-06-28 Thread Demosthenes Koptsis
I think somewhere i saw it in the past 

can anyone know if we can write scripts running from bash like that:
i think gbr3 is not the right bin to do this

#!/usr/local/bin/gbr3

' Gambas module file

Public Sub Main()
   Print "Hello World"
End


--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: IDE should work again now!

2012-06-15 Thread Demosthenes Koptsis
yes now working in LMDE svn4832

Thanks!

Στις 15/6/2012 12:08, ο/η Ru Vuott έγραψε:
>> The bug in toolbar management that
>> made the IDE crashing at startup with
>> the "Invalid object" error should have been fixed.
>>
>> In revision #4830.
>>
>> Please confirm!
>>
>> -- 
>> Benoît Minisini
>
> I updated by #4832: It works.
>
> bye
> Vuott
>
>
>
> --
> 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
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Server Socket Example

2012-06-14 Thread Demosthenes Koptsis
Στις 12/6/2012 21:53, ο/η Benoît Minisini έγραψε:
> Le 10/06/2012 22:00, Demosthenes Koptsis a écrit :
>> Hi list,
>>
>> i work on a server project similar to ServerSocket example and i have
>> some questions
>>
>> 1) in example i see that there is the use of Tag property for the socket as
>>
>> Public Sub MyServerSocket_Connection(sHost As String)
>> 
>> Obj.Tag = [$iId, 0, ""]
>> 
>> End Sub
>>
>> i understand that
>> Tag[0] is the socket id
>> Tag[2] is the socket data
>>
>> what is Tag[1];
> It is just a hack, to associate a counter with the socket.
>
>> 2) it is used in sub Public Sub Socket_Write()  to send 10 times data to
>> client,
>> why to send 10 times data? I dont understand it.
> No reason. The example was used for testing the gb.net component. Maybe
> some cleanup is needed? :-)
>
The only reason i find is to have a Return way from Socket_Write().
It checks if the data were sent 10 times and then exit sub.

i changed this to check if data were sent 1 time and then exit sub.

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: Debian install

2012-06-14 Thread Demosthenes Koptsis
i did not incude the libs for

jit
gstreamer

if anyone can ...


 Original Message 
Subject:Debian install
Date:   Thu, 14 Jun 2012 19:04:28 +0300
From:   Demosthenes Koptsis 
To: Gambas User List 



is the page
http://gambasdoc.org/help/install/debian?v3&view 
<http://gambasdoc.org/help/install/debian?v3&view>

up to date?

i use linux mint which is a debian distro and in past i had some 
difficulties to install all needed packages to compile gambas3

i used the following apt-get

sudo apt-get install build-essential g++ automake autoconf bzip2 
debhelper dpatch firebird-dev gettext kdelibs5-dev libbz2-dev 
libcurl4-openssl-dev libgtk2.0-dev libjpeg62-dev libmysqlclient-dev 
libpcre3-dev libpng12-dev libpoppler-dev libpq-dev libqt3-compat-headers 
libqt3-mt-dev librsvg2-dev libsdl-gfx1.2-dev libsdl-image1.2-dev 
libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl1.2-dev libsqlite0-dev 
libsqlite3-dev libssl-dev libxml2-dev libxtst-dev mesa-common-dev 
unixodbc-dev zlib1g-dev libffi-dev

the difs are
kdelibs5-dev
libcurl4-openssl-dev
libmysqlclient-dev

i think i did not forgot something

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Array with multiple types of vars

2012-06-14 Thread Demosthenes Koptsis
yes that i wanted,

a public array with different types of elements.
so it can
MyArray[0] = 1
MyArray[1] = 1.2
MyArray[2] = "string"
MyArray[3] = TRUE

thanks.


Στις 12/6/2012 12:28, ο/η Emil Lenngren έγραψε:
> You can create a Variant[] that can contain arbitrary data types. You
> can store a reference to that array both in a .Tag field, and some
> other global variable.
>
> Public MyArray As Variant[]
>
> and in your code:
> MyArray = [1, 2, "yeah"]
> something.Tag = MyArray
>
> 2012/6/12, Bruce:
>> On Tue, 2012-06-12 at 09:38 +0300, Demosthenes Koptsis wrote:
>>> Hi,
>>>
>>> in server socket example i see that we use the Tag property as an array
>>>
>>> i changed it a while
>>> Obj.Tag = [$iId, 0, "", False, sHost] 'Client id, Data id, Data,
>>> Valid Client, Remote Ip
>>>
>>> My question is, can i make such arrays [$iId, 0, "", False, sHost] at
>>> Global scope Private/Public arrays?
>>>
>>> i want to create an array like
>>> [Integer, Integer, String, Boolean, String]
>>>
>>> How can i do that?
>> You mean like:
>>
>> Private $MyArray as Variant[]
>>
>> ???
>>
>> or do you want to "enforce" some strong typing on the individual
>> entries?  I don't think you can do that.
>>
>> Bruce
>>
>>
>>
>>
>> --
>> 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
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> 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
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: Array with multiple types of vars

2012-06-14 Thread Demosthenes Koptsis
Στις 12/6/2012 13:18, ο/η Ru Vuott έγραψε:
>
>> i want to create an array like
>> [Integer, Integer, String, Boolean, String]
>>
>> How can i do that?
>>
>> -
> You could use a Structure type array variable:
>
>
> Public Struct miaStruttura
>   a As Integer
>   b As Integer
>   c As String
>   d As Boolean
>   e As String
> End Struct
>
> public myArr As New miaStruttura[]
>
> etc. etc.
>
>
> You could use a special class type array variable:
>
>   We create a new  mySpecial.class, where we have:
>
>
> Public a As Integer
> Public b As Integer
> Public c As String
> Public d As Boolean
> Public e As String
>
> '''
>
>   in FMain class we have declaration ad use of variable:
>
>   Private specialeVar As New MySpecial[]
>
> Public Sub etc etc
>
> --
> 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
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
Ok, thanks to all of you. Now i can have a starting point.

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Debian install

2012-06-14 Thread Demosthenes Koptsis
is the page
http://gambasdoc.org/help/install/debian?v3&view 


up to date?

i use linux mint which is a debian distro and in past i had some 
difficulties to install all needed packages to compile gambas3

i used the following apt-get

sudo apt-get install build-essential g++ automake autoconf bzip2 
debhelper dpatch firebird-dev gettext kdelibs5-dev libbz2-dev 
libcurl4-openssl-dev libgtk2.0-dev libjpeg62-dev libmysqlclient-dev 
libpcre3-dev libpng12-dev libpoppler-dev libpq-dev libqt3-compat-headers 
libqt3-mt-dev librsvg2-dev libsdl-gfx1.2-dev libsdl-image1.2-dev 
libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl1.2-dev libsqlite0-dev 
libsqlite3-dev libssl-dev libxml2-dev libxtst-dev mesa-common-dev 
unixodbc-dev zlib1g-dev libffi-dev

the difs are
kdelibs5-dev
libcurl4-openssl-dev
libmysqlclient-dev

i think i did not forgot something

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] QtBasic = Q7Basic some interesting features

2012-06-13 Thread Demosthenes Koptsis
As i see the project so far is in baby state.

First of all it is rewritten from KBasic with some new features to Q7Basic.
It is cross platform for Linux, Mac, Windows and can make machine 
executables.

It has poor documentation, yes, and i dont know the rate of growing.

I mean that i saw KBasic from 2004 and it has poor growing rate until 
now, the docs are at the same old poor state etc.

Also it lacks of community feedback and contributions, it has no mailing 
list, just a forum and this makes the growing more difficult.

i hope that the idea to be a QtBasic, that is, a Basic binding for Qt is 
an excellent idea. It supports all objects of Qt.

Also the ability to write C++ code inside Basic code is very good feature.
You can use any C++ lib and function.

Another thing is that the project is open source with dual license, one 
is GPL and another commercial.
But for no linux os it is sold as private open source software.

http://www.gnu.org/philosophy/selling.html

For Linux OS is given without charge.

That is accepted and it is the commercial proposal of Stallman in order 
to make profit from open source.

For me the idea of QtBasic is so attractive and i hope to see good releases.

In comparison with Gambas, Gambas is in a mature state and is the 
working Basic for Linux so far with no serious competition, in my point 
of view.

The feature that transform Basic to C++ is very good.
If someone is a Basic Developer only that is no big deal but for a 
company which wants portabillity it can has all their project to C++ also.

The Basic developer stays in basic version with no problem.


On 06/13/2012 06:02 PM, Jussi Lahtinen wrote:
> I don't see Q7Basic as very useful idea.
> Surely it could be good tool for aid learning C++ GUI programming, if you
> already know basic.
>
> But C/C++ is good only if you need speed or you are working with resource
> restricted systems (example embedded systems) etc, for anything else higher
> level languages like Gambas are better.
> Because, example;
> - How you are supposed to debug program written with Q7Basic (if you don't
> know C++)?
> - C/C++ compilation is slow, even without conversion (Q7Basic -->  C++).
>
> Jussi
>
>
>
>
> On 13 June 2012 14:29, Demosthenes Koptsis  wrote:
>
>> Hello i would like to inform you about a basic language perhaps you may
>> already know.
>>
>> The old KBasic is now Q7Basic
>> http://www.q7basic.org/
>>
>> This project has some nice features, it is an object oriented Basic
>> compiler which generates equivalent C++ code, managing QT widgets and
>> classes natively !
>> This means that you write in Basic language Qt code.
>> The compiler makes for you C++ files and a Qt Project that can be opened
>> in QtCreator.
>>
>> ---
>> example for a PushButton with object name "a":
>> Signal on_a_clicked(Checked As Boolean)
>>
>>  MsgBox("on_a_clicked")
>>
>>  Dim w As QWidget = OpenWindow("window1")' returned qwidget is
>> useable when it is still open only
>>
>> End Signal
>>
>> ---
>>
>> It is object oriented
>> It supports polymorphism
>> It uses ui files and QtDesigner as GUI builder
>> You can use C++ libs in your Basic Source code !!!
>> and more, see the site.
>>
>> Actually has been going to be named QtBasic but this was not able due
>> some copyright laws and the project named Q7Basic.
>>
>> Benoit see it you can evaluate it better and see if there are any nice
>> features for Gambas
>>
>>
>>
>> --
>> 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
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> 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
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50

[Gambas-user] QtBasic = Q7Basic some interesting features

2012-06-13 Thread Demosthenes Koptsis
Hello i would like to inform you about a basic language perhaps you may 
already know.

The old KBasic is now Q7Basic
http://www.q7basic.org/

This project has some nice features, it is an object oriented Basic 
compiler which generates equivalent C++ code, managing QT widgets and 
classes natively !
This means that you write in Basic language Qt code.
The compiler makes for you C++ files and a Qt Project that can be opened 
in QtCreator.

---
example for a PushButton with object name "a":
Signal on_a_clicked(Checked As Boolean)

 MsgBox("on_a_clicked")

 Dim w As QWidget = OpenWindow("window1")' returned qwidget is 
useable when it is still open only

End Signal

---

It is object oriented
It supports polymorphism
It uses ui files and QtDesigner as GUI builder
You can use C++ libs in your Basic Source code !!!
and more, see the site.

Actually has been going to be named QtBasic but this was not able due 
some copyright laws and the project named Q7Basic.

Benoit see it you can evaluate it better and see if there are any nice 
features for Gambas


--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Array with multiple types of vars

2012-06-11 Thread Demosthenes Koptsis
Hi,

in server socket example i see that we use the Tag property as an array

i changed it a while
   Obj.Tag = [$iId, 0, "", False, sHost] 'Client id, Data id, Data, 
Valid Client, Remote Ip

My question is, can i make such arrays [$iId, 0, "", False, sHost] at 
Global scope Private/Public arrays?

i want to create an array like
[Integer, Integer, String, Boolean, String]

How can i do that?

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Demosthenes Koptsis
even i set a prefix the result is different.

and i dont know what prefix to use to have the same result with md5sum?


Στις 11/6/2012 18:51, ο/η Adrien Prokopowicz έγραψε:
>
> I've already got this problem too. That's because if you don't give any 
> prefix,
> a random one is used. (see
> http://gambasdoc.org/help/comp/gb.crypt/crypt/md5?en&v3)
>
> But I still don't undersand why...
>
>


--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] chart class like charts in excel or libre office calc

2012-06-11 Thread Demosthenes Koptsis
i want to ask if there is a chart class to get some data and make charts ?

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Demosthenes Koptsis
hello,

i noticed a difference between crypt.md5 function and command md5sum.
Both give different results

echo password | md5sum
is different from
crypt.md5("password")

why is that?

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Server Socket Example

2012-06-11 Thread Demosthenes Koptsis
Hi list,

i work on a server project similar to ServerSocket example and i have 
some questions

1) in example i see that there is the use of Tag property for the socket as

Public Sub MyServerSocket_Connection(sHost As String)

Obj.Tag = [$iId, 0, ""]

End Sub

i understand that
Tag[0] is the socket id
Tag[2] is the socket data

what is Tag[1];

2) it is used in sub Public Sub Socket_Write()  to send 10 times data to 
client,
why to send 10 times data? I dont understand it.

  iInd = hSocket.Tag[1]
   If iInd < 0 Then Return

   Do
 Inc iInd
 If iInd > 10 Then
   hSocket.Tag[1] = -1
   Return
 Endif

Try Print #hSocket, iInd & ":" & hSocket.Tag[2] & Space$(512) & "\n";
Loop

Thanks!

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Templates

2012-06-02 Thread Demosthenes Koptsis
Στις 2/6/2012 17:07, ο/η Benoît Minisini έγραψε:
> Le 02/06/2012 07:13, Demosthenes Koptsis a écrit :
>> Hello list,
>>
>> i want to ask if there is a future plan to implement Templates in Gambas
>> like .net
>>
>> example
>>
>> http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx#Y0
>>
>> 'Declaration
>> _
>> Public  Class  List(Of T) _
>>  Implements  IList(Of T), ICollection(Of T),  _
>>  IEnumerable(Of T), IList, ICollection, IEnumerable
>>
> I have no plan to implement templates at the moment. Maybe in the
> future, I don't know.
>
> There is already a rudimentary template mechanism inside the interpreter
> to implement arrays of a specific class. But I don't think it can be
> generalized.
>
> Regards,
>
ok, it would been nice feature for a future release.


--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Templates

2012-06-01 Thread Demosthenes Koptsis
Hello list,

i want to ask if there is a future plan to implement Templates in Gambas 
like .net

example

http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx#Y0

'Declaration
  _
Public  Class  List(Of T) _
Implements  IList(Of T), ICollection(Of T),  _
IEnumerable(Of T), IList, ICollection, IEnumerable




--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Data Structures like C++

2012-05-23 Thread Demosthenes Koptsis
may i ask a question,

graphs have some algorithms such shortest path as i read,
my question is, a graph could be used for a GPS system to represent 
points on a map or it is something different ?

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Data Structures like C++

2012-05-21 Thread Demosthenes Koptsis
Στις 21/5/2012 23:25, ο/η Benoît Minisini έγραψε:
> Le 21/05/2012 21:51, Demosthenes Koptsis a écrit :
>> Basic languages have simple data structures like vars and arrays but
>> other languages
>> like c++ with the help of pointers can have advanced data structures
>> like containers etc...
>>
>> see a full list here
>> http://en.wikipedia.org/wiki/List_of_data_structures
>>
>> i wonder if such data structures can be implemented with gambas with
>> pointers and if such an action have any mean for real life
>> applications?
>>
>> Is it possible to have such data structures in gambas?
>> How about some of these to be part of the core libraries?
> Some data structures are missing, but not so many as you may think at
> first sight.
>
> If they are implemented, I don't think they will go inside the
> interpreter, to keep its size small (it is already too big for my
> tastes), but in an extern component.
>
> * Map/Associative array/Dictionary
> * Hash
>
> Use a Collection in both case. If the key is not a string, you must find
> a way to identify your key with a unique string.
>
> * Multimap
>
> Use a Collection whose values are arrays.
>
> * List
>
> Use an array. Since CPU have now one, two, three... memory caches,
> arrays as almost always faster than linked lists.
>
> * Set
>
> One could use a Collection to emulate it: by transforming a value into a
> string key, we can assume that the value belongs to the set if the
> collection has something associated with the key.
>
> But it would be better to add a Set native class with a native
> implementation (in C. Stop with C++!).
>
> * Multiset
>
> Same remarks (the value is associated to its number of occurence in the
> collection).
>
> * Priority queue
>
> Is it worth having a native implementation for that? I don't think so. A
> implementation in Gambas should be enough.
>
> * Queue
> * Deque
> * Stack
>
> Use an Array. The Push() and Pop() methods can help.
>
> * String
>
> We have strings of characters. Is something else really needed?
>
> * Tree
> * Graph
>
> Native implementation of that would be interesting.
>
> Any volunteer? :-)
>
i am still learning from a book for c++ (ok i stop! but i study it these 
days sorry:) )
and i dont know if i could write something as gambas class of course, not c.

and i think the dicussiont from now one have to be transferred at dev list.

But i just throw the idea here in user list!

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Data Structures like C++

2012-05-21 Thread Demosthenes Koptsis
Στις 21/5/2012 23:05, ο/η tobi έγραψε:
> On Mon, 21 May 2012, Demosthenes Koptsis wrote:
>> Στις 21/5/2012 22:56, ο/η tobi έγραψε:
>>> On Mon, 21 May 2012, Demosthenes Koptsis wrote:
>>>> Basic languages have simple data structures like vars and arrays but
>>>> other languages
>>>> like c++ with the help of pointers can have advanced data structures
>>>> like containers etc...
>>>>
>>>> see a full list here
>>>> http://en.wikipedia.org/wiki/List_of_data_structures
>>>>
>>>> i wonder if such data structures can be implemented with gambas with
>>>> pointers and if such an action have any mean for real life
>>>> applications?
>>>>
>>>> Is it possible to have such data structures in gambas?
>>>> How about some of these to be part of the core libraries?
>>>>
>>>>
>>>> Abstract data 
>>>> types<http://en.wikipedia.org/wiki/Abstract_data_types>
>>>>
>>>> * 
>>>> Container<http://en.wikipedia.org/wiki/Container_%28data_structure%29>
>>>> * Map/Associative array/Dictionary
>>>>   <http://en.wikipedia.org/wiki/Associative_array>
>>>> * Multimap<http://en.wikipedia.org/wiki/Multimap>
>>>> * List<http://en.wikipedia.org/wiki/List_%28abstract_data_type%29>
>>>> * Set<http://en.wikipedia.org/wiki/Set_%28computer_science%29>
>>>> * Multiset
>>>>   <http://en.wikipedia.org/wiki/Set_%28computer_science%29#Multiset>
>>>> * Priority queue<http://en.wikipedia.org/wiki/Priority_queue>
>>>> * Queue<http://en.wikipedia.org/wiki/Queue_%28data_structure%29>
>>>> * Deque<http://en.wikipedia.org/wiki/Deque>
>>>> * Stack<http://en.wikipedia.org/wiki/Stack_%28data_structure%29>
>>>> * String<http://en.wikipedia.org/wiki/String_%28computer_science%29>
>>>> * Tree<http://en.wikipedia.org/wiki/Tree_%28computer_science%29>
>>>> * Graph<http://en.wikipedia.org/wiki/Graph_%28data_structure%29>
>>>> * Hash<http://en.wikipedia.org/wiki/Hash_Table>
>>>>
>>>>
>>>> --
>>>> 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
>>>> will include endpoint security, mobile security and the latest in malware
>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> ___
>>>> Gambas-user mailing list
>>>> Gambas-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>> When you mean "data structure like [in] C++" you mean those things we can 
>>> do with gambas Objects?
>>>
>>> I could make a bunch of the ones listed above from scratch using classes - 
>>> I tend to detest C++ but
>>> I think, the ones above are nothing else? (Maybe gambas lacks templates or 
>>> something)
>>>
>>> Regards,
>>> Tobi
>>>
>>> --
>>> 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
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> i mean to have a Binary Tree or a List with linked pointers etc ...
>> i think most of them could be objects.
>>
>>
>>
>> --
>> 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
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> __

Re: [Gambas-user] Data Structures like C++

2012-05-21 Thread Demosthenes Koptsis
Στις 21/5/2012 22:59, ο/η Emil Lenngren έγραψε:
> Hash tables and arrays are already implemented.
>
> The most important missing ones are Multimaps, Sets, Multisets, Linked
> lists, Deques.
> It should be quite easy to write c++ wrappers and put them in a component.

Can they be implemented as gambas class with gambas pointers?
So they can be extended and be inhereted as base classes for other user 
data structures?



--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Data Structures like C++

2012-05-21 Thread Demosthenes Koptsis
Στις 21/5/2012 22:59, ο/η Emil Lenngren έγραψε:
> Hash tables and arrays are already implemented.
>
> The most important missing ones are Multimaps, Sets, Multisets, Linked
> lists, Deques.
> It should be quite easy to write c++ wrappers and put them in a component.
> For example, a Set can use a std::set  internally.
>
> Implementing them in Gambas should work, but would be quite slow. I suggest
> writing them as a component gb.datastructures or something.
>
> And yes, Gambas lacks templates, but Variants can be used instead. Not
> optimal, but it works.
>
> /Emil
>
> 2012/5/21 Demosthenes Koptsis
>
>> Basic languages have simple data structures like vars and arrays but
>> other languages
>> like c++ with the help of pointers can have advanced data structures
>> like containers etc...
>>
>> see a full list here
>> http://en.wikipedia.org/wiki/List_of_data_structures
>>
>> i wonder if such data structures can be implemented with gambas with
>> pointers and if such an action have any mean for real life
>> applications?
>>
>> Is it possible to have such data structures in gambas?
>> How about some of these to be part of the core libraries?
>>
>>
>>   Abstract data types<http://en.wikipedia.org/wiki/Abstract_data_types
>>   * Container<http://en.wikipedia.org/wiki/Container_%28data_structure%29>
>>   * Map/Associative array/Dictionary
>> <http://en.wikipedia.org/wiki/Associative_array>
>>   * Multimap<http://en.wikipedia.org/wiki/Multimap>
>>   * List<http://en.wikipedia.org/wiki/List_%28abstract_data_type%29>
>>   * Set<http://en.wikipedia.org/wiki/Set_%28computer_science%29>
>>   * Multiset
>> <http://en.wikipedia.org/wiki/Set_%28computer_science%29#Multiset>
>>   * Priority queue<http://en.wikipedia.org/wiki/Priority_queue>
>>   * Queue<http://en.wikipedia.org/wiki/Queue_%28data_structure%29>
>>   * Deque<http://en.wikipedia.org/wiki/Deque>
>>   * Stack<http://en.wikipedia.org/wiki/Stack_%28data_structure%29>
>>   * String<http://en.wikipedia.org/wiki/String_%28computer_science%29>
>>   * Tree<http://en.wikipedia.org/wiki/Tree_%28computer_science%29>
>>   * Graph<http://en.wikipedia.org/wiki/Graph_%28data_structure%29>
>>   * Hash<http://en.wikipedia.org/wiki/Hash_Table>
>>
>>
>>
>> --
>> 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
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> 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
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
Yes that i mean !
A library like gb.datastractures if it could be happend !!!

--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Data Structures like C++

2012-05-21 Thread Demosthenes Koptsis
Στις 21/5/2012 22:56, ο/η tobi έγραψε:
> On Mon, 21 May 2012, Demosthenes Koptsis wrote:
>> Basic languages have simple data structures like vars and arrays but
>> other languages
>> like c++ with the help of pointers can have advanced data structures
>> like containers etc...
>>
>> see a full list here
>> http://en.wikipedia.org/wiki/List_of_data_structures
>>
>> i wonder if such data structures can be implemented with gambas with
>> pointers and if such an action have any mean for real life
>> applications?
>>
>> Is it possible to have such data structures in gambas?
>> How about some of these to be part of the core libraries?
>>
>>
>>Abstract data types<http://en.wikipedia.org/wiki/Abstract_data_types>
>>
>>* Container<http://en.wikipedia.org/wiki/Container_%28data_structure%29>
>>* Map/Associative array/Dictionary
>>  <http://en.wikipedia.org/wiki/Associative_array>
>>* Multimap<http://en.wikipedia.org/wiki/Multimap>
>>* List<http://en.wikipedia.org/wiki/List_%28abstract_data_type%29>
>>* Set<http://en.wikipedia.org/wiki/Set_%28computer_science%29>
>>* Multiset
>>  <http://en.wikipedia.org/wiki/Set_%28computer_science%29#Multiset>
>>* Priority queue<http://en.wikipedia.org/wiki/Priority_queue>
>>* Queue<http://en.wikipedia.org/wiki/Queue_%28data_structure%29>
>>* Deque<http://en.wikipedia.org/wiki/Deque>
>>* Stack<http://en.wikipedia.org/wiki/Stack_%28data_structure%29>
>>* String<http://en.wikipedia.org/wiki/String_%28computer_science%29>
>>* Tree<http://en.wikipedia.org/wiki/Tree_%28computer_science%29>
>>* Graph<http://en.wikipedia.org/wiki/Graph_%28data_structure%29>
>>* Hash<http://en.wikipedia.org/wiki/Hash_Table>
>>
>>
>> --
>> 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
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> When you mean "data structure like [in] C++" you mean those things we can do 
> with gambas Objects?
>
> I could make a bunch of the ones listed above from scratch using classes - I 
> tend to detest C++ but
> I think, the ones above are nothing else? (Maybe gambas lacks templates or 
> something)
>
> Regards,
> Tobi
>
> --
> 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
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

i mean to have a Binary Tree or a List with linked pointers etc ...
i think most of them could be objects.



--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Data Structures like C++

2012-05-21 Thread Demosthenes Koptsis
Basic languages have simple data structures like vars and arrays but 
other languages
like c++ with the help of pointers can have advanced data structures 
like containers etc...

see a full list here
http://en.wikipedia.org/wiki/List_of_data_structures

i wonder if such data structures can be implemented with gambas with 
pointers and if such an action have any mean for real life
applications?

Is it possible to have such data structures in gambas?
How about some of these to be part of the core libraries?


  Abstract data types 

  * Container 
  * Map/Associative array/Dictionary

  * Multimap 
  * List 
  * Set 
  * Multiset

  * Priority queue 
  * Queue 
  * Deque 
  * Stack 
  * String 
  * Tree 
  * Graph 
  * Hash 


--
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 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Feature Request] Offline Documentation

2012-04-19 Thread Demosthenes Koptsis
On 04/19/2012 09:24 AM, John Spikowski wrote:
> On Thu, 2012-04-19 at 08:09 +0200, Rolf-Werner Eilert wrote:
>> Could you explain this a bit more in detail?
>>
>> Thanks
>> Rolf
>>
>> Am 18.04.2012 19:08, schrieb Randall Morgan:
>>> Oh, I solved my offline document use with HTTtrack and simply copied the
>>> site to my local hard drive.
>>>
>>>
>>> On Wed, Apr 18, 2012 at 10:07 AM, Randall Morganwrote:
>>>
 I too often develop on my laptop with no internet access. And it is
 very frustrating when you have no documentation to refer to.

 Writing a python crawler to extract the docs from the website and put it
 into either local html or pdf files shouldn't be too difficult. we just
 need an IDE hook to view the desired format.
> Can't you use the Gambas browser control and view the HTML/image files
> on the local hard disk? You don't need a web server for that. As long as
> your internal links use relative paths, it should work just fine.
>
>
>
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
The wget command i wrote and every web copier like httptrack convert the 
links on every page to local relative links.
So if you open the main index.html page locally all links are converted 
to local files you downloaded.



--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Feature Request] Offline Documentation

2012-04-18 Thread Demosthenes Koptsis
i try to download the docs with

wget -kvrc --*html-extension *http://gambasdoc.org/help?v3

i think with this way we can have convert php files to html and have 
offline documentation.

if all are good i can send the tarball to put it to download section.

Another option is to setup a cron job to server to produce automatic the 
tarball.


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas for Android

2012-04-10 Thread Demosthenes Koptsis
Στις 10/4/2012 17:19, ο/η jm έγραψε:
> On Tue, 2012-04-10 at 14:31 +0300, Demosthenes Koptsis wrote:
>> Στις 10/4/2012 13:07, ο/η jm έγραψε:
>>> On Mon, 2012-04-09 at 07:12 +0100, John Rose wrote:
>>>> Thanks for peoples' replies. It's interesting that the Basic dev apps do
>>>> not yet seem to include GUI Designers. IMO they are an essential for any
>>>> worthwhile Android RAD.
>>>>
>>>> My starter posting on this topic was misleading in that it implied that
>>>> I wanted Gambas to dev apps on Android which would run on Android.
>>>> That's one possibility. However, it seems likely to me that this would
>>>> require purchase of a high spec Android tablet to make dev not painful.
>>>>
>>>> That's why I brought up Basic4android, as that allows dev on a desktop
>>>> (using the Android emulator / B4aBridge apk to link to an Android
>>>> device). Its Basic language&   IDE is not up to Gambas' quality not to
>>>> mention its linking to Android devices for testing.
>>> What about a virtual machine running on Android and then from Android,
>>> ssh -X into it? (I believe Ubuntu 12.04 will do something very close
>>> to that.)
>>>
>>> No work for gambas developers + 100% compatibility with all the other
>>> stuff such as sqlite3 that would run on the virtual machine.
>>> Most high end Androids are going dual core, and soon quad core so not
>>> much in the way of a roadblock for the future.
>>>
>>> The bulk of the work is to pull everything together by Android
>>> developers so that this can happen on their platform.
>>>
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> The ssh -X solution it seems similar to Xming use for windows.
>>
>> The only problem to this is that running the gambas3 app remotely via X
>> the application has access to server's filesystem.
>> If user want to do work with files on android machine it has do have a
>> network drive like windows to have access to server's files.
> "network drive like windows" presumably means mount a network drive
> so that it is accessible to Gambas.
>
> That should be easy e.g. in Ubuntu click
> nautilus>  file>  connect to server and you got
> ssh, ftp, and many other types of connectivity which can
> be set up as mounted network drives that Gambas can then
> access to transfer files.
>
> It should be able to access the Android host if the host
> is running ssh (or ftp or anything else supported by nautilus). If the
> real internet is connected, then it can access remote hosts
> in the same way as it accesses local hosts.
> Luckily no Gambas programs need to be ritually sacrificed on the alter
> of change to make all this happen.
>
>
> __
> This message has been checked for viruses and spam by Corpex using
> the ArmourPlate Anti Virus and Anti Spam Scanning Service.
> To find out more and see our email archiving service see
> http://www.armourplate.com or call Corpex on UK 0845 050 1898.
>
> --
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Yes it is easy to setup such a service.

You need a linux server with gambas
You need a user account on server with gambas
You access the gambas app via ssh and X server form windows, android 
whatever.
If you need to work with files from android, windows etc you tranfer 
them to a network mounted folder/drive and gambas access them in user's 
home folder.

For windows to map a drive is easy, via ftp or sshfs for windows.
For android i dont know if there are apps for such things, i dont have 
any android yet. i am waiting the pc version of adroid to test it in 
virtualbox.
Until then i cant say something more.



--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas for Android

2012-04-10 Thread Demosthenes Koptsis
Στις 10/4/2012 13:07, ο/η jm έγραψε:
> On Mon, 2012-04-09 at 07:12 +0100, John Rose wrote:
>> Thanks for peoples' replies. It's interesting that the Basic dev apps do
>> not yet seem to include GUI Designers. IMO they are an essential for any
>> worthwhile Android RAD.
>>
>> My starter posting on this topic was misleading in that it implied that
>> I wanted Gambas to dev apps on Android which would run on Android.
>> That's one possibility. However, it seems likely to me that this would
>> require purchase of a high spec Android tablet to make dev not painful.
>>
>> That's why I brought up Basic4android, as that allows dev on a desktop
>> (using the Android emulator / B4aBridge apk to link to an Android
>> device). Its Basic language&  IDE is not up to Gambas' quality not to
>> mention its linking to Android devices for testing.
> What about a virtual machine running on Android and then from Android,
> ssh -X into it? (I believe Ubuntu 12.04 will do something very close
> to that.)
>
> No work for gambas developers + 100% compatibility with all the other
> stuff such as sqlite3 that would run on the virtual machine.
> Most high end Androids are going dual core, and soon quad core so not
> much in the way of a roadblock for the future.
>
> The bulk of the work is to pull everything together by Android
> developers so that this can happen on their platform.
>
> __
> This message has been checked for viruses and spam by Corpex using
> the ArmourPlate Anti Virus and Anti Spam Scanning Service.
> To find out more and see our email archiving service see
> http://www.armourplate.com or call Corpex on UK 0845 050 1898.
>
> --
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

The ssh -X solution it seems similar to Xming use for windows.

The only problem to this is that running the gambas3 app remotely via X 
the application has access to server's filesystem.
If user want to do work with files on android machine it has do have a 
network drive like windows to have access to server's files.


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas3 & andLinux on WinXP

2012-04-09 Thread Demosthenes Koptsis
Yes there is also the virtualbox solution.


On 04/09/2012 01:09 PM, Randall Morgan wrote:
> I've used virtualbox from Sun Micro for my Windows Vista and 7 laptops to
> run Linux. Makes it simple and takes up only a little more space.
>
> On Mon, Apr 9, 2012 at 2:35 AM, Demosthenes Koptsis
> wrote:
>
>> On 04/09/2012 04:39 AM, Rob Kudla wrote:
>>> On 04/08/2012 11:55 AM, Demosthenes Koptsis wrote:
>>>> andLinux is a ubuntu 9.04.
>>>> i know it is ancient but there is no other way to run native linux apps
>>>> in windows.
>>> andLinux is based on coLinux, which is still developed today. Besides
>>> coLinux itself, there are a number of other projects based on coLinux
>>> that use Ubuntu like andLinux did. SpeedLinux is one of them, and is
>>> apparently based on your choice of Ubuntu version: 9.04, 11.10 or
>>> (alpha) 12.04. Give it a try, maybe?
>>>
>>> http://sourceforge.net/projects/freetzlinux/
>>>
>>> Rob
>>>
>>>
>> --
>>> For Developers, A Lot Can Happen In A Second.
>>> Boundary is the first to Know...and Tell You.
>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>> well i see speedlinux.
>>
>> it is a customized colinux. Unfortunatly i am waiting the 64bit version
>> of colinux and until then i cant use it, speedlinux or andLinux or colinux.
>>
>> Xming seems to work more austere with a real linux enviroment than using
>> a *.vdi file.
>>
>> Also it has the feature to use it for SaaS remotely.
>>
>> SpeedLinux is a good choice but for the future for me.
>>
>>
>> --
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas3 & andLinux on WinXP

2012-04-09 Thread Demosthenes Koptsis
On 04/09/2012 04:39 AM, Rob Kudla wrote:
> On 04/08/2012 11:55 AM, Demosthenes Koptsis wrote:
>> andLinux is a ubuntu 9.04.
>> i know it is ancient but there is no other way to run native linux apps
>> in windows.
> andLinux is based on coLinux, which is still developed today. Besides
> coLinux itself, there are a number of other projects based on coLinux
> that use Ubuntu like andLinux did. SpeedLinux is one of them, and is
> apparently based on your choice of Ubuntu version: 9.04, 11.10 or
> (alpha) 12.04. Give it a try, maybe?
>
> http://sourceforge.net/projects/freetzlinux/
>
> Rob
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


well i see speedlinux.

it is a customized colinux. Unfortunatly i am waiting the 64bit version 
of colinux and until then i cant use it, speedlinux or andLinux or colinux.

Xming seems to work more austere with a real linux enviroment than using 
a *.vdi file.

Also it has the feature to use it for SaaS remotely.

SpeedLinux is a good choice but for the future for me.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas3 & Xming

2012-04-09 Thread Demosthenes Koptsis
On 04/08/2012 10:49 PM, Willy Raets wrote:
> On zo, 2012-04-08 at 22:20 +0300, Demosthenes Koptsis wrote:
>> here are some screenshots
>>
>> http://www.mediafire.com/i/?ehralxdlqxj30ju
>>
>> http://www.mediafire.com/i/?r40web2l14o93ny
>>
>> http://www.mediafire.com/i/?s9a7bykyrbufwib
>>
>> gambas3 on windows 7 via xming.
>>
>> Gambas3 is running on Linux Mint Debian Edition on server side
>>
> Hi Demosthenes,
>
> This opens up a world of possibilities in slowly introducing Linux and
> Gambas at my work (Windows environment and Iwould love to slowly change
> that)
>
> I suppose Xming is used as a thin client for the x-window server on
> Linux Mint Debian.
>
> Happen to have a short overview on how you set this up on both Windows
> as Linux Mint Debian side?
>
> Great going,
>
> Willy
>
>
>
>
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


It is very very simple to work with Xming.

1) You need a pc with a Linux distro installed as usual.
For example i have a desktop pc running Linux Mint.

You can have any distro you like.

This pc must run X server to work with Xming.

2) On any Windows machine, for example i tested from my laptop
with Win7 Home Premium you install Xming

see these pages for more details

http://sourceforge.net/projects/xming/
http://www.straightrunning.com/XmingNotes/

3) Finally you can run XLaunch an application of Xming package which 
connects you with the Linux Machine via ip 192.168.0.1 or domain 
my.domain.com

You fill the name of application you like to run.
For example gambas3, gimp, blender etc

It is good to fill font size to 96-110 because the default value is 
little small

and you launch your app remotely from the server.

Note the application runs to the server and see the server file system 
not laptop's one. So you have access to files of a user account.

With this way you can have a linux server with X ruunning and sell Linux 
SaaS to Windows clients who they have accounts as linux users to server!

It is very simple and very clever!

For me who i love Basic and Visual more i wanted a cross platform vb for 
linux and windows.

But i did not find a free one except RealBasic which is expensive for me.

With Xming i can run Gambas3 or any linux app i want to any Windows 
machine !!!

Happy coding Gambas3 for windows from now on!!!
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas3 & andLinux on WinXP

2012-04-09 Thread Demosthenes Koptsis
On 04/09/2012 04:39 AM, Rob Kudla wrote:
> On 04/08/2012 11:55 AM, Demosthenes Koptsis wrote:
>> andLinux is a ubuntu 9.04.
>> i know it is ancient but there is no other way to run native linux apps
>> in windows.
> andLinux is based on coLinux, which is still developed today. Besides
> coLinux itself, there are a number of other projects based on coLinux
> that use Ubuntu like andLinux did. SpeedLinux is one of them, and is
> apparently based on your choice of Ubuntu version: 9.04, 11.10 or
> (alpha) 12.04. Give it a try, maybe?
>
> http://sourceforge.net/projects/freetzlinux/
>
> Rob
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Thanks Rob i will try SpeedLinux to see if i can run Gambas3 there.

:)

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas3 & Xming

2012-04-08 Thread Demosthenes Koptsis
here are some screenshots

http://www.mediafire.com/i/?ehralxdlqxj30ju

http://www.mediafire.com/i/?r40web2l14o93ny

http://www.mediafire.com/i/?s9a7bykyrbufwib

gambas3 on windows 7 via xming.

Gambas3 is running on Linux Mint Debian Edition on server side

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas3 & andLinux on WinXP

2012-04-08 Thread Demosthenes Koptsis
ok andLinux is not working for me.

But i found something else.

i can run Xming to conect to a remote X server and run gui applications.
with this way i can have Gambas3 as SaaS.

i can have a server with gambas3 and a host there gambas3 appplications.

users can run these apps with Xming.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas3 & andLinux on WinXP

2012-04-08 Thread Demosthenes Koptsis
On 04/08/2012 06:49 PM, Benoît Minisini wrote:
> Le 08/04/2012 17:15, Demosthenes Koptsis a écrit :
>> i make some test with andLinux which is a ubuntu 9.04 installed in
>> windows xp.
>>
>> i try to compile gambas3 to andLinux with purpose to run Gambas3 in
>> WindowsXP if i can.
>>
>> i dont know if anyone else tried something similar.
>>
>> so...
>>
>> i get compilation errors as
>>
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall
>> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CNet.lo
>> -MD -MP -MF .deps/CNet.Tpo -c CNet.c  -fPIC -DPIC -o .libs/CNet.o
>> CNet.c:65: error: 'CURLAUTH_DIGEST_IE' undeclared here (not in a function)
>> CNet.c:146: error: 'CURLE_SSL_CRL_BADFILE' undeclared here (not in a
>> function)
>> CNet.c:147: error: 'CURLE_SSL_ISSUER_ERROR' undeclared here (not in a
>> function)
>> make[4]: *** [CNet.lo] Error 1
>> make[4]: Leaving directory
>> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl/src'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory
>> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory
>> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/mnt/win/andLinux/Gambas3/gambas3-3.1.0'
>> make: *** [all] Error 2
>>
>>
>> is this due andlinux, windowsxp or a bug to curl
>>
>> Thanks in advanced.
>>
>>
> I think you need a more recent curl library.
>
ok i fix the issue with curl but other libraries like sdl, glew have the 
same problem and i cant update them.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas3 & andLinux on WinXP

2012-04-08 Thread Demosthenes Koptsis
Στις 8/4/2012 18:49, ο/η Benoît Minisini έγραψε:
> Le 08/04/2012 17:15, Demosthenes Koptsis a écrit :
>> i make some test with andLinux which is a ubuntu 9.04 installed in
>> windows xp.
>>
>> i try to compile gambas3 to andLinux with purpose to run Gambas3 in
>> WindowsXP if i can.
>>
>> i dont know if anyone else tried something similar.
>>
>> so...
>>
>> i get compilation errors as
>>
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall
>> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CNet.lo
>> -MD -MP -MF .deps/CNet.Tpo -c CNet.c  -fPIC -DPIC -o .libs/CNet.o
>> CNet.c:65: error: 'CURLAUTH_DIGEST_IE' undeclared here (not in a function)
>> CNet.c:146: error: 'CURLE_SSL_CRL_BADFILE' undeclared here (not in a
>> function)
>> CNet.c:147: error: 'CURLE_SSL_ISSUER_ERROR' undeclared here (not in a
>> function)
>> make[4]: *** [CNet.lo] Error 1
>> make[4]: Leaving directory
>> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl/src'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory
>> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory
>> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/mnt/win/andLinux/Gambas3/gambas3-3.1.0'
>> make: *** [all] Error 2
>>
>>
>> is this due andlinux, windowsxp or a bug to curl
>>
>> Thanks in advanced.
>>
>>
> I think you need a more recent curl library.
>
andLinux is a ubuntu 9.04.

i know it is ancient but there is no other way to run native linux apps 
in windows.

also i dont know if i can get a recent curl library, may be only as 
tarball and ./configure, make, make install it.

i will see what i can do.

Thanks Benoit.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas3 & andLinux on WinXP

2012-04-08 Thread Demosthenes Koptsis
i make some test with andLinux which is a ubuntu 9.04 installed in 
windows xp.

i try to compile gambas3 to andLinux with purpose to run Gambas3 in 
WindowsXP if i can.

i dont know if anyone else tried something similar.

so...

i get compilation errors as

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall 
-Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CNet.lo 
-MD -MP -MF .deps/CNet.Tpo -c CNet.c  -fPIC -DPIC -o .libs/CNet.o
CNet.c:65: error: 'CURLAUTH_DIGEST_IE' undeclared here (not in a function)
CNet.c:146: error: 'CURLE_SSL_CRL_BADFILE' undeclared here (not in a 
function)
CNet.c:147: error: 'CURLE_SSL_ISSUER_ERROR' undeclared here (not in a 
function)
make[4]: *** [CNet.lo] Error 1
make[4]: Leaving directory 
`/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/win/andLinux/Gambas3/gambas3-3.1.0'
make: *** [all] Error 2


is this due andlinux, windowsxp or a bug to curl

Thanks in advanced.


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About Visual Studio Express

2012-04-03 Thread Demosthenes Koptsis
On 04/03/2012 02:02 PM, Bruce Bruen wrote:
> It would be good to offer the option to keep a duplicate copy of html 
> directory as a personal html directory that does not get over written 
> when new versions of gambas are installed.
About this in the past i proposed a feature for Gambas help system to be 
similar with PHP documentation.

There (PHP Docs) users can add comments and examples of code at every 
page after origianal description of a function, command, etc...

With this way personal comments can be public and full of examples.

Even thought this is not a VB feature it is worth to mention it here.

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About Visual Studio Express

2012-03-30 Thread Demosthenes Koptsis
Στις 30/3/2012 18:54, ο/η Rolf-Werner Eilert έγραψε:
> Am 28.03.2012 14:40, schrieb Demosthenes Koptsis:
>> These days i started to test Visual Studio Express 2010 to compare it
>> with Gambas3.
>>
>> Does anyone have any experience with VB Studio Express ?
>>
>> Are there any characteristics that may be we wanted to see in Gambas3 ?
>>
>> Thank you !
>>
> Yes and no. I made a small app with VB Express (don't know if it was the
> 2010 edition, but it could be) some time ago, and I found it pretty
> roundabout to do simple things. When I look at the code I wrote and see
> something like
> This.Is.Something.Very.Simple.But.As.Roundabout.As.Possible.To.Find and
> documentation about it was so poor, I know what I like Gambas for. I had
> to search very long before I found simple things like how to change a
> letter in a text widget or print or whatever.
>
> I have been thinking about making a large(r) program for myself and one
> for my brother-in-law's company with it, but after trying around a bit,
> I found there were so many obstacles which scared me away from it I
> decided to stay with good old Gambas and code it here.
>
> In Gambas, I would like to have a very comfortable kind of table like
> the one in VB, but on the other side, if that's for the price of speed
> and ease of code, better not. It shouldn't be as slowly as the VB table.
>
> After all, it's the code behind which makes an application's sense, not
> if it looks stylish. The programs I make are good with a standard GUI
> like the one Gambas offers.
>
> Regards
>
> Rolf
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
yes i saw some things in VB2010.

.Net with new syntax like
My.System.FileIO.Copy() is a new thing to learn.

i dont know if it is better or not, i did not try it yet.

But simplicity is our best friend.

Also i found documentation very difficult and in order to see how thing 
are i had to buy a book from MS.

In Vb2010 i liked the menu editor of forms until now and the database 
easyness with gui.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About Visual Studio Express

2012-03-30 Thread Demosthenes Koptsis
Στις 30/3/2012 11:34, ο/η M. Cs. έγραψε:
> As Mathias said: it is bloated.
> IMHO, the ribbon menu was the worst thing MS did with Office. But as
> an option it would be nice. Technically it is nothing more than a
> ScrollView with horizontal scroll, with an array of VBoxes which have
> a PictureBox and Label inside. You can already create such structure
> in Gambas 3.
>
> Csaba
>
> 2012/3/28, Demosthenes Koptsis:
>> what about a ribbon menu control ?
>>
>> http://en.wikipedia.org/wiki/Ribbon_(computing)
>> <http://en.wikipedia.org/wiki/Ribbon_%28computing%29>
>>
>> On 03/28/2012 03:47 PM, Mathias Maes wrote:
>>> VB Studio Express is not bad, altough, it bugs (or at least, some time
>>> ago,
>>> it did) when working with controls that are bound to a databasecolumn.
>>>
>>> And I think the whole Net suite is too bloated.
>>>
>>> 2012/3/28 Demosthenes Koptsis
>>>
>>>> These days i started to test Visual Studio Express 2010 to compare it
>>>> with Gambas3.
>>>>
>>>> Does anyone have any experience with VB Studio Express ?
>>>>
>>>> Are there any characteristics that may be we wanted to see in Gambas3 ?
>>>>
>>>> Thank you !
>>>>
>>>>
>>>> --
>>>> This SF email is sponsosred by:
>>>> Try Windows Azure free for 90 days Click Here
>>>> http://p.sf.net/sfu/sfd2d-msazure
>>>> ___
>>>> Gambas-user mailing list
>>>> Gambas-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>
>>> --
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> --
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Yes i thought it too !!!

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] how to use code snippets

2012-03-29 Thread Demosthenes Koptsis
On 03/29/2012 01:18 PM, richard terry wrote:
> On Thursday 29 March 2012 20:58:10 Demosthenes Koptsis wrote:
>> On 03/29/2012 12:54 PM, richard terry wrote:
>>> I've never used this, wondered if someone could give me a quite tip how
>>> to activate the short cut to insert the snippet, assuming this is what is
>>> meant to happen
>>>
>>> richard
>>>
>>> -
>>> - This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> it is very easy.
>>
>> you write a part of the code in ide and then press enter.
>>
>> for example in a SUB write
>>
>> Do + press Enter
>>
>> Gambas3 will autocomplete
>>
>> DO
>>
>> LOOP
> mm...
>
> What I meant was if one goes to menu options tools/preferences/code snippets
> and inserts ones own snippets - how can one recall them with the shortcut
> string one has used?
>
> richard
>
>> :)
>>
>> ---
>> --- This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
As i see you cannot delete gambas3 ready snippets only yours.


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] how to use code snippets

2012-03-29 Thread Demosthenes Koptsis
On 03/29/2012 01:18 PM, richard terry wrote:
> On Thursday 29 March 2012 20:58:10 Demosthenes Koptsis wrote:
>> On 03/29/2012 12:54 PM, richard terry wrote:
>>> I've never used this, wondered if someone could give me a quite tip how
>>> to activate the short cut to insert the snippet, assuming this is what is
>>> meant to happen
>>>
>>> richard
>>>
>>> -
>>> - This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> it is very easy.
>>
>> you write a part of the code in ide and then press enter.
>>
>> for example in a SUB write
>>
>> Do + press Enter
>>
>> Gambas3 will autocomplete
>>
>> DO
>>
>> LOOP
> mm...
>
> What I meant was if one goes to menu options tools/preferences/code snippets
> and inserts ones own snippets - how can one recall them with the shortcut
> string one has used?
>
> richard
>
>> :)
>>
>> ---
>> --- This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


Sorry a mistake...


for example, write your trigger string and your snippet and press TAB

di+TAB = Dim iVar As Integer

is that you want ?

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] how to use code snippets

2012-03-29 Thread Demosthenes Koptsis
On 03/29/2012 12:54 PM, richard terry wrote:
> I've never used this, wondered if someone could give me a quite tip how to
> activate the short cut to insert the snippet, assuming this is what is meant
> to happen
>
> richard
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

it is very easy.

you write a part of the code in ide and then press enter.

for example in a SUB write

Do + press Enter

Gambas3 will autocomplete

DO

LOOP

:)

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About Visual Studio Express

2012-03-28 Thread Demosthenes Koptsis
what about a ribbon menu control ?

http://en.wikipedia.org/wiki/Ribbon_(computing) 
<http://en.wikipedia.org/wiki/Ribbon_%28computing%29>

On 03/28/2012 03:47 PM, Mathias Maes wrote:
> VB Studio Express is not bad, altough, it bugs (or at least, some time ago,
> it did) when working with controls that are bound to a databasecolumn.
>
> And I think the whole Net suite is too bloated.
>
> 2012/3/28 Demosthenes Koptsis
>
>> These days i started to test Visual Studio Express 2010 to compare it
>> with Gambas3.
>>
>> Does anyone have any experience with VB Studio Express ?
>>
>> Are there any characteristics that may be we wanted to see in Gambas3 ?
>>
>> Thank you !
>>
>>
>> --
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] About Visual Studio Express

2012-03-28 Thread Demosthenes Koptsis
These days i started to test Visual Studio Express 2010 to compare it 
with Gambas3.

Does anyone have any experience with VB Studio Express ?

Are there any characteristics that may be we wanted to see in Gambas3 ?

Thank you !

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ncurses component

2012-03-26 Thread Demosthenes Koptsis
additionally ncurses are usefull for apps which run in a remote ssh console.
That's why admins love these apps. They can have gui apps without running X.



Στις 26/3/2012 18:38, ο/η tobi έγραψε:
> On Mon, 26 Mar 2012, Rolf-Werner Eilert wrote:
>> Am 25.03.2012 14:42, schrieb tobi:
>>> Benoît,
>>>
>>> do you think an ncurses component would be useful? i abandoned the X server 
>>> with the beginning of
>>> the year and when i noticed that i would need a console ide for gambas, i 
>>> began writing one (cut
>>> down to my personal needs of course) using ncurses library. as it went more 
>>> complicated i
>>> appended it to the long queue of to-do projects ;)
>>> but yesterday i realised that having an ncurses component in gambas would 
>>> make things a lot easier,
>>> the console ide could be written in gambas (what an idea!)
>>> on the other hand: who needs ncurses nowadays? what do you think, is it a 
>>> waste of time or a
>>> valuable addition?
>>>
>>> (hope, the accent works, i searched about an hour for that - and can't even 
>>> see the result)
>>>
>>> regards,
>>> tobi
>>>
>> The accent works :-) And I like the ncurses idea, in fact I had such an
>> idea some time ago. Don't remember what I wanted to do with it, but
>> after realizing the complexity, I simply wrote some routines for colours
>> and stuff, the rest was purely playing around a bit. Nothing serious.
>>
>> Rolf
>>
> well, i'd volunteer but i can't estimate any time needed for a basically 
> usable result.
> i'm an 11th grade student so more important things may pop up in near 
> future... (in case you
> worry, i think (as a least instance) i'm capable of writing clean (concerning 
> memory), structured
> and reliable code -- but as the ncurses faq says, the library doesn't like to 
> free(3) its
> internal stuff for it may be needed later; unless you configure it to do 
> so...)
>
> as soon as i figured out how to write components for gambas using the c 
> interface, i'll start
> anyway...
>
> regards,
> tobi
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ncurses component

2012-03-26 Thread Demosthenes Koptsis
Goodmorning to all in the list,

ncurses are very usefull for profesionals which work as admins with 
dedicated servers and want a gui style for their terminal.

when i was admin i used iptraf which is a monitoring tool writen in ncurses.

Think that monitoring tools (htop), admin tools (yast) are very usefull 
for console guys, are more faster and are the last option after a 
computer crash.

I think ncurses+gambas = Great, it would be a nice easy way to have gui 
console apps !!!

Στις 26/3/2012 18:38, ο/η tobi έγραψε:
> On Mon, 26 Mar 2012, Rolf-Werner Eilert wrote:
>> Am 25.03.2012 14:42, schrieb tobi:
>>> Benoît,
>>>
>>> do you think an ncurses component would be useful? i abandoned the X server 
>>> with the beginning of
>>> the year and when i noticed that i would need a console ide for gambas, i 
>>> began writing one (cut
>>> down to my personal needs of course) using ncurses library. as it went more 
>>> complicated i
>>> appended it to the long queue of to-do projects ;)
>>> but yesterday i realised that having an ncurses component in gambas would 
>>> make things a lot easier,
>>> the console ide could be written in gambas (what an idea!)
>>> on the other hand: who needs ncurses nowadays? what do you think, is it a 
>>> waste of time or a
>>> valuable addition?
>>>
>>> (hope, the accent works, i searched about an hour for that - and can't even 
>>> see the result)
>>>
>>> regards,
>>> tobi
>>>
>> The accent works :-) And I like the ncurses idea, in fact I had such an
>> idea some time ago. Don't remember what I wanted to do with it, but
>> after realizing the complexity, I simply wrote some routines for colours
>> and stuff, the rest was purely playing around a bit. Nothing serious.
>>
>> Rolf
>>
> well, i'd volunteer but i can't estimate any time needed for a basically 
> usable result.
> i'm an 11th grade student so more important things may pop up in near 
> future... (in case you
> worry, i think (as a least instance) i'm capable of writing clean (concerning 
> memory), structured
> and reliable code -- but as the ncurses faq says, the library doesn't like to 
> free(3) its
> internal stuff for it may be needed later; unless you configure it to do 
> so...)
>
> as soon as i figured out how to write components for gambas using the c 
> interface, i'll start
> anyway...
>
> regards,
> tobi
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Demosthenes Koptsis
it is nice feature.

May i ask if we can use it with apache in the future like php ?



On 03/18/2012 03:29 PM, Benoît Minisini wrote:
> Hi,
>
> In revision #4561, Gambas compiler now can compile WebPage.
>
>  What is a WebPage ?
>
> WebPage is a new "form" type that you enable in the IDE by using the
> 'gb.web' component.
>
> It generates an HTML page from an HTML template having an ASP-like syntax.
>
> A WebPage has two parts: a "class" part (like forms) stored in a *.class
> file, and an HTML template part stored in a *.webpage file. The HTML
> part is edited with a standard text editor.
>
> At the moment, the following syntaxes are implemented:
>
> <% Code %>
>
>   This introduces Gambas code inside the HTML page. Use the
>   PRINT instruction to generate some HTML directly.
>
> <%= Expression %>
>
>   This evaluates Expression and convert it to HTML with the
>   Html$() function.
>
> For example:
>
> 
> 
> <%Dim sEnv As String%>
> Environment
> 
> <%For Each sEnv In Application.Env%>
> 
> <%=sEnv%>
> <%=Application.Env[sEnv]%>
> 
> <%Next%>
> 
> <%
> Print ""; Html("Cool isn't it?");""
> %>
> 
> 
>
>  How does it work internally?
>
> The *.webpage file is transformed by the compiler into a Render() method
> added to the *.class file. This Render() methods prints the generated
> HTML to the standard output.
>
>  So now?
>
> Let's talk about what kind of useful syntax could be implemented!
>
> I think that every template syntax should be enclosed by '<%' and '%>'.
>
> I think that some sort of include is needed. For example, something like
> <%{OtherWebPage}%>  will be transformed into "OtherWebPage.Render()", so
> that the OtherWebPage is included into the current one.
>
> Nothing is engraved in the marble (french expression), so please tell
> what you think about that, and if you have ideas!
>
> Regards,
>


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Official port to FreeBSD.

2012-03-16 Thread Demosthenes Koptsis
Very nice news indeed !!!

On 03/16/2012 06:07 PM, François Gallo wrote:
> Hello the Gambas community.
>
> I declare you that Gambas is officially ported to the
> FreeBSD Operating System.
>
> Install all required packages in order to compile it.
>
> "The gb.qt4 component crashes for OpenGL. Why?"
>
> On *BSD systems, the directory which contains OpenGL
> headers is into the X11R6 'package' as :
>
> /usr/X11R6/include
>
> You must manually specify to your FreeBSD system this
> path with the good environment variable named CPATH.
> For the Bash shell user:
>
> CPATH=/usr/X11R6/include; export CPATH
>
> "The gb.cairo component crashes at compile time because
> the linker doesn't find the -lcairo option. Why?"
>
> Once again, that doesn't come from Gambas, but from
> your FreeBSD system configuration. In this case, that means
> you didn't specify your LD_LIBRARY_PATH environment variable.
>For the Bash shell user:
>
> LD_LIBRARY_PATH=/usr/local/lib; export LD_LIBRARY_PATH
>
> This port has been done on FreeBSD 9.0 64 bits (amd64).
>
> François Gallo.
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Toolbar height is wrong

2012-02-28 Thread Demosthenes Koptsis

On 02/28/2012 12:56 PM, Benoît Minisini wrote:

Le 28/02/2012 11:52, Demosthenes Koptsis a écrit :

should i set any other property to work?

Because

tlbrMain.Height = Desktop.Scale * 7

does not work.

See attached project i changed it.

Thanks!


No, you have no control on the toolbar height. This won't change.

But I was wrong in the previous mail. You can use any icon inside a
toolbar button, it will be stretched automatically, provided that you
use only ToolButton or MenuButton in the toolbar.

Regards,



ok, i changed again the project.

i have three toolbuttons in a toolbar but toolbar does not stretches 
automatically and Autoresize is set to True.







Project142.tar.gz
Description: GNU Zip compressed data
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Toolbar height is wrong

2012-02-28 Thread Demosthenes Koptsis

should i set any other property to work?

Because

tlbrMain.Height = Desktop.Scale * 7

does not work.

See attached project i changed it.

Thanks!

On 02/28/2012 12:28 PM, Benoît Minisini wrote:

Le 28/02/2012 11:16, Demosthenes Koptsis a écrit :

Hello,

i reopen an issue about Toolbar.
In attached Project142 there is a form with a toolbar (red bg) and a
hbox (green bg).

In hbox toolbuttons appears correctly but not in Toolbar.

Toolbar in run mode gets a small height and hides the toolbuttons.

I attach the project and a screenshot.

Can anyone confirm if there is a bug?

Thank you!


At the moment the toolbar height can only take three differents values
(Desktop.Scale * 4, * 5 and * 7).

If you use custom icons, they must have a small size.

Regards,





Project142.tar.gz
Description: GNU Zip compressed data
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Toolbar height is wrong

2012-02-28 Thread Demosthenes Koptsis

Hello,

i reopen an issue about Toolbar.
In attached Project142 there is a form with a toolbar (red bg) and a 
hbox (green bg).


In hbox toolbuttons appears correctly but not in Toolbar.

Toolbar in run mode gets a small height and hides the toolbuttons.

I attach the project and a screenshot.

Can anyone confirm if there is a bug?

Thank you!



Project142.tar.gz
Description: GNU Zip compressed data
<>--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] compile Gambas3 and gb.gsl

2012-02-19 Thread Demosthenes Koptsis
ok, i installed the gsl. All is ok now.



On 02/19/2012 04:34 PM, Wally wrote:
> try install gsl and gsl-devel packages  (GNU Scientif Library)
>
> On Sunday, February 19, 2012 16:27:13 Demosthenes Koptsis wrote:
>> hello i try to compile gambas3 in a Linux Mint Debian Edition and i get
>>
>> || THESE COMPONENTS ARE DISABLED:
>> || - gb.gsl
>>
>> any ideas?
>>
>> Thanks!
>>
>> 
>> -- Virtualization&  Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> --
> Virtualization&  Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] compile Gambas3 and gb.gsl

2012-02-19 Thread Demosthenes Koptsis
hello i try to compile gambas3 in a Linux Mint Debian Edition and i get

||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.gsl

any ideas?

Thanks!

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] checkconfig errors

2012-02-06 Thread Demosthenes Koptsis
hi to all,

i downloaded the latest svn and i see that the checkconfig fails when 
try to install examples.

i get

---
Making install in examples
make[1]: Entering directory 
`/home/user/Downloads/Gambas/gambas3-svn4454/examples'
make[2]: Entering directory 
`/home/user/Downloads/Gambas/gambas3-svn4454/examples'

Installing the gambas examples...
rm: fts_read failed: No such file or directory
make[2]: *** [install-exec-local] Error 1
make[2]: Leaving directory 
`/home/user/Downloads/Gambas/gambas3-svn4454/examples'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory 
`/home/user/Downloads/Gambas/gambas3-svn4454/examples'
make: *** [install-recursive] Error 1

  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.
---

why i get
rm: fts_read failed: No such file or directory

this is not a compilation problem but a checkconfig install problem

i also tried to install other versions of checkconfig and i get the same 
errors.
Is there something in examples that checkconfig cannot handle?

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas WebPage

2012-01-28 Thread Demosthenes Koptsis
This webpage does it replace the .form and .class files we use?


On Sat, 2012-01-28 at 21:18 +0100, Ron wrote:
> Benoit great news that we can start develop web pages. No idea what I need
> exactly. I will just start to play with it for my project and let you know
> what I think then.
> 
> Regards,
> Ron_2nd
> Op 28 jan. 2012 18:57 schreef "M. Cs."  het volgende:
> 
> > Will it be possible to display a native HTML/PHP code in it like in
> > ... ? Why to depend on ASP?
> >
> > Csaba
> >
> > 2012/1/28, Sebastian Kulesz :
> > > I really like this idea, it makes an application really versatile.
> > > What I think is that before starting to code it you must define some
> > > things.
> > >
> > > First, the security implications. Will real webpages be able to use
> > > that syntax?. A nice feature would be a whitelist of allowed pages
> > > that can be executed within a form, maybe with the include tag.
> > >
> > > Second, and most important.  How would you manage to call each event
> > > of a form input object, like a textbox? How could someone use the
> > > value of a textbox, for example? What happens if two form objects have
> > > the same "name" attribute? When an input button is pressed, the user
> > > is normally redirected to the "action" webpage, will you override this
> > > to execute an event and let the user choose?
> > >
> > > Third, about the links. A nice syntax would be
> > > gambas://FormName/Method/Param1/Param2/...
> > >
> > > That's all I could think of. Thanks for all the work!!
> > >
> > > On 28/01/2012, at 07:07, "Benoît Minisini"
> > > wrote:
> > >
> > >> Hi all,
> > >>
> > >> I have started the support of a new kind of "form" in the IDE, the
> > >> "WebPage".
> > >>
> > >> WebPage is an HTML page with ASP-like syntax. It is implemented in the
> > >> gb.web component.
> > >>
> > >> The IDE now can edit WebPage, but cannot compile them.
> > >>
> > >> Actually it is "just" a matter of modyfing the compiler so that the
> > >> WebPage is transformed into Gambas code that generates the final HTML.
> > >>
> > >> At the moment, the following ASP-like syntax will be implemented:
> > >>
> > >> - <% ... %> to insert any Gambas code.
> > >>
> > >> - <%= ... %> to insert the result of a Gambas expression. Html$() will
> > >> be automatically called.
> > >>
> > >> - Maybe something like <%INCLUDE ... %> to include a WebPage in another
> > >> one.
> > >>
> > >> Note that the WebPage is a file with a ".webpage" extension, and that,
> > >> they have their own class file attached (like any form).
> > >>
> > >> That way, you don't have to put all your code inside the HTML. Just what
> > >> is needed.
> > >>
> > >> Internally all WebPages will inherit the WebPage class, and will have a
> > >> "Render" method to render their contents (i.e. print to the standard
> > >> output - don't forget that a Gambas web application is a CGI script!).
> > >> They can be startup class too.
> > >>
> > >> I'd like to have the thoughts of Gambas users about that: what kind of
> > >> syntax you would like, what ideas you have...
> > >>
> > >> One idea I have would be a standard syntax for the URL received by the
> > >> CGI script, so that the displayed WebPage would be automatically
> > >> selected from it. It could be something as simple as
> > >> "http://myapp.com/".
> > >>
> > >> Thanks in advance for your comments.
> > >>
> > >> Regards,
> > >>
> > >> --
> > >> Benoît Minisini
> > >>
> > >>
> > --
> > >> Try before you buy = See our experts in action!
> > >> The most comprehensive online learning library for Microsoft developers
> > >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > >> Metro Style Apps, more. Free future releases when you subscribe now!
> > >> http://p.sf.net/sfu/learndevnow-dev2
> > >> ___
> > >> Gambas-user mailing list
> > >> Gambas-user@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > >
> > --
> > > Try before you buy = See our experts in action!
> > > The most comprehensive online learning library for Microsoft developers
> > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > > Metro Style Apps, more. Free future releases when you subscribe now!
> > > http://p.sf.net/sfu/learndevnow-dev2
> > > ___
> > > Gambas-user mailing list
> > > Gambas-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> >
> >
> > --
> > Try before you buy = See our experts in action!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future

Re: [Gambas-user] Gambas 3 is out!

2011-12-31 Thread Demosthenes Koptsis
Happy new Gambas years :) Keep going excellent work!


On Sat, 2011-12-31 at 14:44 +0200, Jussi Lahtinen wrote: 
> Big thanks and happy new year!!!
> I will do my part to spread the word!
> 
> Jussi
> 
> 
> 
> 2011/12/31 Benoît Minisini 
> 
> > Ouf! Gambas 3 is finally out!
> >
> > As promised, it has been delivered during the 2011 year. :-)
> >
> > Again, many many bugs were fixed and last-minute features were implemented.
> >
> > A few noticeable points:
> >
> > * The special mathematical functions of glibc are correctly detected and
> > used now.
> > * Floating point numbers should be printed in a better way.
> > * French, Czech and Catalan translations were updated.
> >
> > Two important security holes were also closed:
> >
> > * String hashing algorithm has been randomized.
> > * In the IDE, you cannot get the project version by running a program
> > (what a stupid idea!). Now you get it from a text file located in a
> > parent directory of the project.
> >
> > See the Release Notes for the full ChangeLog. Everything is on the web
> > site as usual
> >
> > And now sir?
> >
> > I think I will write a french article about the release for
> > http://linuxfr.org. And then an english one for english news site.
> >
> > I wanted to ask my marketing department to deal with the communication,
> > but I have no marketing department. So all my hopes are on you, dear
> > Gambas users. :-)
> >
> > And tell me that is not a pretty present for 2012. :-)
> >
> > --
> > Benoît Minisini
> >
> >
> > --
> > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> > infrastructure or vast IT resources to deliver seamless, secure access to
> > virtual desktops. With this all-in-one solution, easily deploy virtual
> > desktops for less than the cost of PCs and save 60% on VDI infrastructure
> > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> --
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual 
> desktops for less than the cost of PCs and save 60% on VDI infrastructure 
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ToolButtons do not appear correct in Toolbar

2011-10-30 Thread Demosthenes Koptsis
Well i saw how Gambas IDE implements the toolbar and i found out that it
uses HBoxes and not Toolbars.

So i put side by side an HBox and a Toolbar to demonstrate a bug in
Toolbar draw on the form

Toolbar cuts in half the Toolbuttons.

See screenshots. 
There is a screenshot in design mode and another in running mode.

The red background is the Toolbar, the green is the Hbox.

Hbox works but not Toolbar.



On Fri, 2011-10-14 at 16:51 +0200, Fabien Bodard wrote: 
> I think he not use a 'toolbar' but an hbox.
> And the hbox force the buttons height, so the picture are cut.
> 
> try to set more height to the hbox or the toolbar
> 
> 
> 
> Le 14 octobre 2011 16:42, Benoît Minisini
>  a écrit :
> >> Hi, i add some toolbuttons on a Toolbar.
> >> Each button has an image but at runtime it does not appear correct.
> >>
> >> See png
> >>
> >> How to correct this?
> >
> > At the moment, toolbar height depends on the value of the toolbar internal
> > size that you can change only with the toolbar pop-up menu.
> >
> > The size can be "small", "medium" or "large".
> >
> > The toolbar button icon size follows this setting by changing the icon size
> > specified in an "icon://name" picture patch, or by stretching the icon
> > otherwise.
> >
> > Regards,
> >
> > --
> > Benoît Minisini
> >
> > --
> > All the data continuously generated in your IT infrastructure contains a
> > definitive record of customers, application performance, security
> > threats, fraudulent activity and more. Splunk takes this data and makes
> > sense of it. Business sense. IT sense. Common sense.
> > http://p.sf.net/sfu/splunk-d2d-oct
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> 
> 

<><>--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] checkinstall error

2011-10-30 Thread Demosthenes Koptsis
i have LMDE and Gambas3-svn4223.

i get the following error from checkinstall -D command

---
make[1]: Entering directory
`/home/user/Downloads/Gambas/gambas3-svn4223/examples'
make[2]: Entering directory
`/home/user/Downloads/Gambas/gambas3-svn4223/examples'

Installing the gambas examples...
rm: fts_read failed: No such file or directory
make[2]: *** [install-exec-local] Error 1
make[2]: Leaving directory
`/home/user/Downloads/Gambas/gambas3-svn4223/examples'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory
`/home/user/Downloads/Gambas/gambas3-svn4223/examples'
make: *** [install-recursive] Error 1

  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.


Does anyone know what is 

rm: fts_read failed: No such file or directory

and why checkinstall fails for rm?



--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Fwd: Re: ToolButtons do not appear correct in Toolbar]

2011-10-22 Thread Demosthenes Koptsis
Has anyone see the 
Configure - "Not an object", 
Icon/size - "Null object" issues
for the Toolbar?


 Forwarded Message 
> From: Demosthenes Koptsis 
> To: gambas-user@lists.sourceforge.net
> Subject: Re: [Gambas-user] ToolButtons do not appear correct in
> Toolbar
> Date: Mon, 17 Oct 2011 18:37:46 +0300
> 
> No i use a ToolBar.
> 
> So now, at runtime when i select "Configure..." with mouse right click i
> get "Not an object"
> 
> When i select "Icon size/Medium" etc i get Null object.
> 
> Do i need to create forms for Configure and Size?
> I dont understand what i should do.
> 
> 
> On Fri, 2011-10-14 at 16:51 +0200, Fabien Bodard wrote: 
> > I think he not use a 'toolbar' but an hbox.
> > And the hbox force the buttons height, so the picture are cut.
> > 
> > try to set more height to the hbox or the toolbar
> > 
> > 
> > 
> > Le 14 octobre 2011 16:42, Benoît Minisini
> >  a écrit :
> > >> Hi, i add some toolbuttons on a Toolbar.
> > >> Each button has an image but at runtime it does not appear correct.
> > >>
> > >> See png
> > >>
> > >> How to correct this?
> > >
> > > At the moment, toolbar height depends on the value of the toolbar internal
> > > size that you can change only with the toolbar pop-up menu.
> > >
> > > The size can be "small", "medium" or "large".
> > >
> > > The toolbar button icon size follows this setting by changing the icon 
> > > size
> > > specified in an "icon://name" picture patch, or by stretching the 
> > > icon
> > > otherwise.
> > >
> > > Regards,
> > >
> > > --
> > > Benoît Minisini
> > >
> > > --
> > > All the data continuously generated in your IT infrastructure contains a
> > > definitive record of customers, application performance, security
> > > threats, fraudulent activity and more. Splunk takes this data and makes
> > > sense of it. Business sense. IT sense. Common sense.
> > > http://p.sf.net/sfu/splunk-d2d-oct
> > > ___
> > > Gambas-user mailing list
> > > Gambas-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > 
> > 
> > 
> 



--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ToolButtons do not appear correct in Toolbar

2011-10-17 Thread Demosthenes Koptsis
No i use a ToolBar.

So now, at runtime when i select "Configure..." with mouse right click i
get "Not an object"

When i select "Icon size/Medium" etc i get Null object.

Do i need to create forms for Configure and Size?
I dont understand what i should do.


On Fri, 2011-10-14 at 16:51 +0200, Fabien Bodard wrote: 
> I think he not use a 'toolbar' but an hbox.
> And the hbox force the buttons height, so the picture are cut.
> 
> try to set more height to the hbox or the toolbar
> 
> 
> 
> Le 14 octobre 2011 16:42, Benoît Minisini
>  a écrit :
> >> Hi, i add some toolbuttons on a Toolbar.
> >> Each button has an image but at runtime it does not appear correct.
> >>
> >> See png
> >>
> >> How to correct this?
> >
> > At the moment, toolbar height depends on the value of the toolbar internal
> > size that you can change only with the toolbar pop-up menu.
> >
> > The size can be "small", "medium" or "large".
> >
> > The toolbar button icon size follows this setting by changing the icon size
> > specified in an "icon://name" picture patch, or by stretching the icon
> > otherwise.
> >
> > Regards,
> >
> > --
> > Benoît Minisini
> >
> > --
> > All the data continuously generated in your IT infrastructure contains a
> > definitive record of customers, application performance, security
> > threats, fraudulent activity and more. Splunk takes this data and makes
> > sense of it. Business sense. IT sense. Common sense.
> > http://p.sf.net/sfu/splunk-d2d-oct
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> 
> 



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] libstdc++.so.6 error

2011-10-14 Thread Demosthenes Koptsis
Yes it is, it is LMDE which is based on testing repo and testing is not
stable so maybe there are weird errors.

On Fri, 2011-10-14 at 16:37 +0200, Benoît Minisini wrote: 
> > Message,
> > 
> > Project141: symbol lookup error: /usr/lib/x86_64-linux-gnu/libstdc
> > ++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version
> > GLIBCXX_3.4.15
> > 
> > 
> > Steps to reproduce.
> > 
> > 1) open project
> > 2) run project
> > 3) close running window
> > 4) get the message
> > 
> > Also i get "The program return value 127"
> > 
> > I use Linux Mint Debian Edition x64 and gambas3 svn4192
> > 
> > Attached project.
> 
> No message at all there... Maybe there is something weird on your system 
> and/or during Gambas compilation?
> 



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Dennis Ritchie is dead

2011-10-14 Thread Demosthenes Koptsis
On Fri, 2011-10-14 at 14:15 +0200, Fabien Bodard wrote: 
> 2011/10/14 Demosthenes Koptsis :
> > On Fri, 2011-10-14 at 01:17 +0200, Benoît Minisini wrote:
> >> I paid a little tribute to him by modifying the Gambas website front page.
> >>
> >> Will October, 8th become a non-compilation day?
> 
> 
> 
> >>
> >
> > My opinion is October 8th to be a great compilation day and special
> > releases or versions of software to be released that day!
> >
> 

My point of view is quite different. We can do anything we like but
thinking of the point of view of a programmer, a developer is happy when
creates, so i propose this day to be a special compilation day. 

It may be something as a joy for developing. This is the honor to
someone who is the father o programming language.

The other kind of thinking is "to keep 1 minute silence" or "1 day not
compiling". But these actions are not repeating as events, they are for
one shot.

People repeat events when they are for happy, the bad events are left
behind.

> Octobers 8th must be the day of "Built to last" things, Dennis Ritchie
> was one of those that have created all we are using actually ... and
> there is 40 years of that...
> 
> >
> > --
> > All the data continuously generated in your IT infrastructure contains a
> > definitive record of customers, application performance, security
> > threats, fraudulent activity and more. Splunk takes this data and makes
> > sense of it. Business sense. IT sense. Common sense.
> > http://p.sf.net/sfu/splunk-d2d-oct
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> 
> 



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Dennis Ritchie is dead

2011-10-14 Thread Demosthenes Koptsis
On Fri, 2011-10-14 at 01:17 +0200, Benoît Minisini wrote: 
> I paid a little tribute to him by modifying the Gambas website front page.
> 
> Will October, 8th become a non-compilation day?
> 

My opinion is October 8th to be a great compilation day and special
releases or versions of software to be released that day!



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] libstdc++.so.6 error

2011-10-12 Thread Demosthenes Koptsis
Message,

Project141: symbol lookup error: /usr/lib/x86_64-linux-gnu/libstdc
++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version
GLIBCXX_3.4.15


Steps to reproduce.

1) open project
2) run project
3) close running window
4) get the message

Also i get "The program return value 127"

I use Linux Mint Debian Edition x64 and gambas3 svn4192

Attached project.


Project141.tar.gz
Description: application/compressed-tar
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Release of Gambas 3 RC5

2011-10-09 Thread Demosthenes Koptsis
On Mon, 2011-10-10 at 01:26 +0200, Benoît Minisini wrote: 
> Hi,
> 
> Here is the release of the fifth release candidate of Gambas 3.
> 
> Of course there were big bugs since the RC4, and a RC5 is needed. :-/
> 
> All the details about this release is on the web site.
> 
> And if I don't get big bugs again, this RC will become the final release. 
> Otherwise, you will have a RC6!
> 
> As for the final release, I think we (not necessarilly I) should make some 
> articles on some web sites to announce Gambas 3.
> 
> If you have some suggestions about what to say and where to say it, you are 
> strongly welcome!
> 

When the time for final release come you can put some articles in
PCLinuxOs magazine

http://pclosmag.com/

i also can translate any article you want and publish it in a Greek
printable-magazine for linux. (i am an author there :) )

Also i can put some banners in my linux-portal site (it is in Greek)
http://www.linux-newsbits.net/



> Best regards,
> 



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] ToolButtons do not appear correct in Toolbar

2011-10-07 Thread Demosthenes Koptsis
Hi, i add some toolbuttons on a Toolbar.
Each button has an image but at runtime it does not appear correct.

See png

How to correct this?
<>--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem

2011-10-06 Thread Demosthenes Koptsis
On Thu, 2011-10-06 at 12:00 +0200, Rolf-Werner Eilert wrote: 
> Am 06.10.2011 11:19, schrieb Demosthenes Koptsis:
> > On Thu, 2011-10-06 at 08:23 +0200, Rolf-Werner Eilert wrote:
> >> Am 06.10.2011 00:26, schrieb Demosthenes Koptsis:
> >>> The Project141 is attached if anyone want to check it out.
> >>> i have a path with Greek-Latin characters but this is not the problem.
> >>> i moved the project's folder to /home/user and the problem is the same.
> >>>
> >>> 1) What is the problem.
> >>> When i run the code
> >>>
> >>> Dialog.Path = Application.Path
> >>> If Dialog.SaveFile() Then Return
> >>>
> >>> The Save dialog shows but it point to a folder upper than
> >>> Application.Path
> >>>
> >>> for example if
> >>> Application.Path="/home/user/Project141"
> >>>
> >>> the dialog shows /home/user
> >>
> >> Try "/home/user/Project141/" - does it help?
> >>
> >
> > No, that i said at the begining. The path with Greek letters is
> > irrelevant with the Dialog.Path.
> > Any path, also /home/user/Project141 will show one folder up,
> > as /home/user.
> >
> > i think this is a bug.
> 
> Ok, maybe I got you wrong here, but what I meant was "add a slash at the 
> end of the path to indicate the directory". I vaguely remembered I had 
> this problem somewhere some time ago.
> 

Yes, you are right! With an ending "/" it works.
See the difference to OpenFile and SaveFile dialogs.
i use gb.form.dialog component.


Public Sub btnOpenFile_Click()

  Dialog.Filter = ["*.txt", "Text Files"]
  Dialog.Path = Application.Path
  If Dialog.OpenFile() Then Return
  txtArea.Text = File.Load(Dialog.Path)

End

Public Sub btnSaveFile_Click()

  Dialog.Filter = ["*.txt", "Text Files"]
  Dialog.Path = Application.Path & "/"
  If Dialog.SaveFile() Then Return
  File.Save(Dialog.Path, txtArea.Text)

End


SaveFile works with
  Dialog.Path = Application.Path & "/"

OpenFile works with
  Dialog.Path = Application.Path

Benoit i think this is a small bug.

> >
> >>> 2) second problem.
> >>> The path at the top of dialog is not shown correctly. Some characters or
> >>> whole words are missing.
> >>>
> >>> Is this because of Greek letters in path?
> >>>
> >>>
> >>> See screenshots from Open File and Save File dialogs
> >>>
> >>
> >> In the GUI you use, can you change the standard font for dialogs? It
> >> looks as if the font for the trees offers greek letters, the one for the
> >> labels in the dialogs does not.

i think this is not possible from IDE.
QT gives the font for dialogs and there have no access, as i know.

> >>
> >
> > Is this true? Is there an issue with label's font?
> > I think i can't change the Dialog Font.
> > This can be done by developers
> 
> I don't know about an "issue" with labels :-) I just thought, IF your 
> GUI (Gnome?) uses a different font for the labels (and I guess they use 
> labels in this dialog) than for the TreeView, it MIGHT be the reason for 
> the trouble here.
> 
> Most GUIs offer a way of determining the fonts you want to use for 
> certain parts of the GUI, at least the "big" ones (I know it from KDE 
> and Gnome, even LXDE and XFCE offer some regulations). So my proposal 
> was you just play around with this to see if it as any effect (and to 
> exclude a Gambas or Qt or whatever bug).
> 
> (I know, it's never a bug, it's a feature :-D )
> 
> Rolf
> 
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  1   2   3   4   5   >