[Gambas-user] Displaying a pdf file to the user

2016-10-05 Thread Jose Monteiro
I know how to call an external viewer. Is it simple to show a one page pdf file inside a Gambas3 control? RegardsJosé Monteiro -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashD

Re: [Gambas-user] ProgressBar code example

2016-09-26 Thread Jose Monteiro
Thank you, Charlie.I am working with your snippet so the progressbar goes smooth. Also I will register an account on www.gambas.one forum too.José Monteiro On Sunday, September 25, 2016 2:23 PM, Charlie wrote: Have a look at the attached and see if that helps, if not check us out at G

[Gambas-user] ProgressBar code example

2016-09-22 Thread Jose Monteiro
Dear fellows:Could someone provide a code snippet for  the situation below? All the events happen on the same Sub. * Copying a template text file to another directory for edition  --->ProgressBar starts* More than 50 lines of code, editing the template ---> ProgressBar grows* The template is mov

[Gambas-user] Select and then unselect an item from a CollumnView

2016-05-18 Thread Jose Monteiro
Dear Fellows: In order to find an item inside a very populated CollumView, the user types an integer on a ValueBox and the search if made by: cvNFMercantil.MoveTo(vbPedidoNFMercantil.Text) cvNFMercantil[vbPedidoNFMercantil.Text].Selected = True First problem: the item is selected, but the control

Re: [Gambas-user] Gambas3 on Rasperry Pi 3 with Ubuntu Mate 16.04

2016-05-05 Thread Jose Monteiro
Hi guys, I am very interested on this matter too.So far, I know that is possible to install RaspBian (Debian for Raspberry) and then Gambas 3.8.2 : Gambas Documentation - /install/raspbian | | | | || | | | | | Gambas Documentation - /install/raspbian | | |

Re: [Gambas-user] How to replace chr$(13) from a text file

2016-04-12 Thread Jose Monteiro
Thank you, Rolf. On Tuesday, April 12, 2016 5:51 AM, Rolf-Werner Eilert wrote: The New Line in Linux is chr$(10), not chr$(13). So here the Replace will not find anything: Am 11.04.2016 17:18, schrieb José Monteiro: > By now I tried to use: > > Mglobal.info = Replace$(TextArea1.Text,

Re: [Gambas-user] Lenght of a string

2016-04-06 Thread Jose Monteiro
Thank you again.This one line solution is much more elegant. On Wednesday, April 6, 2016 11:33 AM, ML wrote: José, A side note, no need also to use a FOR-NEXT to fill X spaces. You can do it in a single step:   'for i = 1 to (115 - len(name))   '  name = name & Space$(1)   'next   nam

[Gambas-user] Feeding a DataView using data from another DataView

2013-11-12 Thread Jose Monteiro
estion: How can I grab the field value? There is no click event and the mouse down event, even with track enabled on DataView control, does not work. Regards Jose Monteiro -- November Webinars for C, C++, Fortran Develo

[Gambas-user] DataView: how to know data of a certain cell?

2013-11-11 Thread Jose Monteiro
Using Gambas 3.4.2, I've put two DataView's on the same window, first one connected on a table. How can I grab the data of a certain cell, on a user selected roll?  I want to use this data to create a sql string and populate the second DataView. Regards José Monteiro

Re: [Gambas-user] Gambas in a tablet. Is it possible?

2013-10-31 Thread Jose Monteiro
, this software is completely possible. Maybe I need to think a little harder about it. On Thursday, October 31, 2013 9:31 AM, Rob Kudla wrote: On 2013-10-31 04:43, Jose Monteiro wrote: > Is it possible to install Gambas over Android? If you install an Ubuntu chroot or virtual machine, s

[Gambas-user] Gambas in a tablet. Is it possible?

2013-10-31 Thread Jose Monteiro
I have finalized a software for a microbiological lab using Gambas 3. Right now, I am starting a new one for a chemical lab and had an idea: a main software on a desktop and clients on tablets, one for each technician, so they can input the results by the wireless network. Is it possible to ins

[Gambas-user] Shell command not working

2013-03-07 Thread Jose Monteiro
text = "cd ~/.relat_bact && rm -rf Modelo*.odt && zip -r " & "MA" & Mid$(ListBox1.Text, 1, 9) & ".odt  ."   Shell text Wait 1 - navigating to ~/.relat_bact directory and deleting the odt file is working fine. 2 - generating the "zipped" odt file (MA.odt) using the files and directories ins

Re: [Gambas-user] " The program 'Embedder' received an X Window System error. "

2012-09-25 Thread Jose J. Rodriguez
On 9/25/12, Benoît Minisini wrote: > Le 25/09/2012 20:35, Jose J. Rodriguez a écrit : >> On 9/25/12, Benoît Minisini wrote: >>> Anyway, don't use embedder, it will be removed as it is a X11 specific >>> protocol that won't work on Wayland and is not reall

Re: [Gambas-user] " The program 'Embedder' received an X Window System error. "

2012-09-25 Thread Jose J. Rodriguez
On 9/25/12, Benoît Minisini wrote: > Anyway, don't use embedder, it will be removed as it is a X11 specific > protocol that won't work on Wayland and is not really useful. > Oh, dear... We've used embedded apps quite a bit, stuff like cfdisk, gparted and others. Oh well... Regards, Joe1962

Re: [Gambas-user] Create an application with root/sudo previlege

2012-04-03 Thread Jose J. Rodriguez
On 3/21/12, sundar_ima wrote: > > I am creating an application which calls bash scripts many time with > sudo/root privilege. Though i can execute bash script with either kdesu or > gksu, it asks password many times. Instead it would be nice if any one help > me on opening an application with sudo

[Gambas-user] Rejoindre mon réseau sur LinkedIn

2012-03-25 Thread julio jose montaño caraballo via LinkedIn
LinkedIn julio jose montaño caraballo souhaite se connecter à vous sur LinkedIn : -- Je vous invite à faire partie de mon réseau professionnel en ligne sur le site LinkedIn. Accepter l'invitation de julio jose montaño cara

Re: [Gambas-user] some questions of: Struct

2011-01-17 Thread Jose J. Rodriguez
On 1/16/11, nando wrote: > > 4) This is similar to RECORD in VB. > It is like "Type" in VB6. For example: Private Type MYSTRUCT ID As String Name As String End Type Then later you would do: Dim MyPerson As MYSTRUCT MyPerson.ID = "012" MyPerson.Name = "Joe1962" Regards, Joe1962

