Search found 325 matches

by kpeters58
Thu Jun 09, 2022 12:23 am
Forum: Coding Questions
Topic: PureBasic Gadget Tab Order
Replies: 6
Views: 609

Re: PureBasic Gadget Tab Order

Not sure I follow you...

Your sample works just fine in every incantation (initially in IDE, reloaded in IDE, standalone binary ...) just as I expected.
by kpeters58
Mon Jul 05, 2021 6:17 pm
Forum: Coding Questions
Topic: Screen size
Replies: 3
Views: 815

Re: Screen size

1) Check the 'Desktop' chapter in the PB Help.
2) Windows only or platform independent?
by kpeters58
Thu Jun 17, 2021 2:12 am
Forum: Applications - Feedback and Discussion
Topic: IceDesign GUI designer
Replies: 572
Views: 137505

Re: IceDesign (New) modern GUI designer

Just noticed that you do support Statusbar & Menu! Great - even closer!
by kpeters58
Thu Jun 17, 2021 2:05 am
Forum: Applications - Feedback and Discussion
Topic: IceDesign GUI designer
Replies: 572
Views: 137505

Re: IceDesign (New) modern GUI designer

I'll say it with Aretha Franklin: R E S P E C T! Nice looks, slick, quick, and very intuitive. Just re-built the most complex screen from my best-selling application and it worked fine - no crashes or problems. The code generation needs a few more tweaks, but that was my only real issue. Statusbar &...
by kpeters58
Fri Mar 19, 2021 5:15 am
Forum: Coding Questions
Topic: (Solved) NextDatabaseRow extreme slow
Replies: 32
Views: 3634

Re: NextDatabaseRow extreme slow

Strange indeed - as if there was some lazy column loading. Don't think SQLite supports that... Many people would suggest placing blob data in a separate table (I have even read of separate databases for that purpose). Not that that would fix the observed issue at its root, but it may be a smart move...
by kpeters58
Sun Mar 14, 2021 4:46 pm
Forum: Coding Questions
Topic: Can the XML lib handle this?
Replies: 5
Views: 1155

Re: Can the XML lib handle this?

Thanks, I had tried that but I made the crucial mistake of not realizing that NextXMLNode returns the next node and not just a boolean value
by kpeters58
Sun Mar 14, 2021 4:10 pm
Forum: Coding Questions
Topic: Can the XML lib handle this?
Replies: 5
Views: 1155

Re: Can the XML lib handle this?

Quote from above: <VersionInfoKeys> <VersionInfoKeys Name="CompanyName">ACME Software Inc.</VersionInfoKeys> ... <VersionInfoKeys Name="ProductVersion">2.10.1.1</VersionInfoKeys> </VersionInfoKeys> I would change the child keys of VersionInfoKeys from VersionInfoKeys to VersionI...
by kpeters58
Sun Mar 14, 2021 3:22 am
Forum: Coding Questions
Topic: Can the XML lib handle this?
Replies: 5
Views: 1155

Can the XML lib handle this?

... <VersionInfoKeys> <VersionInfoKeys Name="CompanyName">ACME Software Inc.</VersionInfoKeys> <VersionInfoKeys Name="FileDescription">ACME TimeCard Import</VersionInfoKeys> <VersionInfoKeys Name="InternalName">ACME_TcImp.dll</VersionInfoKeys> <VersionInfoKeys Name=&qu...
by kpeters58
Sun Mar 14, 2021 3:15 am
Forum: Coding Questions
Topic: CRC 64
Replies: 1
Views: 730

Re: CRC 64

coffee wrote:Hi,

Really need crc64 - fast for string and file.
Can you help?

thanks
You didn't look very hard...

viewtopic.php?t=47209
by kpeters58
Thu Feb 25, 2021 4:26 pm
Forum: Coding Questions
Topic: [Solved] Get all files on disk without recursion?
Replies: 13
Views: 2100

Re: Get all files on disk without recursion?

BarryG wrote:Sorry, see my first post edit.
I don't understand...

So take Rashad's list and iterate over it, doing to each/some file(s) whatever you need to do.
by kpeters58
Tue Jan 26, 2021 12:36 am
Forum: Coding Questions
Topic: How to use CGI / FastCGI
Replies: 9
Views: 4306

Re: How to use CGI / FastCGI

Now to test with SpiderBasic app, compile this code with SpiderBasic ;/ Created with PureVision v5.40 ;/ Mon, 09 Nov 2015 11:45:45 ;/ by Paul Leischow Define EventID,MenuID,GadgetID,WindowID ;- Window Constants Enumeration 1 #Window_Main EndEnumeration ;- Gadget Constants Enumeration 1 ;Window_Main...
by kpeters58
Mon Jan 25, 2021 5:35 pm
Forum: Coding Questions
Topic: Migrating from VB6
Replies: 18
Views: 2562

Re: Migrating from VB6

And there is also XOJO - it is object-oriented and cross platform

Just in case you missed it in your decision making process.
by kpeters58
Sun Jan 17, 2021 12:57 am
Forum: Coding Questions
Topic: Get rowID of record being INSERTED into SQLite database
Replies: 6
Views: 1733

Re: Get rowID of record being INSERTED into SQLite database

Alternatively you can get it first and then use it in your insert statement [either way, you have two DB round trips :( ]: Procedure.l GetNextAutoIncIDForTable(DatabaseHandle, TableName.s) Protected expr.s = "select seq + 1 as NextID from sqlite_sequence where lower(name) = lower(" + Quote...
by kpeters58
Mon Dec 28, 2020 3:17 am
Forum: Coding Questions
Topic: Needed to re-read the help
Replies: 4
Views: 768

Re: Looks like a bug to me... Can you confirm?

Thanks Demivec -

should have read the help more thoroughly - thought it needed an existing image passed in :(
by kpeters58
Mon Dec 28, 2020 12:15 am
Forum: Coding Questions
Topic: Needed to re-read the help
Replies: 4
Views: 768

Needed to re-read the help

If DatabaseQuery(DatabaseHandle, SQLExpr) If NextDatabaseRow(DatabaseHandle) bytecount = DatabaseColumnSize(DatabaseHandle, ColIndex) If bytecount > 0 *membuffer = AllocateMemory(bytecount) If *membuffer tmpimage = CreateImage(#PB_Any, 10, 10) Debug tmpimage ; = 36950176 GetDatabaseBlob(DatabaseHan...