Search found 54 matches

by loulou2522
Tue Jan 28, 2025 9:44 am
Forum: Coding Questions
Topic: Generating PDF with spiderbasic
Replies: 5
Views: 15641

Generating PDF with spiderbasic

Has anyone tried to generate PDF with Spiderbasic on the \pbPDFmodule.pbi model or is there another solution?
Thanks in advance
by loulou2522
Wed Jan 22, 2025 8:45 am
Forum: Coding Questions
Topic: Runprogram
Replies: 8
Views: 15810

Re: Runprogram

In fact, what I want to do is launching an external executable programm. Is it possible to use Httpget? My version of sb is windows and my pc on winodws 11
by loulou2522
Wed Jan 22, 2025 8:08 am
Forum: Coding Questions
Topic: Runprogram
Replies: 8
Views: 15810

Runprogram

Hi all
what is the Spiderbasic equivalent of the Purebasic runprogramn function?
Thanks in advance
by loulou2522
Sat Dec 10, 2022 1:53 pm
Forum: Showcase
Topic: PDF generator (jsPDF)
Replies: 22
Views: 96254

Re: PDF generator (jsPDF)


Is-it possible to control row height with doc.table ?

It looks like jsPDF doesn't support CSS. For this reason, different row heights are not possible out of the box. With the module jsPDF-AutoTable it might work, but I don't have time at the moment to write a corresponding example code in SB ...
by loulou2522
Thu Sep 29, 2022 6:59 am
Forum: Coding Questions
Topic: Creating PDF like in Purebasic
Replies: 3
Views: 2948

Re: Creating PDF like in Purebasic

Hi all
What i want to do is creating a pdf with htmltable function and downloading he result. Can someone have an example to do that ?
Thanks in advance
by loulou2522
Wed Sep 28, 2022 1:42 pm
Forum: Coding Questions
Topic: Creating PDF like in Purebasic
Replies: 3
Views: 2948

Creating PDF like in Purebasic

Hi all,
Is it possible to create PDF like in purebasic with pbPDFModule.pbi ?
If it's possible can i have n example ? thanks in advance
Have a nice day
by loulou2522
Sun Dec 05, 2021 2:16 pm
Forum: Coding Questions
Topic: how to call a PHP script?
Replies: 3
Views: 4787

Re: how to call a PHP script?

Yes then formular is good, but take care bexause with post request and according to Browser the length of the request including the url is limited. I don't know the exact limit but it vary from 2048 ko to 4096 ko
by loulou2522
Tue Nov 09, 2021 4:32 pm
Forum: Coding Questions
Topic: Sending a file to server with httprequest
Replies: 1
Views: 2628

Sending a file to server with httprequest

How can I send an xml file generated on the client to the server? When I use httprequest, I get an error message
Procedure HttpGetEvent1(Success, Result$, UserData)
If Success
debug result$
Debug "Successful connection for PDF file calculation".
Else
debug result$
Debug "Error: No Connection ...
by loulou2522
Fri Oct 22, 2021 5:47 am
Forum: Coding Questions
Topic: Docautotable Help
Replies: 1
Views: 3127

Re: Docautotable Help

No one can help me ?
by loulou2522
Mon Oct 18, 2021 11:42 am
Forum: Coding Questions
Topic: Docautotable Help
Replies: 1
Views: 3127

Docautotable Help

Hi all,
What is wrong in my programm ? I don't arrive to anything
Procedure Main()

!function generate() {
! var doc = new jsPDF('p', 'pt', 'letter');
! var htmlstring = '';
! var tempVarToCheckPageHeight = 0;
! var pageHeight = 0;
! pageHeight = doc.internal.pageSize.height ...