Search found 25 matches

by davenull
Wed Sep 16, 2015 3:52 pm
Forum: Announcement
Topic: PureBasic 5.40 LTS beta 10 is out !
Replies: 213
Views: 92124

Re: PureBasic 5.40 LTS beta 3 is out !

Great update, thanks!

I was testing the CGI library and it seems that the WriteCGIStringN command doesn't accept the string encoding parameter:

Code: Select all

WriteCGIStringN(Response, #PB_Ascii)
Result:
WriteCGIStringN(): Incorrect number of parameters.

Cheers.
by davenull
Sat Feb 05, 2011 4:32 pm
Forum: Off Topic
Topic: PB 4.5x, Windows 7 and F-Secure Client Security
Replies: 12
Views: 2341

Re: PB 4.5x, Windows 7 and F-Secure Client Security

As I said, just upload a sample and select "false positive". This happend several times in the past with various antivirus vendors and it was always fixed within a couple of days after submitting the false positive. Nowadays that would mean uploading a lot as we develop many small programs for ...
by davenull
Fri Feb 04, 2011 10:47 pm
Forum: Off Topic
Topic: PB 4.5x, Windows 7 and F-Secure Client Security
Replies: 12
Views: 2341

Re: PB 4.5x, Windows 7 and F-Secure Client Security

As I said, just upload a sample and select "false positive". This happend several times in the past with various antivirus vendors and it was always fixed within a couple of days after submitting the false positive.

I'm aware of that possibility and have used it in the past. Nowadays that would ...
by davenull
Fri Feb 04, 2011 7:41 pm
Forum: Off Topic
Topic: PB 4.5x, Windows 7 and F-Secure Client Security
Replies: 12
Views: 2341

Re: PB 4.5x, Windows 7 and F-Secure Client Security

For some reason almost everything made with a 32-bit PB is considered virus by FSCS. I have to use 64-bit PB only and it's very annoying, because I can't utilize Gnozal's great libraries anymore. Unfortunately FSCS is the choice of our company and there's no way to get rid of it.
by davenull
Thu Feb 03, 2011 6:54 pm
Forum: Coding Questions
Topic: Time zone problems with PB mail library
Replies: 1
Views: 727

Re: Time zone problems with PB mail library

Problem solved. I used SetMailAttribute(#Mail, #PB_Mail_Date, rfc2821_date_format$) and now everything works great.
by davenull
Thu Feb 03, 2011 5:23 pm
Forum: Coding Questions
Topic: Time zone problems with PB mail library
Replies: 1
Views: 727

Time zone problems with PB mail library

I have written a small program, which sends email if a remote installation fails. For some reason the email has wrong date/time stamp, like this:
Date: Thu, 3 Feb 2011 18:00:16 +0300 [17:00:16 EET]

However, the time zone should be +0200, not +0300, and the correct line would be:
Date: Thu, 3 Feb ...
by davenull
Wed Feb 02, 2011 10:30 pm
Forum: Off Topic
Topic: PB 4.5x, Windows 7 and F-Secure Client Security
Replies: 12
Views: 2341

PB 4.5x, Windows 7 and F-Secure Client Security

I'm having quite a few problems with a combination of PB 4.5x, Windows 7 and F-Secure Client Security.

PB 4.50 32bit, Windows 7 Enterprise/Ultimate 32bit UK, F-Secure Client Security 9.01 32-bit:
No problems.

PB 4.51 32bit, Windows 7 Enterprise/Ultimate 32bit UK, F-Secure Client Security 9.01 32 ...
by davenull
Wed Jan 24, 2007 12:02 pm
Forum: PureFORM & JaPBe
Topic: jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Replies: 1545
Views: 680254

@gnozal: there is a new bug:


For x=0 To 320
For y=0 To 200
Plot(x,y)
Next y
Next x


Go on the end of some line and press delete key, so that the
next codeline comes up.
jaPBe is very hungry and will eat some chars...
It does not happen, if there is no space in front like:


For x=0 To ...
by davenull
Mon Jan 22, 2007 3:30 pm
Forum: PureFORM & JaPBe
Topic: jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Replies: 1545
Views: 680254

Update

Changes :
- added splitted editor view : splits the editor window into 2 horizontal parts [language file entries 565-569]

Note : this feature has to be enabled in Preferences. The main code window can be splitted via the edit menu ['Split/Join editor window(s)'] or the right-click ...
by davenull
Mon Jan 22, 2007 3:00 pm
Forum: PureFORM & JaPBe
Topic: jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Replies: 1545
Views: 680254

Update

Changes :
- added splitted editor view : splits the editor window into 2 horizontal parts [language file entries 565-569]

Note : this feature has to be enabled in Preferences. The main code window can be splitted via the edit menu ['Split/Join editor window(s)'] or the right-click ...
by davenull
Wed Jan 17, 2007 12:49 pm
Forum: Applications - Feedback and Discussion
Topic: Flype UserLibraries for PureBasic 4.0
Replies: 131
Views: 96576

Yes, there is the PureXML_SetEncoding(encoding.s) which should be initialized before calling PureXML_ParseFile().

It should works.


[edit] thank you the link about namespace - i will take a closer look.

Unfortunately I can't get it working. Here's the code you posted earlier with a minor change ...
by davenull
Wed Jan 17, 2007 11:28 am
Forum: Applications - Feedback and Discussion
Topic: Flype UserLibraries for PureBasic 4.0
Replies: 131
Views: 96576

ASCII

Does the current lib support US-ASCII only or also extensions like ISO 8859-1? I was parsing was a tag with an character > 127 in ASCII table (ö) and that didn't work.

-davenull-
by davenull
Wed Jan 17, 2007 11:06 am
Forum: Applications - Feedback and Discussion
Topic: Flype UserLibraries for PureBasic 4.0
Replies: 131
Views: 96576

ok i keep the 'depth' argument.

by 'namespace' you means DTD ?

i'm not familiar at all with namespace - can you explain a bit more ?

but it should be added soon because the Expat library support it.

Thanks for enhancing the lib.

W3schools.com offers a nice explanation about namespaces:
http ...
by davenull
Wed Jan 17, 2007 9:57 am
Forum: Applications - Feedback and Discussion
Topic: Flype UserLibraries for PureBasic 4.0
Replies: 131
Views: 96576

Procedure ProductInfo_EndElement(name.s, depth.l)

Select name
Case "name": product()\name = PureXML_GetCharData()
Case "price": product()\price = PureXML_GetCharData()
Case "desc": product()\desc = PureXML_GetCharData()
EndSelect

EndProcedure

i think i will add PureXML_GetCharData ...
by davenull
Wed Jan 17, 2007 8:28 am
Forum: Applications - Feedback and Discussion
Topic: Flype UserLibraries for PureBasic 4.0
Replies: 131
Views: 96576

Here is a full example that shows how to add all your Products in a LinkedList ready for classic processing :

xml$ + "<?xml version='1.0'?>"
xml$ + "<products>"
xml$ + " <product id='PROD007'>"
xml$ + " <name>gizmo</name>"
xml$ + " <price>50</price>"
xml$ + " <desc>for geeks</desc>"
xml ...