Re: [Gambas-user] ... Is mailing list dead ?
Le 02/03/2017 à 10:07, Fabien Bodard a écrit : > This is a try to get some contact to the extern world :-) > No problem for me. -- Jacky Tripoteau -- 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] usb codebar reader how to handle events!?
Le 23/12/2015 16:59, PICCORO McKAY Lenz a écrit : > now continues with strange petitions: > > now i have a usb metrologic code bar reader, of course in each plug and > play changes the usb node, that was solved!! > > My problem are now that i want to detect when the input comes from this > device and not from the keyboard! > > the reader returns chars! i can configure to return a start char and end > char, but make me depends on a pre-configuration > > i want something like "if inputX_read " etc etc > > by example, for serial port if i have Sport the event when i have data are > _Read.. > > how can i made some thing similar with this device usb > > can manage as a extra keyboard, if this are, how can i diference two > keyboards (one the standar keyboard the other the codereader) > > a portion oof code will be helpfull > Hello, a barcode reader does not need to be declared in the system. It is automatically recognized. you must configure your reader with a preamble. For example with a *. Then when you get the barcode, you control the first character is a * If Left$(textbox.Text) = "*" Then Barcode = true Textbox.Text = Mid$(Textbox.Text, 2, Len(Textbox.Text)) what you want with Textbox.text endif Jack -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Release of Gambas 3.8.4
Le 21/12/2015 18:16, Benoît Minisini a écrit : > Hi, > > Gambas 3.8.4 has been officially released. > > Download it at: > > https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.4.tar.bz2/download > > Here is some important changes: > > - No crash anymore when running the IDE through a terminal server, or on > old desktops that do not manage some X11 properties. > - Support for time-only values on recent PostgreSQL databases. > - Support for PLAIN and CRAM-MD5 authentications in gb.net.smtp. > > For the full changelog, go to the web site! > > Regards, > Ok, thank you Benoit. X2go works fine with Gambas 3.8.4. Now Gambas works on windows and Mac. Bonnes fêtes. Jack -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas and x2go
Le 12/11/2015 19:02, Fabien Bodard a écrit : > Return the core dump. Salut Fabien, Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". gbx3: unable to find startup file [Inferior 1 (process 9078) exited with code 01] may be an indication If I run x2go with a complete desktop and then I start Gambas, it works -- Jac -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Gambas and x2go
Hello, with X2goclient with single application choice i launch /usr/bin/gnome-terminal in the terminal i launch gambas3 and i have this message Erreur de segmentation (core dumped) Does anyone have an idea [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=3.2.0-23-generic Architecture=x86 Distribution=Linux Mint 13 Maya Desktop=MATE Theme=Plastique Language=fr_FR.UTF-8 Memory=3277M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-zRybvvMBmt,guid=f2d5f3f6ab4f19a97423b7b60029 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GPG_AGENT_INFO=/tmp/keyring-lLP5O9/gpg:0:1 HOME= LANG=fr_FR.UTF-8 LC_ADDRESS=fr_FR.UTF-8 LC_IDENTIFICATION=fr_FR.UTF-8 LC_MEASUREMENT=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8 LC_NAME=fr_FR.UTF-8 LC_NUMERIC=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 LC_TELEPHONE=fr_FR.UTF-8 LC_TIME=fr_FR.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATECORBA_SOCKETDIR=/tmp/matecorba- MATE_DESKTOP_SESSION_ID=this-is-deprecated MATE_KEYRING_CONTROL=/tmp/keyring-lLP5O9 MDMSESSION=mate MDM_LANG=fr_FR.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/2670,unix/:/tmp/.ICE-unix/2670 SHELL=/bin/bash SSH_AGENT_PID=2750 SSH_AUTH_SOCK=/tmp/keyring-lLP5O9/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_SESSION_COOKIE=fa18ae9b8aa11c4d61eb49020006-1447309934.118025-1684088614 -- Jack -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] QT Frame, no border
Le 13/01/2015 08:59, Lewis Balentine a écrit : Frame (gb.qt4) This control is a container with an *etched border* and a label. The actual appearance of the frame depends on the underlying widget theme. Some of them do not even draw any frame at all! I am getting no border. I see no obvious way to get to the 'underlying widget theme'. So what is it that I need to fix ?? You must set the gui style via qt4-config. Plastique for example. jack -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Noel
Hello, Soon it's Christmas so for this occasion I made a little demo http://www.gambasforge.org/code-134-noel.html turn up the sound and Father Christmas will come Jack -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Question on ComboBox
Le 09/10/2014 11:02, Christof Thalhofer a écrit : Hi I saw, there was an error in my code (F4 did not work), here it is fixed. you need to use key.delete instead of key.del -- Cordialement Jacky Tripoteau -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] A good idea?
Le 21/09/2014 00:57, Tobias Boege a écrit : For the others: there is an error Component not found: genutil. You can either fix this yourselves or apply the attached patch. It seemed to be safe to just remove that component (?). Or recompile the project -- Cordialement Jacky Tripoteau -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to get Count(Current_month).Days ?
Le 20/09/2014 12:24, abbat81 a écrit : Hi, How can I get count of days in current month.year? In terminal I use: cal -m 02 2012 | xargs | sed 's/ /\n/g' | tail -n 1 But it doesn't work in Shell To *** Salut, for day : CInt(Now) - CInt(Date(Year(Now), 1, 1)) + 1 for week : Week(Now) -- Cordialement Jacky Tripoteau -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to get Count(Current_month).Days ?
Le 20/09/2014 12:35, Jack a écrit : Le 20/09/2014 12:24, abbat81 a écrit : Hi, How can I get count of days in current month.year? In terminal I use: cal -m 02 2012 | xargs | sed 's/ /\n/g' | tail -n 1 But it doesn't work in Shell To *** Salut, for day : CInt(Now) - CInt(Date(Year(Now), 1, 1)) + 1 for week : Week(Now) you must read (CInt(Now) - CInt(Date(Year(Now), 1, 1)) + 1) -- Cordialement Jacky Tripoteau -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] A game made in 1945 gambas3
Le 07/09/2014 16:02, Julio Sanchez a écrit : A simple game done in Gambas3, unused gb.sdl library. You can download both the source code and installer deb in http://jsbsan.blogspot.com.es/2014/09/1945-the-game.html Includes a simple library made in gambas3 for use with sprites and tiled Enjoy it Very nice work Julio. Jack -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] New demo
Bonjour à tous, I continue exploring and learning SDL component. My new demo will show you how to rotate color and how to make a pendulum with Gambas. http://www.gambasforge.org/code-123-road.html -- Cordialement Jack -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Image.Load() from gb.image.io defective?
Le 26/08/2014 20:41, Benoît Minisini a écrit : Le 26/08/2014 19:22, Tobias Boege a écrit : Hi Benoit, there seems to be a problem with gb.image.io (?) when using Image.Load(): Image.Load(Application.Path / .icon.png) throws Not enough arguments. I saw this happening in the SDL project Jack just sent to the list (Subject: New Demo) and the same error is thrown when Window.Screenshot() is used, so I suspect it has something to do with the Image constructor? No problem with gb.qt4 AFAICS. Project attached. I have just reconf-all'd, etc. the latest trunk. Regards, Tobi No problem there... Strange! Hi Tobias, what is your version of Gambas ? You must have the development version because this program uses the latest features. -- Cordialement Jack -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Image.Load() from gb.image.io defective?
Le 26/08/2014 19:22, Tobias Boege a écrit : Hi Benoit, there seems to be a problem with gb.image.io (?) when using Image.Load(): Image.Load(Application.Path / .icon.png) throws Not enough arguments. I saw this happening in the SDL project Jack just sent to the list (Subject: New Demo) and the same error is thrown when Window.Screenshot() is used, so I suspect it has something to do with the Image constructor? No problem with gb.qt4 AFAICS. Project attached. I have just reconf-all'd, etc. the latest trunk. I looked at your code you should do like this: Dim hWnd As New Window Dim img As Image Image.Load (Application.Path / .icon.png) Img = HWnd.Screenshot() img = img.Copy (0, 0, Img.width, Img.height) -- Cordialement Jack -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Image.Load() from gb.image.io defective?
Le 26/08/2014 21:17, Tobias Boege a écrit : On Tue, 26 Aug 2014, Jack wrote: Le 26/08/2014 19:22, Tobias Boege a ?crit : Hi Benoit, there seems to be a problem with gb.image.io (?) when using Image.Load(): Image.Load(Application.Path / .icon.png) throws Not enough arguments. I saw this happening in the SDL project Jack just sent to the list (Subject: New Demo) and the same error is thrown when Window.Screenshot() is used, so I suspect it has something to do with the Image constructor? No problem with gb.qt4 AFAICS. Project attached. I have just reconf-all'd, etc. the latest trunk. I looked at your code you should do like this: Dim hWnd As New Window Dim img As Image Image.Load (Application.Path / .icon.png) Img = HWnd.Screenshot() img = img.Copy (0, 0, Img.width, Img.height) Do you get the point of my mail? As soon as the interpreter reaches the Image.Load() line, it crashes with an error message Not enought arguments. This is an anomaly and has nothing to do with properly copying images. In fact, the program doesn't even run until the hWnd.Screenshot() line. I included it to show that the problem with the spurious Not enough arguments error also occurs with the Screenshot() method, and not only with Image.Load(). Regards, Tobi excuse me Tobias but I do not speak a very good English. I do not understand your problem because with the development version r6389 I do not have this error with your code. -- Cordialement Jack -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] New demo with Gambas
Hello, Here you will find a new demo called Raster. To work it requires a development version equal to or greater than the revision # 6389 because the program uses a Window.Screenshot () method -- Cordialement Jacky Tripoteau -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] how copy the screen to memory on a sdl project
Le 19/07/2014 21:03, Benoît Minisini a écrit : Le 18/07/2014 08:32, Jack a écrit : Hello ! screen.copy (x, y, w, h) does not exist, then in a sdl project, how to make a copy of part of the screen. In revision #6389, I added a Window.Screenshot() method that returns the contents of the SDL window as an Image object. I will add optional arguments so that we can get only a sub-part of the window. Please check it and tell me if it works for you. I tested it with the BeastScroll example only. Regards, @ Tobi, Tobi, thank you for your work and your time. @ benoit, I tested the Window.Screenshot () method and it works well. I think I'll ask a few small improvements. Soon. Thank you again for your speed to provide answers. -- Cordialement Jacky Tripoteau -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] how copy the screen to memory on a sdl project
Le 18/07/2014 15:09, Tobias Boege a écrit : By screen you mean the whole desktop, not just your SDL window, right? Excuse me Tobi. I was not very clear. Screen for me is only sdl window. it's the working screen defined by the Gambas program. -- Cordialement Jacky Tripoteau -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] how copy the screen to memory on a sdl project
Hello ! screen.copy (x, y, w, h) does not exist, then in a sdl project, how to make a copy of part of the screen. -- Cordialement Jacky Tripoteau -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] UGD demo
Hi, here http://www.gambasforge.org/code-112-ugd.html is a new demo called UGD (Gambas Ultimate Demo) because inspiration comes from the scrolling code demo Whodares the Overlanders. I have advanced a lot since my first attempts in the field of animation there a few months. Gambas reveals quite fluid, but it is far from capacity GFA. I hope these new lines of code you will enjoy and find a positive response to continue this very rewarding exploration. Good discovery. Jack. -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] vector-ball
Hi, do you know a vector ball written in Gambas ? No ? then follow the link below http://www.gambasforge.org/code-109-vector-ball.html Jack. -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Create directory with ftpclient
Hello all, is somebody know how create a directory with Ftpclient. I use this code : Dim Cmdmk As New String[] Cmdmk = [mkdir example] Ftpclient.Exec(Cmdmk) I got an error 500 (unknow command) NB : In a console ftp, mkdir example, works. any suggestions would be greatly appreciated Jack -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Create directory with ftpclient
Le 17/03/2014 11:26, Jorge Carrión a écrit : This ftpc.Exec([MKD newfoldername]) Works for me. Hope this helps. Regards Ah ? mkd instead of mkdir. it's work for me too now. Thank's Jorge -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Create directory with ftpclient
Le 17/03/2014 12:35, Tobias Boege a écrit : On Mon, 17 Mar 2014, Jorge Carri?n wrote: This ftpc.Exec([MKD newfoldername]) Works for me. Hope this helps. Yeah. You must know that the program ftp lets you enter commands which don't appear in the FTP specification. It then maps these strings to the actual commands, like mkdir (descriptive name) which is mapped to MKD (less descriptive but the actual name of the FTP command). The Gambas FtpClient won't do that for you - be it just because it is not standard. Regards, Tobi thank you for your explanations Tobias, it is clearer to me now Jack -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] .Run() method of DesktopFile Class... How to ?
Le 09/01/2014 14:23, Ru Vuott a écrit : Hello, I wrote this simple code to try DesktopFile.Run() method: ** Private pr As Process Public Sub Form_Open() Dim df As DesktopFile With df = New DesktopFile(/path/of/my/file.wav) pr = .Run(totem) End With End hello why not use sdl component ? Public Sub Form_Open() Music.Load(/path/of/my/file.wav) Music.Play End it's more simple, no ? -- Cordialement Jacky Tripoteau -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Escape key while writing in a TextArea
Le 16/12/2013 16:10, Pino Zollo a écrit : I need to process the Esc key while writing into a TexArea to abort a transmission.. For some weird reason the Esc key is ignored by the TextArea... Bonjour, Have you try the esc or escape code ? If Key.code = Key.Esc or If Key.code = Key.Escape then print ok endif -- Cordialement Jacky Tripoteau -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Escape key while writing in a TextArea
Le 16/12/2013 16:10, Pino Zollo a écrit : I need to process the Esc key while writing into a TexArea to abort a transmission.. For some weird reason the Esc key is ignored by the TextArea... Perhaps give you a group to your TextArea -- Cordialement Jacky Tripoteau -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] TabStrip Control
Le 14/12/2013 17:11, Nigel Verity a écrit : Hi I've just started using the TabStrip control in a project for the first time. I can't find a method for making a particular tab current. Any ideas, please? TabStrip1.index = 0 or 1 or 2 etc... -- Cordialement Jacky Tripoteau -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] New demo
Hello, for lovers of demos, here is a new animation 100 % Gambas. http://www.gambasforge.org/code-87-scrolltext-color.html Starfield with 200 stars, two transparent scrolltext, a sprite, a flag and many other things. Have fun. -- Cordialement Jacky Tripoteau -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: New demo
Le 20/09/2013 20:46, Fabien Bodard a écrit : jack use screen.framerate to lowerize the draw call salut fabien, the program runs by default at 75 fps (on my box). it's too fast for you ? -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] demo
For those who like! A demo like Atari or Amiga here http://www.gambasforge.org/code-87-scrolltext-color.html Enjoy -- Cordialement Jacky Tripoteau -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] List of Open Forms?
Le 27/08/2013 17:51, Ru Vuott a écrit : I tried this simple code: Private w As Window Public Sub Form_Open() With w = New Window .W = 100 .H = 100 .X = 0 .Y = 0 .Show End With With w = New Window .W = 100 .H = 100 .X = 200 .Y = 100 .Show End With With w = New Window .W = 100 .H = 100 .X = 300 .Y = 200 .Show End With Me.Center Application.MainWindow = Me ' and also: = Fmain End When you launch the program, 3 windows open. Then, if you close the main Form of application, those three windows close too. bye vuott You can also open each windows in new virtual desktop if gb.dektop is activate. Private w As Window Public Sub Form_Open() With w = New Window desktop.current = 2 .W = 100 .H = 100 .X = 0 .Y = 0 .Show End With With w = New Window Desktop.Current = 1 .W = 100 .H = 100 .X = 200 .Y = 100 .Show End With With w = New Window Desktop.Current = 3 .W = 100 .H = 100 .X = 300 .Y = 200 .Show End With Desktop.Current = 0 Me.Center Application.MainWindow = Fmain End -- Cordialement Jacky Tripoteau -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] compilation issue (2nd try)
Le 25/08/2013 17:45, Fernando Martins a écrit : Hi, I'm running Mint 15 which comes with an old version of gambas, 3.2 and I'm trying to compile 3.4.2 I came across several issues, mostly missing packages not available in the repository, or at least not with the expected name. Although 'make' works with some missing packages, when I do sudo make install, it throws errors for the missing components and finally it says Unable to compile gambas3. Is this because of the missing components? I can see no explicit reason for this error. Regards, Fernando Hi, you can use this ppa, it's easier than the compilation. sudo add-apt-repository ppa:nemh/gambas3 then : sudo apt-get update sudo apt-get install gambas3 -- Cordialement Jacky Tripoteau -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] starfield
Bonjour, Here is a starfield with scrolltext. thank you at Guy Carlier for its examples. http://www.gambasforge.org/code-85-starfield2.html -- Cordialement Jacky Tripoteau -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Scrolltext
Hello ! here you can find a little scrolltext writen in Gambas3. http://www.gambasforge.org/code-80-scrolltext.html Enjoy ! Jack -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Who use gb.report ? (to all gambas users)
Le 30/08/2012 13:11, Fabien Bodard a écrit : This is my query... If you use it tell me what you want to see as improvement... The problems with it. If you are not using it but need printing or generate reports. Tell me why you are not using it. Thank you Fabien Bodard Bonjour Fabien, when I transcribed Laurux gb2 to Gb3, gb.report was not finalized at this time and I am choosing pdf.writer available on the gambas.it site. This allowed me to quickly and easily rewrite sixty reports because the syntax was similar to what I was using before (draw). Cordialement. jack -- 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] Who use gb.report ? (to all gambas users)
Le 30/08/2012 15:26, Fabien Bodard a écrit : For jack... Gb.report is more easy to use :) Yes Fabien, I admire your work and I will use gb.report when i have a little more time :) -- 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] Pre-release of Gambas 3.2.0
Le 30/06/2012 15:25, Benoît Minisini a écrit : Hi, I have uploaded the Gambas 3.2 source package on sourceforge: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.2.0.tar.bz2/download Please try it, and if there is no problem, I will make the release public. Thanks in advance. Regards, Bonjour Benoit, It's good for me. Gambas launches successfully and my programs also. waiting to use it more thoroughly Jack Ubuntu 10.10 Gnome 2.32.0 -- 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] Gambas2 Bug
Le 27/10/2011 04:43, Christian DaGeek247 Stephens a écrit : *I am seriously frustrated with this one, and I don't have a solution for it.* * * *Here's the deal. I have a program that is fairly far into construction, and this issue is stopping all production. I made a menu item, and it worked. I edited the menu, and changed its code completely. The menu is the same as it was before i changed when i run it, but the saved files are changed to what they are supposed to be. I completely removed the gambas settings files, and it still does this. any idea as to the cause? I know for sure that it is not me because the code / look change is so dramatic.* * * *I am also pretty sure that if I were to send the code to someone, it would work fine for them, because it the programs fault. Maybe someone could tell me how to reset the gambas cache (Is there one?) or to remove ALL of the old version, so gambas runs the one it supposed to?* * * *All help is appreciated, thank you.* did you try to recompile your program? Jack -- 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] Gambas 3 RC4
Le 24/09/2011 14:23, Benoît Minisini a écrit : Hi, Of course, many people found annoying bugs since RC3. But now things became a bit quiet, so I decided to make the fourth release candidate of Gambas 3. If nobody find big bugs again, it will become the final release - but I know you :-) As usual, you can get all the details about this release from the web site. And of course, do report about Gambas 3 packaging on your distribution! Thanks in advance, Regards, Thank you Benoit, works fine on my Ubuntu 10.10 Jacky -- Cordialement. Jacky Tripoteau -- 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] Barcode example for Gambas3
Le 05/06/2011 18:35, Pino Zollo a écrit : I posted this on gambas-devel but don't know if it got through. I was not registered on that list. It is an update on the barcode example for Gambas3. http://old.nabble.com/file/p31776060/BarcodeG3-0.0.4.tar.gz BarcodeG3-0.0.4.tar.gz On Ubuntu 10.04 ... 32 bit FMain.DrawingArea1_Draw.39: FMain.DrawingArea1_Draw.37 Type mismatch: wanted Float, got Null instead and FMain.printer_Draw.49: FMain.printer_Draw.47Type mismatch: wanted Float, got Null instead replace txtWidth.Text = 1.5 by txtWidth.Text = 1,5 -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Serial with 9 databits
Le 11/04/2011 11:00, wally a écrit : Is there a way to setup the gambas serial control to 9 databits ? ( or another way to communicate with (9 dtat, even par, 2 stops ) ? IF your name port is sPort Sport.Speed = 19200 Sport.Parity = 0 Sport.DataBits = 9 Sport.StopBits = 2 Jack -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] select columnview row
2011/2/1 Anthony Tekatchanth...@unihedron.com Is there a way to have the application set the current row of a ColumnView just like it was clicked by a user? When the ColumnView starts up, the default is unselected, I want my code to select the first row, but I cannot write to .Current.Key Yes, if i understand your question, you can do it. ColumnView.movefirst() ColumnView.Item.Selected = TRUE -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas3
Perhaps GAMBAS needs something like Python's string y=repr(any x) to guarantee y is a string representation of x Date: Tue, 30 Nov 2010 09:04:58 +0100 From: r...@cyberjunky.nl To: gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] Removing / Modifying Is() functions in Gambas3 Mail.module:IF IsString(Main.GlobalVar[Minute]) THEN Main.GlobalVar[Minute] = Val(Main.GlobalVar[Minute]) Just seems to be checks to see if the variant value from that collection isn't empty, to prevent errors. So use 'Not IsNull()' instead. I get when I do If Not IsNull(Main.GlobalVar[Minute]) Then Error: Type Mismatch wanted string, got integer. Main.GlobalVar[Minute] 's value is 34 Main.GlobalVar[] is a Collection with Variants , so contains all types of values. Sometimes, (don't know why) Main.GlobalVar[Minute] contained a string so 34 instead of an integer, then further down my program things went wrong, so therefor this stupid check and correction posted above was used.. Regards, Ron_2nd. -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Dumb columnview question
richard terry a écrit : Despite reading the docs, I can't figure out how to set the columnview mode to either multiple or single in code. Any help appreciated. Columnview.mode = select.multiple Columnview.mode = select.single Jack -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Control + key combination detection Q
richard terry a écrit : From the docs: If Key.Code = Key[R] And If Key.Control Then Print You hit CTRL+R End If If my hands this does the following Key.code = 1677724 Key[R] = 82 Key.control = true but I'm probably pressing ctrl + small r I guess: Clearly they don't match If I put on the capslock to ensure a capital R, results are similar. ie one long number, the small number. What could I be doing wrong? Perhaps this code ? IF key.Control THEN IF key.code = key[R] THEN Print You hit CTRL+R End If Jack -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Control + key combination detection Q
richard terry a écrit : On Friday 08 October 2010 01:11:02 Jack wrote: richard terry a écrit : From the docs: If Key.Code = Key[R] And If Key.Control Then Print You hit CTRL+R End If If my hands this does the following Key.code = 1677724 Key[R] = 82 Key.control = true but I'm probably pressing ctrl + small r I guess: Clearly they don't match If I put on the capslock to ensure a capital R, results are similar. ie one long number, the small number. What could I be doing wrong? Perhaps this code ? IF key.Control THEN IF key.code = key[R] THEN Print You hit CTRL+R End If Key.code = 1677724 Key[R] = 82 As pointed out above this is the problem, should work according to the docs but returns different numbers In my box. Key.control = 4129 and key[R] = 82. But as it is say in the doc, Never compare the value of this property with a numeric constant, because the key codes may depend on the underlying toolkit. Always use the constants defined in this class! -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas and ssh (Pablo Ontivero)
Pablo Ontivero a écrit : Well, thanks for all the answers, i don't have any idea of perl, so i don't know if i was able to make a app with that languaje. The ssh connect entablish with out problem, becouse gambas ask me for the password for the login. but the problem is.. i can't see the process on a TextArea, i think it is like a make a tty o gambas. How can i see the output of the process? becouse if i put TO variable i got a sintaxis error. Salut Pablo, you can see on Laurux how Marc Guillaume manages connections ssh. Look at fmenu program. It is brilliant. Cordialement. jack -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Dumb question - testing for an empty text box
richard terry a écrit : I almost feel embarrassed to ask this having programmed in gambas for so long, but here goes. simplest syntax for testing for no text in a textbox. I currently to if Trim(textbox1.text) = then salut Richard, if isnull(Textbox1.text) is an another way. Jack -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] date member order presentation
Jean-Yves F. Barbier a écrit : Hi, I use a postgresql database, and I need to display dates (in a modified TableView) according to DB (ISO: -mm-dd, with separator '-', not '/'), otherwise it displays 10/11/2009, but waits for an input such as 2009-11-10 when I search. How can I do that? Format$(Yourdate, -mm-dd) -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gridview header text?
Szenográdi Norbert a écrit : Hi, Can I setup gridview header text? regards, Sevoir gridview.Columns[0].Title = text1 gridview.Columns[1].Title = text2 Is it that you want ? Jack -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Hoem Path and username?
Stefan Miefert a écrit : How I can get the actual user home path and the actual username? I see a example like this System.home but this doesn't work in my gambas In Gambas2 it is user.home -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Re port for Gambas
Le samedi 09 mai 2009 13:35:52 charlesg, vous avez écrit : Hi I think Laurux uses Kugar? Bonjour, I use no more Kugar. All reports of Laurux are now made with Gambas, but i can send you some Kugar reports samples if you want. Jack -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to input quotation mark in TextBox.Text to mysql
Le mercredi 29 avril 2009 13:24:47 webs37, vous avez écrit : Hi all, Please help.., I have error message:Query failed: You have an error in SQL syntax, check the manual that corresponds to MySQL server version for the right syntaxto use near 'an',address='Saudi Arabia I want to input text that have a quotation mark like al Qur'an here these the syntax: syntax edit = UPDATE tbl_user set title=' TextBox32.Text ',publisher=' TextBox35.Text ',year=' TextBox33.Text ',volume=' TextBox39.Text ',colation=' ComboBox14.Text ',isbn=' TextBox53.Text ',city=' an1!id_city ',publisher=' ana3!id_log ',subject=' an2!id_log ',distribution=' ana4!id_log ',hp=' TextBox36.Text ',status=' Label159.Caption ' WHERE id=' Label92.Caption ' rsedit = connection.Exec(edit) use this syntax. Connexion.Exec(UPdate tbl_user SET title = 1, publisher = 2, year = 3, status = 4 where id = 5, TextBox32.Text , TextBox35.Text, TextBox33.Text, Label159.Caption, Label92.Caption) Jack -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Switching between forms in tabstrip
Le mercredi 25 février 2009 18:03:29 Vackoy, vous avez écrit : Yes, but which element/object is the observer for the Keypress? I tried with Workspace.Keypress but when I open a form, the observer becomes the form and not the workspace, so no matter what key I press it doesn't raise the event... M0E Lnx wrote: Have not tried it but I imagine you can code that in the windows_Keypress() event. Should be doable As Moe told to you, you can use windows_Keypress() event EX. suppose you have two textbox named textbox1 and textbox2 declared in group tbox with tag 1 2. This procedure below show you how going textbox1 to textbox2 and textbox2 to textbox1. PUBLIC SUB Tbox_KeyPress() IF Key.code = Key.enter OR Key.code = Key.Return OR Key.code = Key.Tab THEN SELECT CASE LAST.tag CASE 1 Textbox2.SetFocus STOP EVENT CASE 2 Textbox1.SetFocus STOP EVENT endif end I hope that it is it that you want Jacky -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambasdoc.org not working?
Le lundi 23 février 2009 16:52:29 Vlado Peshov, vous avez écrit : gambasdoc.org not working? for me it work at http://gambasdoc.org/help/ -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] columnview count how many are selected
Le lundi 09 février 2009 19:09:40 Joshua Higgins, vous avez écrit : Hello, I'm using a columnview with the property Mode set to Multiple. What code do I need to let me count how many are currently selected. I tried ColumnView1.Current.Count but that always prints 0. try this Joshua nbc as integer = 0 'number count public sub numberCount() Columnview1.movefirst() repeat if columnview1.selected then inc nbc until columnview1.movenext() end Regards. Jacky -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user