Re: [Gambas-user] Gambas bug tracker

2011-01-12 Thread Jose J. Rodriguez
On 1/11/11, Benoît Minisini wrote: > Really? What is your country? > Cuba. I had a few gambas and bash projects on googlecode myself, but haven't been able to manage them for a long time now. So I moved to www.berlios.de for my development stuff. Regards, Joe1962 ---

Re: [Gambas-user] Gambas bug tracker

2011-01-11 Thread Jose J. Rodriguez
On 1/2/11, Benoît Minisini wrote: > > Now, from the website, you can go to the new Gambas bug tracker located on > code.google.com. > > I'd like to have a bug tracker written in Gambas, but for now, let's use the > Google one. > Too bad google code has been blocking my country for some time now.

Re: [Gambas-user] Gambas app run as root

2010-10-05 Thread Jose J. Rodriguez
On 10/1/10, IMP Technologies - Tajinder Singh wrote: > > I have created a small basic interface for Fedora to change Plymouth theme. > But as changing theme requires to run some commands as root, I would like to > ask for root password before starting the application. > Similarly whenever we r

Re: [Gambas-user] How to open a form in modal mode?

2010-09-22 Thread jose
El mié, 22-09-2010 a las 19:54 +0300, Jussi Lahtinen escribió: > Never seen that problem... can you send project source to demonstrate this > problem? > > Jussi > > > 2010/9/22 Phạm Quang Dương > > > I know that this question is basic. But when I try this from Form1 > > > > Form2.OpenDialog()

[Gambas-user] Gambas to python

2010-08-19 Thread jose
Hello, I'm half a cumbersome problem, I try to run a shell to my mplayer variable declared as a process. What is the running mplayer python interactive console which I call a player, my problem is: Once called the SHELL ("python"), you run the console, but not how to enter new commands to the con

Re: [Gambas-user] Post data and files

2010-07-30 Thread jose
Hey amigos!, thanks for all the help offered, Caveat code you sent is excellent, very clear and said With this information I am in the final stages of concluding a cms in php, supplementing with a graphical interface. As soon as I finish, I will release under GPL. This was thanks to you a

Re: [Gambas-user] Post data and files

2010-07-29 Thread jose
Hello people of the forum prawns: I have problems trying to send variables from one form to a PHP file hosted on a remote server. Currently I have installed Gambas 2.20, I have sought information about it but most of the documentation is limited. My remote server using PHP 5, there is some docume

[Gambas-user] Post data and files

