Search found 6 matches

by Taishan
Sat May 20, 2023 9:27 pm
Forum: Coding Questions
Topic: List of Deprecated Constants or Procedures?
Replies: 7
Views: 968

Re: List of Deprecated Constants or Procedures?

Thanks for all your help, gang!
by Taishan
Fri May 12, 2023 11:04 pm
Forum: Coding Questions
Topic: List of Deprecated Constants or Procedures?
Replies: 7
Views: 968

Re: List of Deprecated Constants or Procedures?

Thanks to both of you!

I discovered one of the constants were from the PureColor library, which is no big deal.

However the constants that are troublesome are from the API calls: #GWL_STYLE

SetWindowLong_(WindowID(0), #GWL_STYLE, GetWindowLong_(WindowID(0), #GWL_STYLE)|#WS_CLIPCHILDREN)

Where ...
by Taishan
Fri May 12, 2023 3:33 am
Forum: Coding Questions
Topic: List of Deprecated Constants or Procedures?
Replies: 7
Views: 968

List of Deprecated Constants or Procedures?

Where can I find a list of replacements for #Constants?
Surely, somebody has one somewhere.
Google is unable to find it.
by Taishan
Thu May 11, 2023 8:17 pm
Forum: Coding Questions
Topic: Command Line Arguments Example
Replies: 3
Views: 655

Re: Command Line Arguments Example

Thanks jassing and Quin. Glad to see programmers with a sense of humor! :D
by Taishan
Thu May 11, 2023 2:12 am
Forum: Coding Questions
Topic: Command Line Arguments Example
Replies: 3
Views: 655

Command Line Arguments Example

Hi gang

New to PB - coming from VB and C++.

How can I pass command line arguments to a PB program compiled as a console, or non-GUI exe, platform independent (I can figure out Mac and Linux) from here:

"C:\Program Files\xyz.exe 4, 5, D:\abc.ini, D:\cba.txt"

The first command line argument is ...
by Taishan
Wed May 10, 2023 5:13 pm
Forum: Tricks 'n' Tips
Topic: ElevenLabs text-to-speech API call
Replies: 12
Views: 3219

Re: ElevenLabs text-to-speech API call

Great example.
I'm new to PureBasic, coming from visual basic. I'm amazed by how clean the code is in PB.
What would it take to make this into a .exe that could take command line parameters?
Also, has anyone written a primer for people coming from VB?
Thanks in advance!
Tai