Search found 17 matches

by mcsalsa
Tue Dec 10, 2013 12:09 pm
Forum: Coding Questions
Topic: String with Chr(0)
Replies: 8
Views: 1930

Re: String with Chr(0)

Thank you very much!! I will try it and let you know.
by mcsalsa
Tue Dec 10, 2013 9:37 am
Forum: Coding Questions
Topic: String with Chr(0)
Replies: 8
Views: 1930

String with Chr(0)

Dear All,

We are programming a small application that sends a string to the Serial Port, we are forced to send a string and some values of the string are chr(0).

For input we found the solution by reading "bytes" using "ReadSerialPortData(COMID, @bBuffer, 1)" ... is there any solution for sending ...
by mcsalsa
Wed Oct 09, 2013 7:13 pm
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 473
Views: 279107

Re: PurePDF Version 2.0

Unicode for Japanese.

I am trying to use Japanese chars with PurePDF, I have followed the Tutorial regarding unicode and when printing a char like Chr(12452), with the font "Lucida Sans Unicode", compiler set to "Create Unicode Executable" I get a Square.

In order to check the problem if you use ...
by mcsalsa
Sat Aug 27, 2011 10:44 am
Forum: Coding Questions
Topic: DISPLAYORIENTATION
Replies: 1
Views: 561

DISPLAYORIENTATION

Hello All,

I was trying to figure out how to open a printer with the option "DISPLAYORIENTATION" I need to set DMDO_180 it seems to be equals to 2. following this information: http://msdn.microsoft.com/en-us/library/aa927408.aspx

Thanhs in advance,
by mcsalsa
Sun May 30, 2010 6:01 pm
Forum: Coding Questions
Topic: Play video in several Container Gadgets
Replies: 2
Views: 921

Play video in several Container Gadgets

Dear All,

I need to play several videos in the same window, one beside the other in rows, that is, a Video Selector.
One option will be the use of the ContainerGadget. I have been following a previous post in the forum: http://www.purebasic.fr/english/viewtopic.php?f=13&t=39526

The problem is ...
by mcsalsa
Tue May 20, 2008 3:02 pm
Forum: Coding Questions
Topic: Sqlite with PB 4.20 b6. UTF8
Replies: 5
Views: 1202

All right, I will put an example, in order to explain my problem better.

If you create a string like this:
s$=Chr(15)+Chr(8)+Chr(134)

then make the insert into a database. string1 is a varchar of 1200 chars

ssql.s="insert into table1 (string1) values ('" + s$ + "')"
DatabaseUpdate(0,ssql)

then ...
by mcsalsa
Tue May 20, 2008 6:49 am
Forum: Coding Questions
Topic: Sqlite with PB 4.20 b6. UTF8
Replies: 5
Views: 1202

Thanks pdwyer for the answer.

My question goes about inserting and retrieving strings in which some of the characters are with ascii codes lower that 21.

One option I'm thinking is if it possible to inform SQlite to convert the string to UTF8 once you make the insert, because I can retrieve ...
by mcsalsa
Mon May 19, 2008 11:59 pm
Forum: Coding Questions
Topic: Sqlite with PB 4.20 b6. UTF8
Replies: 5
Views: 1202

Sqlite with PB 4.20 b6. UTF8

Dear All,

I'm migrating an Access Application to Sqlite.
In MS Access I had a Memo field which now is Sqlite is a clob (datatype)

With the Access ODBC I can insert a text like this: "
by mcsalsa
Mon Apr 14, 2008 10:07 pm
Forum: General Discussion
Topic: Report System
Replies: 4
Views: 1685

the.weavster

Thank you very much!!! indeed. That's great.

I took the advise of Rook and had started to code myself, but this tool will save me lots of hours.
by mcsalsa
Sat Apr 12, 2008 11:04 am
Forum: General Discussion
Topic: Report System
Replies: 4
Views: 1685

Report System

Dear All,

I'm looking for a report system which allow the final user to modify the report. Something like Report Builder ... That could be used with PB, do you have any idea where I could find something like that?

Thanks in advance
by mcsalsa
Sun Feb 03, 2008 7:58 pm
Forum: Coding Questions
Topic: Minimum number of points in a Bezier Curve
Replies: 1
Views: 684

Minimum number of points in a Bezier Curve

Dear all,

I'm designing a small program in which I have a polyline of 200 points and I need to convert this "polyline curve" to a Bezier curve, using the minimum number of points.

Right now I'm using as many Bpoints as points I have in the curve... could someone give me a hint in where to look for ...
by mcsalsa
Sat Jun 02, 2007 9:10 am
Forum: Coding Questions
Topic: Crystal Reports
Replies: 0
Views: 658

Crystal Reports

Does any of you have ever made any interface with Crystal Reports from PB?
Or any place/forum that has an example on how to deal with?

Thanks in advance, any help will be welcomed.

Regards,
by mcsalsa
Sun May 13, 2007 8:30 am
Forum: Coding Questions
Topic: SQLColumns
Replies: 2
Views: 709

SQLColumns

Yes, I'm using a registered version of PB.

SQLColumns_ is from the ODBC.DLL
by mcsalsa
Sat May 12, 2007 6:12 pm
Forum: Coding Questions
Topic: SQLColumns
Replies: 2
Views: 709

SQLColumns

Dear all,

I need to know all the properties of the columns from a table in an access table. I used the example in the topic: http://www.purebasic.fr/english/viewtopic.php?t=14174

to get the tables from a database.

But I need to use the SQLColumns to get the properties of all the columns, but I ...
by mcsalsa
Sat Sep 30, 2006 11:10 am
Forum: Coding Questions
Topic: GetDatabaseString text over 255 chars
Replies: 9
Views: 1470

Hello Xombie,

No, I'm not dealing with NULL chars. If is there any ascii 0, I escape to ascii 255