Search found 51 matches

by loulou2522
Mon Oct 04, 2021 2:43 pm
Forum: Coding Questions
Topic: Httprequest and downloading XML FileHow to ?
Replies: 9
Views: 2517

Httprequest and downloading XML FileHow to ?

I want to download n xmlfile creating on website part
Global url.s="https://sepa-convertir.eu/spider/toto.xml"
HTTPRequest(#PB_HTTP_Get, url, "", @HttpGetEvent())
How to ?
THanks
by loulou2522
Sun Oct 03, 2021 4:48 pm
Forum: Coding Questions
Topic: XML and ?xml version How to
Replies: 1
Views: 960

XML and ?xml version How to

How to put tha't instruct on the xml file in purebasic it is automaticly
<?xml version="1.0" encoding="UTF-8"?>
Thanks
P.S I use ExportXml and not composeXML
by loulou2522
Sat Sep 25, 2021 6:30 am
Forum: General Discussion
Topic: Payments with Stripe
Replies: 2
Views: 2737

Re: Payments with Stripe

You can program STRIP in PHP. After you have just to use CGI httprequest to work with. Beware it seem than MYSQL Opendatabase create problem.
by loulou2522
Sat Sep 25, 2021 6:09 am
Forum: Coding Questions
Topic: SetLayeredWindowAttributes: Is there an equivalent in Javascript?
Replies: 1
Views: 971

SetLayeredWindowAttributes: Is there an equivalent in Javascript?

Is there an equivalent to these two api's function in Spiderbasic
SetWindowLong_(WindowID(#window_2), #GWL_EXSTYLE, #WS_EX_LAYERED)
SetLayeredWindowAttributes_(WindowID(#window_2), RGB(color,color,color), 0 , #LWA_COLORKEY)
Thanks in advance

// Subject adjusted (Peter)
by loulou2522
Sun Sep 19, 2021 4:54 pm
Forum: Coding Questions
Topic: Connect to a database
Replies: 9
Views: 4572

Re: Connect to a database

THanks Paul, With an exe from purebasic UseMySQLDatabase() If Not InitCGI() Or Not ReadCGI() End EndIf user$=CGIParameterValue("username") sql=OpenDatabase(#PB_Any,"host=xxx port=3306 dbname=xxxx","xxx",xx",#PB_Database_MySQL) If sql If DatabaseQuery(sql,"sele...
by loulou2522
Fri Sep 17, 2021 5:12 am
Forum: Coding Questions
Topic: Connect to a database
Replies: 9
Views: 4572

Re: Connect to a database

HI Paul, I follow your recommandation on installing CGI. I verify in Purebasic that i can access to mysql Database (it's right) When I launch the programm on localhost in SpiderBasic it refuse to execute saying ""Error: No Connection" I try the same thing on my website and the result ...
by loulou2522
Wed Sep 15, 2021 6:00 am
Forum: Coding Questions
Topic: Connect to a database
Replies: 9
Views: 4572

Re: Connect to a database

Hi Peter,
I am not familiar with PHP but i understand PHP and can programm in this language.
1 - I have a mysql database on my personnal website which is on an IIS server a
2 - I access these mysql database in ASP programming
3- I can execute a cgi on my local webserrver
Thanks
by loulou2522
Tue Sep 14, 2021 4:36 pm
Forum: Coding Questions
Topic: Connect to a database
Replies: 9
Views: 4572

Re: Connect to a database

HI peter,
May i have a real example ?
Thanks
by loulou2522
Sun Sep 12, 2021 8:19 am
Forum: Coding Questions
Topic: Connect to MYsql Database How to ?
Replies: 1
Views: 979

Connect to MYsql Database How to ?

Can someone have an example with spiderbasic to connect to an MYSQL Database ?
Thanks in advance.
P.S I see an example in the forum but in this example the connection is simulated with an array. mod_dbi.sbi
by loulou2522
Tue Sep 07, 2021 8:30 am
Forum: Coding Questions
Topic: SendMessage_(GadgetID(#Iban_1), #EM_SETSEL, 0, -1)
Replies: 1
Views: 1219

SendMessage_(GadgetID(#Iban_1), #EM_SETSEL, 0, -1)

Is there an equivalent from SendMessage_(GadgetID(#Iban_1), #EM_SETSEL, 0, -1) in Purebasic
THanks