Re: [Gambas-user] SMTP Errors

2013-08-22 Thread Rolf-Werner Eilert
Hi Marty, error (authentication failed). I have tried everything including Rolf's suggestion of leaving off the user and password. Still authentication That was Willy's suggestion, and it's only possible when you're directly connected to the provider. When you want to use another provider,

[Gambas-user] Hello gambas-user

2013-08-22 Thread sundar j
Hello gambas-user, how are you? i started slowly too but now im rolling high http://bitly.com/14xv61F this was on the news and not enough people saw it --

Re: [Gambas-user] how to relauch the app from app

2013-08-22 Thread PICCORO McKAY Lenz
From: Randall Morgan rmorga...@gmail.com 1. Setup a cron job to close and restart your app. not, this make my app depend on cron and look like something like daemonization.. its not usefully 2. Start a new instance of your app as needed and then close the current app. err wht? 3.

[Gambas-user] How to get all string after last /

2013-08-22 Thread abbat81
Hi, I have a links with one and more /. example: http://www.link1.com/folder1/picture1.png http://www.link2.com/folder2/folder3/picture2_adv.png How to get picture1.png and picture2_adv.png from those links? Thanks -- View this message in context:

Re: [Gambas-user] how to disable temporally key combinartion (alt+F4 etc)

2013-08-22 Thread abbat81
It depends from your linux. Lubuntu or Openbox at all: find your -rc.xml (Lubuntu: ~/.config/openbox/lubuntu-rc.xml) all your hotkeys are there between keyboard and /keyboard. Be carefull, backut that file first. After save exec in terminal: openbox --reconfigure -- View this message in

[Gambas-user] R: How to get all string after last /

2013-08-22 Thread Ru Vuott
Hello Abbat81, ...by using Split() function: Public Sub Form_Open() Dim s As String = http://www.link1.com/folder1/picture1.png; Dim ss As String[] ss = Split(s, /) Print ss[4] End Gio 22/8/13, abbat81 abbat...@mail.ru ha scritto:

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread abbat81
Ru Vuott wrote Hello Abbat81, Dim s As String = http://www.link1.com/folder1/picture1.png; Print ss[4] End But link can contain a different count of / example: http://www.link1.com/folder1/picture1.png http://www.link2.com/folder2/folder3/picture2_adv.png -- View this

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread Julio Sanchez
In this way you can extract the file name of a given route (from the last /). What I do is a countdown until you find the character /: Public Sub extraedesdebarra(ruta As String) As String Dim a As Integer Dim letra As String Dim cadena As String For a = Len(ruta) To 1 Step -1

Re: [Gambas-user] how to relauch the app from app

2013-08-22 Thread Jussi Lahtinen
Is this what you mean (see attachment)? Run it as binary, not via IDE. But I would think carefully, why exactly you need to relaunch your app. Broken object model? Jussi On Thu, Aug 22, 2013 at 9:00 PM, PICCORO McKAY Lenz mckaygerh...@gmail.comwrote: From: Randall Morgan rmorga...@gmail.com

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread Jussi Lahtinen
You can use InStr() to find png and count back to /. Jussi On Thu, Aug 22, 2013 at 10:22 PM, abbat81 abbat...@mail.ru wrote: Ru Vuott wrote Hello Abbat81, Dim s As String = http://www.link1.com/folder1/picture1.png; Print ss[4] End But link can contain a different count of

Re: [Gambas-user] how to disable temporally key combinartion (alt+F4 etc)

2013-08-22 Thread Jussi Lahtinen
Maybe? Public Sub Form_Close() Stop Event End Jussi On Tue, Aug 20, 2013 at 11:42 PM, PICCORO McKAY Lenz mckaygerh...@gmail.com wrote: i want to disable some key combination, specially alt+F4 and crtl+alt+backspace under X11 how could be do? and also how to got focus, put in

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread abbat81
Jussi Lahtinen wrote You can use InStr() to find png and count back to /. Ok, how to count back to last / in string if we have: Dim s As String = http://www.link1.com/folder1/folder1/picture1.png; Print InStr(s, .png) = 46 -- View this message in context:

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread Fabien Bodard
:-) StrName = File.Name(http://www.link1.com/folder1/picture1.png;) http://gambasdoc.org/help/comp/gb/file/name?v3 2013/8/22 abbat81 abbat...@mail.ru Jussi Lahtinen wrote You can use InStr() to find png and count back to /. Ok, how to count back to last / in string if we have: Dim s As

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread abbat81
Thank you very much It was helpfull + Array.Count: Dim s As String = http://www.link1.com/folder1/folder1/picture1.png; Dim ss As String[] ss = Split(s, /) Print ss[ss.count - 1] -- View this message in context:

Re: [Gambas-user] How to bring forward Gambas server pages? (gbw3 related files who to expose in http)

2013-08-22 Thread Fabien Bodard
well this is a prod example ... Our site is in gb3 : and i give you a copy of my own httpd.conf too http://www.gambasforge.org/ http://sourceforge.net/projects/gambasforge/?source=directory 2013/8/20 PICCORO McKAY Lenz mckaygerh...@gmail.com El 19/08/13 20:28, Beno?t Minisini escribi?:

Re: [Gambas-user] How to bring forward Gambas server pages? (gbw3 related files who to expose in http)

2013-08-22 Thread Fabien Bodard
this is a complex site... so you'll have to read. It is based on gb.web and gb.xml.html for the page generation. 2013/8/22 Fabien Bodard gambas...@gmail.com well this is a prod example ... Our site is in gb3 : and i give you a copy of my own httpd.conf too http://www.gambasforge.org/

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread Jussi Lahtinen
Oh yes, that is best way to do that! Jussi On Thu, Aug 22, 2013 at 11:14 PM, Fabien Bodard gambas...@gmail.com wrote: :-) StrName = File.Name(http://www.link1.com/folder1/picture1.png;) http://gambasdoc.org/help/comp/gb/file/name?v3 2013/8/22 abbat81 abbat...@mail.ru Jussi Lahtinen

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread paulwheeler
Here is the code to do the extraction: Dim intSlash As Integer Dim strPictureName As String Dim strLinkAddress As String = [1]http://www.link1.com/folder1/folder1/picture1.png; '' Find location of last slash in address: intSlash = RInStr(strLinkAddress, /)

Re: [Gambas-user] R: How to get all string after last /

2013-08-22 Thread paulwheeler
Very interesting that g3 treats a web address the same as a file name. Definitely easier than my code, and something to remember! Thanks Fabien! paul On 08/22/2013 01:14 PM, Fabien Bodard wrote: :-) StrName = File.Name([1]http://www.link1.com/folder1/picture1.png;)