I swapped the order of the lines here:
While res.Available
res.MoveNext
Print Field1: res[Field1]
Wend
to do the Print then MoveNext, as it would have caused me to 'lose' my
first line of data. As I'm not getting any results at all, it doesn't
actually make a difference right now...(and
O.K. The printing started now, but it prints the texts one over
another regardless to the coordinates given by CFloat(xcor[i]) and
CFloat(ycor[i]). Why?
2011/6/30, Fabien Bodard gambas...@gmail.com:
Le 30 juin 2011 14:00, Benoît Minisini gam...@users.sourceforge.net a
écrit :
Yes, Benoit,
Hi Stephen,
my first thought was that it might be If Not Exist... I had such a case
some time ago, and it did not react as expected. Just check if it really
reports TRUE if the directory isn't there. (I remember Benoit explained
why it didn't run correctly in my case, maybe you find the thread
While res.Available
res.MoveNext
Print Field1: res[Field1]
Wend
me i do that :
For each res
Print Field1: res!Field1
next
It's more simple no ?
2011/7/1 Caveat gam...@caveat.demon.co.uk:
Hi,
I'm trying to get database access to an ODBC datasource (have been
trying for a few
2011/7/1 M. Cs. mohar...@gmail.com:
O.K. The printing started now, but it prints the texts one over
another regardless to the coordinates given by CFloat(xcor[i]) and
CFloat(ycor[i]). Why?
Do you use the true size ?
What are the coord ?
be carefull as the printer with in pixel is différent as
Thanks for the tip Fabien! It is indeed simpler... it still doesn't
work but it's definitely nicer-looking code which I'll bear in mind for
if, errrm of course I mean when, I get it working!
I just reported another segfault to Benoit, perhaps in fixing that
something will start to work...
This is the good way in your way ... but it's a bad way in my fill
Private Sub CreateNewOutputFolder(sFolderSpec As String)
If Not Exist(sFolderSpec) Then Mkdir sFolderSpec
Catch
'if problem try on the prec folder
CreateNewOutputFolder(File.Dir(sFolderSpec))
'Re Try the folder
Benoit,
As I expected, the mailing list dropped the project. I made a project
that demonstrates the problem using only two small source files (and NO
libraries, data files, etc.). Here are the two files.
- Begin MMain.module
'
In a true multi-user multi-tasking environment the following is good
except it is missing one thing:
The TRY must be added because during the IF test and the MKDIR,
it might have been created. This makes it the list error prone.
Private Sub CreateNewOutputFolder(psFolderSpecification As
Greetings Fabien!
That works very well, and is so much smaller and cleaner than the SUB
you put in the initial email. By the way, that first SUB would have had
a problem creating the stmpDir folder, it would, as written, not put in
the delimiting / characters and would try to create a
File.Path? You mean File.Dir?
Jussi
On Fri, Jul 1, 2011 at 17:36, nando nand...@nothingsimple.com wrote:
In a true multi-user multi-tasking environment the following is good
except it is missing one thing:
The TRY must be added because during the IF test and the MKDIR,
it might have been
Status: New
Owner:
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 73 by anishp...@gmail.com: Gambas 3 under LXDE
http://code.google.com/p/gambas/issues/detail?id=73
1) I am a first time linux programmer. Please refer the screenshots. I
Salut,
found today a very important command (for me) : xdg-open
use : xdg-open path/to/file/file
I'v tested on Ubuntu and Mandriva (gnom and kde).
That saves a lot of coding and entries in config-files
--
Amicalement
Charlie
2011/6/29 Benoît Minisini gam...@users.sourceforge.net:
Can you make a little project for me so that I can test exactly your code?
--
Benoît Minisini
Thanks Benoît, but that's unnecesary. I quickly found the error in my
code. By the way, I thought that Gambas events could be useful to
Salut,
found today a very important command (for me) : xdg-open
use : xdg-open path/to/file/file
I'v tested on Ubuntu and Mandriva (gnom and kde).
That saves a lot of coding and entries in config-files
This is what Desktop.Open() uses in Gambas to open files in a desktop-
independent
Hg
--
José Ribeiro
--
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.
16 matches
Mail list logo