How can I close the Debug window programatically??
Is there such a command for it?
like CloseDebug()
Thank You
Search found 16 matches
- Tue Dec 05, 2006 7:44 pm
- Forum: Coding Questions
- Topic: Close the debug window automatically
- Replies: 1
- Views: 648
- Mon Nov 13, 2006 7:04 am
- Forum: Coding Questions
- Topic: Getting the username in windows
- Replies: 2
- Views: 944
Getting the username in windows
After looking at the API I found that the GetUsername function should return the username of the current logged user.
*mem=AllocateMemory(1000)
buff.w=1000
GetUserName_(*mem,buff)
Debug PeekS(*mem)
FreeMemory(*mem)
After compiling this code I get an "invalid memory access" error.
Please help ...
*mem=AllocateMemory(1000)
buff.w=1000
GetUserName_(*mem,buff)
Debug PeekS(*mem)
FreeMemory(*mem)
After compiling this code I get an "invalid memory access" error.
Please help ...
- Tue Nov 07, 2006 5:01 pm
- Forum: Tricks 'n' Tips
- Topic: 6-line procedure to convert to mixed case
- Replies: 34
- Views: 9767
wrong person
In my last post I gave Flype credit for the 7 line procedure. Credit for this procedure goes to Trond.
Good job Trond.
Good job Trond.
- Tue Nov 07, 2006 4:58 pm
- Forum: Tricks 'n' Tips
- Topic: 6-line procedure to convert to mixed case
- Replies: 34
- Views: 9767
Cannot compete
WOW guys, I guess there are many ways to do something in PB. Does speed matter anymore?
Probably the only difference between mine and the " faster" ones are a couple of microseconds, as far as speed goes!!
The record to break is the 7 line procedure from Flype!!
Can anybody come up with a 6 line ...
Probably the only difference between mine and the " faster" ones are a couple of microseconds, as far as speed goes!!
The record to break is the 7 line procedure from Flype!!
Can anybody come up with a 6 line ...
- Tue Nov 07, 2006 6:41 am
- Forum: Tricks 'n' Tips
- Topic: 6-line procedure to convert to mixed case
- Replies: 34
- Views: 9767
6-line procedure to convert to mixed case
I recently needed a procedure to convert words to Mixed Case. I checked the ones offered in this forum and I was amazed at the amount of code needed to do such thing. I created a 6 line procedure.
here it is:
Procedure.s Word_Upper(st.s)
For idx=1 To CountString(st," ")+1
word.s=LCase ...
here it is:
Procedure.s Word_Upper(st.s)
For idx=1 To CountString(st," ")+1
word.s=LCase ...
- Mon Nov 06, 2006 2:19 pm
- Forum: Coding Questions
- Topic: Detecting mouse over button
- Replies: 6
- Views: 1608
Thank You
Thank You guys, this was very helpful!!
- Mon Nov 06, 2006 7:15 am
- Forum: Coding Questions
- Topic: Detecting mouse over button
- Replies: 6
- Views: 1608
Detecting mouse over button
I have a window with a button and a text gadget. I want the text gadget to change from "test" to "Mouse over button" when the mouse cursor is over the button. I am trying to understand the winapi but I am confused.
Structure wndMain
window.l
btnClose.l
btnViewParents.l
txtMessage.l ...
Structure wndMain
window.l
btnClose.l
btnViewParents.l
txtMessage.l ...
- Tue Oct 31, 2006 5:34 pm
- Forum: Coding Questions
- Topic: Newbie #WM questions
- Replies: 3
- Views: 715
Newbie #WM questions
I've seen a lot of scripts that use constants that start with #WM
Where can I learn about these constants??
Are there any tutorials for them??
Thank You

Where can I learn about these constants??
Are there any tutorials for them??
Thank You
- Fri Oct 27, 2006 4:37 pm
- Forum: Coding Questions
- Topic: DSN-Less for SQLite DB
- Replies: 1
- Views: 882
DSN-Less for SQLite DB
Does anybody have any example on how to create a DSN-less connection string for a SQLite database?
I searched the Internet but cannot find anything.
Thanks.
I searched the Internet but cannot find anything.
Thanks.

- Fri Oct 27, 2006 1:16 am
- Forum: General Discussion
- Topic: PureBASIC Direction?
- Replies: 15
- Views: 4049
No gaming, Please
As a newcomer to PB, I would like to say that the only reason I bought PB was because it contains many tools that allow me to do different things, not just games.
Why turn a balanced programming language like PB into a game programming language? I chose PB over DarkBasic and the other Basics out ...
Why turn a balanced programming language like PB into a game programming language? I chose PB over DarkBasic and the other Basics out ...
- Fri Oct 27, 2006 1:02 am
- Forum: General Discussion
- Topic: PB.CM - The first PureBasic Magazine
- Replies: 20
- Views: 7022
I can help too
I can tranlate from English to Spanish. If you are interested let me know.
- Mon Oct 23, 2006 9:05 pm
- Forum: Coding Questions
- Topic: Free software for icons
- Replies: 6
- Views: 2241
Thank you guys
Gracias everybody!!
I'm curious to see how many spanish speaking PB users exist!
(Me gustaria saber cuantos usuarios existen que usan PB!)
Is there a spanish user's guide for PB??
If there is none, I will translate it by December.
I'm curious to see how many spanish speaking PB users exist!
(Me gustaria saber cuantos usuarios existen que usan PB!)
Is there a spanish user's guide for PB??
If there is none, I will translate it by December.
- Mon Oct 23, 2006 4:46 am
- Forum: Coding Questions
- Topic: Free software for icons
- Replies: 6
- Views: 2241
Free software for icons
Does anybody know of any good free software to create icons.
Also what are the icon details to be able to use them in PB?
like size and how many bits??
Also what are the icon details to be able to use them in PB?
like size and how many bits??
- Mon Oct 23, 2006 4:44 am
- Forum: Coding Questions
- Topic: Help with coding technique for multiple windows
- Replies: 2
- Views: 972
I got it
I understand know windows and gadgets a little bit more. Thank you
- Mon Oct 23, 2006 4:00 am
- Forum: Coding Questions
- Topic: Help with coding technique for multiple windows
- Replies: 2
- Views: 972
Help with coding technique for multiple windows
I have some questions about coding techniques when using multiple windows.
Questions:
1)
Repeat
event.l=WaitWindowEvent(10)
Until event=#PB_Event_CloseWindow
Does this code captures all window events or it only catches events on whaetever file the window was declared?
Same question as above but ...
Questions:
1)
Repeat
event.l=WaitWindowEvent(10)
Until event=#PB_Event_CloseWindow
Does this code captures all window events or it only catches events on whaetever file the window was declared?
Same question as above but ...