Search found 252 matches

by karu
Fri Jun 19, 2015 8:38 am
Forum: Coding Questions
Topic: Little help needed with PureResize
Replies: 3
Views: 2166

Re: Little help needed with PureResize

PB is 5.21 and PureResize is for PB 5.1x version
by karu
Fri Jun 19, 2015 8:34 am
Forum: Coding Questions
Topic: Little help needed with PureResize
Replies: 3
Views: 2166

Little help needed with PureResize

This code freesing if i try to resize window, why?

Thanks
Karu

Procedure Open_Peaaken()

If OpenWindow(0, 457, 143, 500, 743, "WAF Form editor", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_TitleBar )
ListIconGadget(1, 9 ...
by karu
Sun Jan 04, 2015 1:32 pm
Forum: Coding Questions
Topic: stdin, stdout howto
Replies: 1
Views: 2039

stdin, stdout howto

Hi, i have a program(1) that launch the other program(2). After the program 1 is launched the program 2, program 1 send message to program 2 stdin, program 2 receive message, do something with it and write message to stdout and program 1 receive it. Program 1 can be done in purebasic, but problem is ...
by karu
Fri Jun 27, 2014 8:43 pm
Forum: Coding Questions
Topic: Howto convert text to XML
Replies: 7
Views: 1803

Re: Howto convert text to XML

Thanks STARGÅTE
by karu
Fri Jun 27, 2014 8:25 pm
Forum: Coding Questions
Topic: Howto convert text to XML
Replies: 7
Views: 1803

Re: Howto convert text to XML

Ok, but in 5.2 version?
by karu
Fri Jun 27, 2014 7:38 pm
Forum: Coding Questions
Topic: Howto convert text to XML
Replies: 7
Views: 1803

Re: Howto convert text to XML

Thanks STARGÅTE, but only ParseXML() i fuond from here: http://www.purebasic.fr/english/viewtop ... ML+#p95066
But with this solution i cant use Purebasic XML commands like 'XMLStatus(#XML)', is there other way?
by karu
Fri Jun 27, 2014 4:04 pm
Forum: Coding Questions
Topic: Howto convert text to XML
Replies: 7
Views: 1803

Howto convert text to XML

Can anyone help, i have xml file in text format in string variable. Now if i want to parse XML with PB commands, i need to convert this text value to PB XML. How to do this?

Thanks
Karu
by karu
Mon Feb 24, 2014 11:30 pm
Forum: Announcement
Topic: SpiderBasic 1.00 is out !
Replies: 438
Views: 245423

Re: SpiderBasic 1.00 alpha 4

This is more like hack :D , but for database connect cross domain i did that:
WebGadget(#ebgadget, -5555, -5555, 0, 0, "")
global ServeristLaetudAndmed.i

To jquery.min.js i added:
function receiveMessage(event) {
v_ServeristLaetudAndmed = event.data // #### ServeristLaetudAndmed is my global ...
by karu
Mon Feb 24, 2014 10:53 am
Forum: Announcement
Topic: SpiderBasic 1.00 is out !
Replies: 438
Views: 245423

Re: SpiderBasic 1.00 alpha 4

Fred, how to wait for something in SP.

Code: Select all

Repeat
Until laetud = 1
freeze the browser.

It needed when loading inside same procedure multiple asynchronous things(example HTTPRequest) in succession, where you can't load second before previous loaded?
by karu
Thu Feb 20, 2014 12:56 pm
Forum: Announcement
Topic: SpiderBasic 1.00 is out !
Replies: 438
Views: 245423

Re: SpiderBasic 1.00 alpha 4

For HTTPRequest() you use probably ajax request? If yes then cross domain requests is not allowed?
by karu
Thu Feb 20, 2014 1:36 am
Forum: Announcement
Topic: SpiderBasic 1.00 is out !
Replies: 438
Views: 245423

Re: SpiderBasic 1.00 alpha 4

oknow
by karu
Wed Feb 19, 2014 8:40 pm
Forum: Announcement
Topic: SpiderBasic 1.00 is out !
Replies: 438
Views: 245423

Re: SpiderBasic 1.00 alpha 4

Thanks Fred, it is good news
Where i can find syntax for HTTPRequest() command, help file not contain it.
by karu
Thu Feb 06, 2014 7:20 pm
Forum: Announcement
Topic: SpiderBasic 1.00 is out !
Replies: 438
Views: 245423

Re: SpiderBasic 1.00 alpha 3

Fred wrote:
karu wrote:if i use

Code: Select all

 WindowBounds(#win, 800, 600, #PB_Ignore, #PB_Ignore)
and trying to resize window, window will be about 10 points width or height.
Please use the right forum section, thanks: http://www.purebasic.fr/english/viewforum.php?f=41
My mistake.
by karu
Thu Feb 06, 2014 12:44 pm
Forum: Announcement
Topic: SpiderBasic 1.00 is out !
Replies: 438
Views: 245423

Re: SpiderBasic 1.00 alpha 3

if i use

Code: Select all

 WindowBounds(#win, 800, 600, #PB_Ignore, #PB_Ignore)
and trying to resize window, window will be about 10 points width or height.
by karu
Mon Feb 03, 2014 6:39 pm
Forum: Coding Questions
Topic: Couple questions about the Spiderbasic
Replies: 7
Views: 1769

Re: Couple questions about the Spiderbasic

Foz wrote:I posted an example of closing windows here, though the bug might be an issue if you don't use #PB_Any...

http://www.purebasic.fr/english/viewtopic.php?t=58149
Nice, thanks :)