Search found 16 matches

by al2791
Mon Aug 12, 2024 10:15 am
Forum: Announcement
Topic: PureBasic 6.12 LTS is out !
Replies: 92
Views: 50909

Re: PureBasic 6.12 beta 2 is out !

Ok Thank you

I hadn't seen your post
by al2791
Sun Aug 11, 2024 9:25 am
Forum: Announcement
Topic: PureBasic 6.12 LTS is out !
Replies: 92
Views: 50909

Re: PureBasic 6.12 beta 2 is out !

I tried the new feature SFTP

The command
SetFTPDirectory(0, "ESSAI")
Debug GetFTPDirectory(0)
return /ESSAI/
the command ExamineFTPDirectory(0) don't work

with 5.73
return /ESSAI
the command ExamineFTPDirectory(0) return a list of files

Best regards
by al2791
Wed Apr 10, 2024 7:48 am
Forum: Coding Questions
Topic: [6.10] Always error with C Backend
Replies: 5
Views: 1675

[6.10] Always error with C Backend

With this code I have an error ;

CompilerIf #PB_Compiler_ExecutableFormat<>#PB_Compiler_Console
CompilerError "Exec-Format must be Console in Compiler-Option"
CompilerEndIf

! int fact(int n) {
! if(n>=1)
! return n*fact(n-1);
! else return 1;
! }

OpenConsole()
! int number;
! printf("Enter ...
by al2791
Wed Dec 27, 2023 9:51 am
Forum: Coding Questions
Topic: PB 6.10B1 Polink fatal error : 1 unresolved external (C_Backend)
Replies: 6
Views: 2199

Re: PB 6.10B1 Polink fatal error : 1 unresolved external (C_Backend)

No I don't 'declare scanf() in C before using it

For you information, the program is ok when I used PB 6.04 LTS (x64)
by al2791
Mon Dec 25, 2023 11:33 am
Forum: Coding Questions
Topic: PB 6.10B1 Polink fatal error : 1 unresolved external (C_Backend)
Replies: 6
Views: 2199

PB 6.10B1 Polink fatal error : 1 unresolved external (C_Backend)

Error Unresolved external symbol 'scanf' - reference from 'Purebasic.obj'

It-s OK with Pb6.04 LTS



; printf under PB_C
CompilerIf #PB_Compiler_ExecutableFormat<>#PB_Compiler_Console
CompilerError "Exec-Format must be Console in Compiler-Option"
CompilerEndIf

;! int fact(int);

! int fact(int ...
by al2791
Wed Jun 28, 2023 5:19 pm
Forum: Coding Questions
Topic: read excel .xlsx file data ...
Replies: 30
Views: 7812

Re: read excel .xlsx file data ...

It's OK
Thank you very much
by al2791
Wed Jun 28, 2023 1:50 pm
Forum: Coding Questions
Topic: read excel .xlsx file data ...
Replies: 30
Views: 7812

Re: read excel .xlsx file data ...

here is an example of an excel file :
https://wetransfer.com/downloads/f09b04 ... e=sendgrid
by al2791
Wed Jun 28, 2023 10:58 am
Forum: Coding Questions
Topic: read excel .xlsx file data ...
Replies: 30
Views: 7812

Re: read excel .xlsx file data ...

Hello,
I wanted to report a small bug in the ExcelReader.pbi program, indeed if an excel cell contains an http link (sample : https://xxxx.com) the program seems to loop.
Thank you again for your excellent work
Best regards
by al2791
Thu May 25, 2023 10:41 am
Forum: Feature Requests and Wishlists
Topic: Access to excel files natively & password zip file
Replies: 5
Views: 1069

Access to excel files natively & password zip file

Evolution request :

1/ Provide access to excel files natively (creation/change/read - workbook and sheets)

2/ Possibility to create zip files with a password

Thanks
by al2791
Wed Mar 29, 2023 12:05 pm
Forum: Coding Questions
Topic: SENDMAIL SSL or TLS is not OK
Replies: 10
Views: 1307

Re: SENDMAIL SSL or TLS is not OK

I set up the gmail account :
- Enable two-step verification
- Generate application password.

Thanks for your help
by al2791
Tue Mar 21, 2023 5:07 pm
Forum: Coding Questions
Topic: SENDMAIL SSL or TLS is not OK
Replies: 10
Views: 1307

SENDMAIL SSL or TLS is not OK

Windows 11 PRO
Pb 6.01

I can't sent the mail 1) or 2)


Mail_From$="xxx@gmail.com"
Mail_Pass$="*****"
Mail_To$="yyy@gmail.com"

If CreateMail(0, Mail_From$, "Hello")
AddMailRecipient(0, Mail_To$, #PB_Mail_To)

; 1) ; Result = SendMail(0, "smtp.gmail.com", 465, #PB_Mail_UseSSL, Mail_From$, Mail ...
by al2791
Sun Feb 26, 2023 5:33 pm
Forum: Coding Questions
Topic: Multi-databases access
Replies: 4
Views: 589

Re: Multi-databases access

Thanks a lot, it's ok
by al2791
Sun Feb 26, 2023 5:12 pm
Forum: Coding Questions
Topic: Multi-databases access
Replies: 4
Views: 589

Re: Multi-databases access

No, try the code

Execute Only PART 1 -> OK
Execute Only PART 2 -> OK
Execute Both PART 1 and PART 2 -> PART 1 OK but PART 2 NOT OK
Execute Both PART 2 and PART 1 -> PART 2 OK but PART 1 NOT OK



; -----------------------
;- PART 1
; -----------------------
UseSQLiteDatabase()
Filename$ = "c:\temp ...
by al2791
Sat Feb 25, 2023 5:32 pm
Forum: Coding Questions
Topic: Multi-databases access
Replies: 4
Views: 589

Multi-databases access

In the same program how to access an SQLITE database and another in MYSQL (or ODBC or postgreSql)