Search found 72 matches
- Thu May 18, 2023 9:47 pm
- Forum: General Discussion
- Topic: PureBasic Non-Regression Suite
- Replies: 5
- Views: 913
Re: PureBasic Non-Regression Suit
That's a lot of testing! This is why PureBasic rocks!
- Sun Feb 12, 2023 2:07 am
- Forum: General Discussion
- Topic: Xojo Developers
- Replies: 18
- Views: 5284
Re: Xojo Developers
I had a Real Basic license years ago. Still, I abandoned it because I needed to consider a tool that supplied a smoother transition from VB6. Power Basic Forms and Power Basic for Windows were a better transition for VB6 programmers. However, I became disappointed by Power Basic's lack of direction ...
- Sun Jul 03, 2022 5:38 am
- Forum: Coding Questions
- Topic: CrossDatabase sql query using two database handles
- Replies: 10
- Views: 1368
Re: CrossDatabase sql query using two database handles
Hi LiK137,
Are you trying to query against different database schemas or a different database instances in PostgreSQL? If you're querying against a different database instance, you'll probably have to use a database link. To query across database links, use the PostgreSQL "dblink" function.
The ...
Are you trying to query against different database schemas or a different database instances in PostgreSQL? If you're querying against a different database instance, you'll probably have to use a database link. To query across database links, use the PostgreSQL "dblink" function.
The ...
- Sat May 07, 2022 11:56 pm
- Forum: Coding Questions
- Topic: I need help using ResizeWindow
- Replies: 2
- Views: 414
Re: I need help using ResizeWindow
Thank you.
- Sat May 07, 2022 10:10 pm
- Forum: Coding Questions
- Topic: I need help using ResizeWindow
- Replies: 2
- Views: 414
I need help using ResizeWindow
Hi Everyone,
I'm trying to reposition a window, which has been deliberately placed at the X/Y coordinates of 0 and 0. However, I am not getting the results that I expected. Any advice?
#MyWindow = 1
Define iThisWindowWidth.i
Define iThisWindowHeight.i
Define iMonitorXcoordinate.i
Define ...
I'm trying to reposition a window, which has been deliberately placed at the X/Y coordinates of 0 and 0. However, I am not getting the results that I expected. Any advice?
#MyWindow = 1
Define iThisWindowWidth.i
Define iThisWindowHeight.i
Define iMonitorXcoordinate.i
Define ...
- Wed Aug 04, 2021 6:15 pm
- Forum: Coding Questions
- Topic: Report Builder / Viewr
- Replies: 1
- Views: 1124
Re: Report Builder / Viewr
From a PureBasic perspective, you might want to consider designing screens with PureBasic's Visual Designer, then rendering the output with PurePDF.
I know that doesn't directly answer your question for a quick report designer, but it allows you to design output with PureBasic + PurePDF.
I know that doesn't directly answer your question for a quick report designer, but it allows you to design output with PureBasic + PurePDF.
- Mon Jul 19, 2021 3:29 pm
- Forum: Coding Questions
- Topic: C to PureBasic Converter (?)
- Replies: 2
- Views: 1368
Re: C to PureBasic Converter (?)
There was an old project from about 12 years ago that converted C headers to VB. I think this was the link (below):
https://www.codebus.net/d-31pb.html
You could convert this to PB and use to build PB headers and declarations.
https://www.codebus.net/d-31pb.html
You could convert this to PB and use to build PB headers and declarations.
- Mon Jul 19, 2021 12:47 pm
- Forum: Coding Questions
- Topic: Need Help with KillProgram Process Command
- Replies: 3
- Views: 1227
Re: Need Help with KillProgram Process Command
Thanks, Infratect. This is very helpful.
In this particular case, killing the program or issuing a Ctrl-C is necessary. This is because the program continues to run until stopped. Any future calls to RunProgram will produce duplicate copies of the program.
Thanks again.
In this particular case, killing the program or issuing a Ctrl-C is necessary. This is because the program continues to run until stopped. Any future calls to RunProgram will produce duplicate copies of the program.
Thanks again.
- Sat Jul 17, 2021 6:08 pm
- Forum: Coding Questions
- Topic: Need Help with KillProgram Process Command
- Replies: 3
- Views: 1227
Need Help with KillProgram Process Command
Hi Folks,
I'm trying to use the KillProgram command to kill a process I deliberately left open, but it's not working. I know I'm doing something wrong.
Can someone please tell me where I'm messing up?
Thanks.
Define iI.i
Define sProgramOutput.s
Procedure.s RunExternalProgram(sPathExecutable.s ...
I'm trying to use the KillProgram command to kill a process I deliberately left open, but it's not working. I know I'm doing something wrong.
Can someone please tell me where I'm messing up?
Thanks.
Define iI.i
Define sProgramOutput.s
Procedure.s RunExternalProgram(sPathExecutable.s ...
- Mon Dec 14, 2020 7:29 pm
- Forum: Coding Questions
- Topic: SQL searching logic on multiple fields, not quite right.
- Replies: 21
- Views: 5044
Re: SQL searching logic on multiple fields, not quite right.
I know about lack of time. So much property maintenance has to be done by me because my wife injured her foot so I have to do more. Hopefully won't fall off the roof tomorrow as I still need to code sometime:):)
Sorry about the wife's foot injury. Just remember to wear your parachute while on the ...
Sorry about the wife's foot injury. Just remember to wear your parachute while on the ...
- Mon Dec 14, 2020 11:55 am
- Forum: Coding Questions
- Topic: SQL searching logic on multiple fields, not quite right.
- Replies: 21
- Views: 5044
Re: SQL searching logic on multiple fields, not quite right.
percy_b, if you are still around and reading this stuff, could you advise me on the correct order here?
either titlename OR information OR comment should match '%gar%' in any of the three fields then the following 6 fields should be AND into the result.
Instead, the datatype field returns all ...
either titlename OR information OR comment should match '%gar%' in any of the three fields then the following 6 fields should be AND into the result.
Instead, the datatype field returns all ...
- Fri May 15, 2020 5:54 pm
- Forum: General Discussion
- Topic: How do you design your software architectures?
- Replies: 8
- Views: 5700
Re: How do you design your software architectures?
Hey folks,
during my studies I often used the Model-View-Controller (MVC) and Model-View-Presenter (MVP) architectural patterns in C++ and C# when developing applications with graphical user interfaces for scientific purposes. These patterns helped me a lot in developing larger projects and to ...
during my studies I often used the Model-View-Controller (MVC) and Model-View-Presenter (MVP) architectural patterns in C++ and C# when developing applications with graphical user interfaces for scientific purposes. These patterns helped me a lot in developing larger projects and to ...
- Thu Apr 23, 2020 2:08 pm
- Forum: Coding Questions
- Topic: FileFingerprint Question
- Replies: 4
- Views: 1706
Re: FileFingerprint Question
I am using FileFingerprint to get the fingerprint of a zip file.
I then recreate the same zip file in the same way and use FileFingerprint again.
It gives me two different fingerprints?
Is this because of the two different times of creation?
Is there any way to get over this?
Tried with MD5 ...
I then recreate the same zip file in the same way and use FileFingerprint again.
It gives me two different fingerprints?
Is this because of the two different times of creation?
Is there any way to get over this?
Tried with MD5 ...
- Thu Apr 16, 2020 8:43 pm
- Forum: General Discussion
- Topic: Is there some timeout in DatabaseQuery() with sqlite? Fred?
- Replies: 10
- Views: 3396
Re: Is there some timeout in DatabaseQuery() with sqlite? Fr
Hi,
we're experiencing strange SQLite queries comming back after exactly 1000ms (one second). The SQLite guys do not have an idea why.
So maybe PureBasic is having such limitation or timeout somewhere? Or maybe is SQLITE_BUSY as result ignored (https://sqlite.org/rescode.html#busy)?
We build ...
we're experiencing strange SQLite queries comming back after exactly 1000ms (one second). The SQLite guys do not have an idea why.
So maybe PureBasic is having such limitation or timeout somewhere? Or maybe is SQLITE_BUSY as result ignored (https://sqlite.org/rescode.html#busy)?
We build ...
- Sun Mar 01, 2020 4:54 am
- Forum: Coding Questions
- Topic: Attach Database
- Replies: 2
- Views: 1119
Re: Attach Database
In sqlite you can attach à databse with this synthax
ATTACH DATABASE 'toto' As 'toto';
Can someone says me if it is possible in POSTGRESQL and eventually the sql synthax for
Thanks in advance Hi Loulou2522,
PostgreSQL has a user-based system that revolves around schemas. Therefore, you can ...
ATTACH DATABASE 'toto' As 'toto';
Can someone says me if it is possible in POSTGRESQL and eventually the sql synthax for
Thanks in advance Hi Loulou2522,
PostgreSQL has a user-based system that revolves around schemas. Therefore, you can ...