2010-07-29 Thread jose
hello everybody! Can you help?, how can I send datas and files to php from Gambas2 app? thanks! -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm

Re: [Gambas-user] Problems with forms

2010-07-16 Thread jose
e, 16-07-2010 a las 15:40 +0200, Caveat escribió: > Hi Jose > > I don't really understand your question, sorry. > > Can you give some more details? Do you need to send data to a > (php-based) website and get a response back? Generate a php file from > some data in a Ga

[Gambas-user] Problems with forms

2010-07-14 Thread jose
Hello people of the community gambas. implemented some time ago gambas come in my projects, but I have found in the following situation: I need to send gamba's form data to a file.php, and get an answer from it. I have searched without documentation to successful outcomes. >From already thank yo

Re: [Gambas-user] Gambas3 build issues

2010-06-08 Thread Jose J. Rodriguez
On 6/3/10, Benoît Minisini wrote: > > hum... what is your version of gcc ? > > > > struct _GtkPrinter > > { > > GObject parent_instance; > > > > GtkPrinterPrivate *GSEAL (priv); > > }; > > > > it seem that the compilator don't like the '(priv)' > > > > > I would have said that gtk+ v

Re: [Gambas-user] Gambas3 build issues

2010-06-02 Thread Jose J. Rodriguez
On 6/2/10, Charlie Reinl wrote: > Am Mittwoch, den 02.06.2010, 21:28 +0200 schrieb Fabien Bodard: > > > i've 4.4.3 ..; is there a change between this two version ... > > > > 2010/6/2 Jose J. Rodriguez : > > > On 6/2/10, Fabien Bodard wrote: >

Re: [Gambas-user] Gambas3 build issues

2010-06-02 Thread Jose J. Rodriguez
On 6/2/10, Fabien Bodard wrote: > i've 4.4.3 ..; is there a change between this two version ... > No idea, hopefully we will hear from others about what gcc versions have worked for them or not. Regards, Joe1962 > > 2010/6/2 Jose J. Rodriguez : > > > On 6/2/10, Fabie

Re: [Gambas-user] Gambas3 build issues

2010-06-02 Thread Jose J. Rodriguez
On 6/2/10, Fabien Bodard wrote: > hum... what is your version of gcc ? > 4.2.3 Regards, Joe1962 -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://list

[Gambas-user] Gambas3 build issues

2010-06-02 Thread Jose J. Rodriguez
So I finally decided to check out Gambas3 from svn and give it a go, right after the new structure implemention announcement. However, I first had to download and build the latest versions of libtool, autoconf and automake, before reconf-all worked. Still, after all that, make fails, seemingly on s

Re: [Gambas-user] Structure support in Gambas 3

2010-05-26 Thread Jose J. Rodriguez
On 5/26/10, Benoît Minisini wrote: > Hi, > > I have just committed a new big internal change for Gambas 3 in revision > #2970: structure support. > Wow! That's cool! And I was just thinking this week that it might be about time for me to move up to G3... :D Regards, Joe1962 --

Re: [Gambas-user] Gambas for windows, how?

2010-05-19 Thread Jose Cubillo
Hi, i am Latino, in my bad english. in my work , i has enable run gambas application in Microsoft windows with xming, looking for in http://sourceforge.net/projects/xming. I has run server with Debian, Postgresql and Gambas application. xming can run a one application or make a conection with

Re: [Gambas-user] Trash

2009-10-09 Thread Jose J. Rodriguez
On 10/8/09, Matti wrote: > Is there any way to move files and directories to the user's trash bin? > Until someone implements the freedesktop.org trash specs on Gambas, you could try this: http://code.google.com/p/trash-cli/ Or a more involved general solution: http://freshmeat.net/projects/dels

[Gambas-user] Access a property via string (Introspection like)

2009-06-24 Thread Juan Jose Costello Levien
belongs to. I need this because the idea is to access in runtime to any object/property/method from outside gambas (for example, a Python script). Any help would be greatly appreciated. -- Juan Jose Costello Levien jclev...@gmail.com "Not good, not bad, only reasonable" &q

Re: [Gambas-user] kdesu vs gksu

2009-05-19 Thread Jose J. Rodriguez
On 5/18/09, Jesus Guardon wrote: > Yes, I know it may be a little off-topic, but the question is: > > I need to launch a process with root privileges from SHELL command in > Gambas. Users of my application can have Gnome or KDE, so I don't know > which command I must issue to get it to work. >

[Gambas-user] GIS component

