Thanks Cas. The code works perfectly.
Num3, yes, that virtual path was confusing me. Thanks for that. Just to clarify, the hard coded path for "Documents" for a given user on Vista in portuguese would be "c:\Users\%username%\Documents" ?
Hey Marco, that avatar means that nothing in this life is ...
Search found 35 matches
- Thu Jul 16, 2009 1:19 pm
- Forum: General Discussion
- Topic: PB 4.20 and Windows Vista Portuguese Environment
- Replies: 5
- Views: 2402
- Wed Jul 15, 2009 1:21 pm
- Forum: General Discussion
- Topic: PB 4.20 and Windows Vista Portuguese Environment
- Replies: 5
- Views: 2402
PB 4.20 and Windows Vista Portuguese Environment
Hello all,
I am developing a PB application which will run on a Windows Vista. The Vista is in portuguese language (pt -pt).
I need to find out how I can get the path for the ALL USERS startup folder using PB.
In english it would be "c:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup ...
I am developing a PB application which will run on a Windows Vista. The Vista is in portuguese language (pt -pt).
I need to find out how I can get the path for the ALL USERS startup folder using PB.
In english it would be "c:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup ...
- Mon Dec 22, 2008 7:16 pm
- Forum: Coding Questions
- Topic: Trying to create a Bot for a game
- Replies: 20
- Views: 4577
- Sun Dec 21, 2008 7:49 pm
- Forum: Coding Questions
- Topic: Trying to create a Bot for a game
- Replies: 20
- Views: 4577
- Sun Dec 21, 2008 3:33 pm
- Forum: Coding Questions
- Topic: Trying to create a Bot for a game
- Replies: 20
- Views: 4577
Thanks
Oh no... cheater, tell me which game is it and also your character's names so I can get you banned! :lol:
No, really. If you gave us at least the name of the game it would be easier to help you.
I guess this is an MMO... Most games handle input through the window's message system (in windows ...
No, really. If you gave us at least the name of the game it would be easier to help you.
I guess this is an MMO... Most games handle input through the window's message system (in windows ...
- Sun Dec 21, 2008 12:50 pm
- Forum: Coding Questions
- Topic: Trying to create a Bot for a game
- Replies: 20
- Views: 4577
Trying to create a Bot for a game
Hello community,
I am trying to create a bot for a game that I play a lot. The bot is intended to level up while I am away from my keyboard. So, I am having difficulties in how to handle the mouse movements and keyboard pressed keys and send them to the window where the game is running. Could ...
I am trying to create a bot for a game that I play a lot. The bot is intended to level up while I am away from my keyboard. So, I am having difficulties in how to handle the mouse movements and keyboard pressed keys and send them to the window where the game is running. Could ...
- Sun Aug 31, 2008 12:51 am
- Forum: Coding Questions
- Topic: What's the best way for a ini file ?
- Replies: 10
- Views: 2226
Thanks!
Many thanks for the comments and links. 
- Sun Aug 31, 2008 12:02 am
- Forum: Coding Questions
- Topic: What's the best way for a ini file ?
- Replies: 10
- Views: 2226
Ops!
Gosh, what a shame I did not know PB already have it
Sorry guys.
The library handles read/write groups and values. I presume that I have to read and store the settings on globals.
Thank you all.
The library handles read/write groups and values. I presume that I have to read and store the settings on globals.
Thank you all.
- Sat Aug 30, 2008 11:31 pm
- Forum: Coding Questions
- Topic: What's the best way for a ini file ?
- Replies: 10
- Views: 2226
- Sat Aug 30, 2008 11:09 pm
- Forum: Coding Questions
- Topic: What's the best way for a ini file ?
- Replies: 10
- Views: 2226
What's the best way for a ini file ?
Hi guys,
I have all the settings for my application stored on constants. It is ok if you do not plan to change the settings like folder locations, database name etc.
But I think I need to give more flexibility in case someone else uses my application in another computer. So, as I can not read ...
I have all the settings for my application stored on constants. It is ok if you do not plan to change the settings like folder locations, database name etc.
But I think I need to give more flexibility in case someone else uses my application in another computer. So, as I can not read ...
- Thu Jul 24, 2008 11:31 pm
- Forum: Coding Questions
- Topic: Confused about SQLite...
- Replies: 26
- Views: 4735
Working fine!
Thank you pdwyer !
Thank you npath !
Yes, npath, it works fine now after installing the update you pointed me out. It is fast ! Working very well. Now it is time to make my app a bit more sofisticated.
Best regards to all,
Thank you npath !
Yes, npath, it works fine now after installing the update you pointed me out. It is fast ! Working very well. Now it is time to make my app a bit more sofisticated.
Best regards to all,
- Wed Jul 23, 2008 3:26 pm
- Forum: Coding Questions
- Topic: Confused about SQLite...
- Replies: 26
- Views: 4735
its me again
jmauver,
You're welcome. You are right. You do not have to specify a value for the auto-incrementing primary key. SQLite will take care of this for you. By the way, I find that the PB interface works great for most of what I do with SQLite. In fact, I think that Fred has done an excellent job of ...
You're welcome. You are right. You do not have to specify a value for the auto-incrementing primary key. SQLite will take care of this for you. By the way, I find that the PB interface works great for most of what I do with SQLite. In fact, I think that Fred has done an excellent job of ...
- Tue Jul 22, 2008 8:49 pm
- Forum: Coding Questions
- Topic: Confused about SQLite...
- Replies: 26
- Views: 4735
Thank you !
Autoincrement works fine for me using the native PB interface with SQLite. See below for a generic example.
Procedure main()
Define.l i
If CreateFile(0, "test.db")
CloseFile(0)
Else
MessageRequester("Error", "Can't create file.")
ProcedureReturn
EndIf
UseSQLiteDatabase()
If ...
Procedure main()
Define.l i
If CreateFile(0, "test.db")
CloseFile(0)
Else
MessageRequester("Error", "Can't create file.")
ProcedureReturn
EndIf
UseSQLiteDatabase()
If ...
- Tue Jul 22, 2008 3:43 pm
- Forum: Coding Questions
- Topic: Confused about SQLite...
- Replies: 26
- Views: 4735
- Tue Jul 22, 2008 2:44 pm
- Forum: Coding Questions
- Topic: Confused about SQLite...
- Replies: 26
- Views: 4735