2009-03-04 Thread Jose J. Rodriguez
Has anybody worked on or thought about a mapping/GIS component for Gambas? There are several open source libraries about with the functionality, unfortunately, I have no clue when it comes to java or C/C++, lol. Regards, Joe1962

Re: [Gambas-user] Monitor on/off

2009-02-19 Thread Jose J. Rodriguez
On 2/19/09, Jussi Lahtinen wrote: > > Anyone know how to turn monitor on/off from Gambas? > Thanks! > I had this tip saved for a while now, which seems to work so far: One click monitor power-down for Linux By Alastair Otter 19 December, 2007 If you're running a Linux-powered laptop and you

Re: [Gambas-user] Multiple TCP server sockets

2009-02-19 Thread Jose J. Rodriguez
On 2/19/09, Benoît Minisini wrote: > > On 2/17/09, Benoît Minisini wrote: > > > > Is there any way to get different TCP server objects with different > > > > ports to use a different socket object for read? I am trying to port > > > > my VB6 multiport communications server application to Ga

Re: [Gambas-user] Multiple TCP server sockets

2009-02-19 Thread Jose J. Rodriguez
On 2/17/09, Benoît Minisini wrote: > > Is there any way to get different TCP server objects with different > > ports to use a different socket object for read? I am trying to port > > my VB6 multiport communications server application to Gambas2 and (I > > think) I need something like that to

[Gambas-user] Multiple TCP server sockets

2009-02-17 Thread Jose J. Rodriguez
Is there any way to get different TCP server objects with different ports to use a different socket object for read? I am trying to port my VB6 multiport communications server application to Gambas2 and (I think) I need something like that to get it to work. Regards, Joe1962

Re: [Gambas-user] Some file/use or progress bar questions.

2009-02-03 Thread Jose J. Rodriguez
On 2/3/09, richard terry wrote: > On Wed, 4 Feb 2009 04:07:01 am werner 007 wrote: > > Hi Richard > > > > Maybe you put the file in a array with split() if it makes sense for > > further work. > > Dont know how slow it is on such big files, but i made no bad experience > > with around 1

Re: [Gambas-user] ServerSocket application without Forms

2009-01-29 Thread Jose J. Rodriguez
On 1/28/09, Benoit Minisini wrote: > On mardi 27 janvier 2009, Jose J. Rodriguez wrote: > > Is it possible to use ServerSocket in an applciation without Forms? I > > have been placed all the code in the Main Module and though I get a > > connection, the _Connection event

[Gambas-user] ServerSocket application without Forms

2009-01-27 Thread Jose J. Rodriguez
Is it possible to use ServerSocket in an applciation without Forms? I have been placed all the code in the Main Module and though I get a connection, the _Connection event does not seem to fire. Regards, Joe1962 -- This S

Re: [Gambas-user] Ask About POS Programming using Gambas

2009-01-08 Thread jose julio vidal
Hi! my code: DIM hFile AS File DIM txt AS String txt=Chr$(&H1B) & "m" & Chr$(49) & Chr$(0) 'corte papel parcial TRY hFile = OPEN "/dev/lp0" FOR WRITE WRITE #hfile, txt IF ERROR THEN message.Error("No se puede acceder a la Impresora") ELSE END IF regards

Re: [Gambas-user] Ask about com access

2008-12-09 Thread jose julio vidal
More info (control codes to open your cash drawer) http://pages.prodigy.net/daleharris/popopen.htm http://pages.prodigy.net/daleharris/popopen2.htm El mar, 09-12-2008 a las 04:23 +0800, Leo Sendra escribió: > Hi Jose.. thanks for the sharing... but, I have a question... What is the > m

Re: [Gambas-user] Ask about com access

2008-12-07 Thread jose julio vidal
Hi all! I also wrote a program pos in gambas :) I open the cash drawer as follows: C (constants): Gambas module file - PUBLIC codeopencash AS String = "" codeopencash=Chr$(27) & Chr$(112) & Chr$(0) & Chr$(27) & Chr$(112) & Chr $(1) . F (functions): Gamb

Re: [Gambas-user] Multiple instances of Gambas ...

2008-11-04 Thread Jose J. Rodriguez
On 11/4/08, Gareth Bult <[EMAIL PROTECTED]> wrote: > I have 4 screens .. I start Gambas on screen 3 .. then "gambas2" will work > quite happily on screens 2,3 and 4 , but will give the dump as quoted if > started on screen 1... although I'm sure it wasn't working on 2 and 4 earlier. > FWIW, I j