Search found 241 matches
- Mar 11, 2022 11:10
- Forum: Windows
- Topic: Setting the clipboard text
- Replies: 2
- Views: 795
Re: Setting the clipboard text
Yep commented well and works great! - thanks SARG!
- Mar 11, 2022 8:06
- Forum: Windows
- Topic: Setting the clipboard text
- Replies: 2
- Views: 795
Setting the clipboard text
How do you set the clip board text? I see this function for getting the text Function get_clipboard() As String If IsClipboardFormatAvailable(CF_TEXT) = 0 Then Return "Error" If OpenClipboard(0) = 0 Then Return "Error" Function = *Cast(zstring Ptr,GetClipboardData(CF_TEXT)) Close...
- Feb 20, 2022 0:54
- Forum: General
- Topic: How to use C/C++'s main function on FreeBASIC?
- Replies: 21
- Views: 1650
Re: How to use C/C++'s main function on FreeBASIC?
Haha I was just thinking now what kind of programmer does this sorta thing.
- Feb 15, 2022 20:43
- Forum: Game Dev
- Topic: Street Outlaws NPK Betting Game
- Replies: 11
- Views: 5806
Re: Street Outlaws NPK Betting Game
NEW VERSION:- Uses DSHOW for better vid handling with a few enhancements and $$ limit increased to 99m. Also runs a 20 race round only as if you were to double up on each race and win you'd hit the 99m dollar limit. Also link for 20 more races and a total of 99 on demand but you'll have to modify th...
- Feb 15, 2022 4:10
- Forum: Beginners
- Topic: Can Public Functions Access All Program Variables?
- Replies: 24
- Views: 3212
Re: Can Public Functions Access All Program Variables?
Awesome!. So simple. Is there a disadvantage of declaring ALL declarative statements as Shared? Thanks so much, M... Yes. It means that once you declare them you cannot declare them again anywhere in your program eg if you're like me and like using simple quick variables like a,b,c for simple quick...
- Jan 18, 2022 0:25
- Forum: General
- Topic: Windows 10 defender don't like this short program
- Replies: 61
- Views: 4907
Re: Windows 10 defender don't like this short program
I had the same problem with my code one day with AVG - found out that it didn't like a bunch of @ in a string :)
- Dec 18, 2021 5:08
- Forum: Sources, Examples, Tips and Tricks
- Topic: A good collection of some collision stuff.
- Replies: 7
- Views: 2369
Re: A good collection of some collision stuff.
Haha nice code Dodicat! and in defense of Joshy he prolly very tired by 3am coding all that :)dodicat wrote:He forgot a line segment and an outhouse.
- Dec 17, 2021 14:47
- Forum: Sources, Examples, Tips and Tricks
- Topic: A good collection of some collision stuff.
- Replies: 7
- Views: 2369
Re: A good collection of some collision stuff.
(reads the book last night then writes 1648 lines of code :)
always writing good stuff and maybe someday i'll understand it haha!
always writing good stuff and maybe someday i'll understand it haha!
- Nov 11, 2021 22:21
- Forum: General
- Topic: bit-aligned read & write
- Replies: 22
- Views: 2591
Re: packed bits
If we hover over 'Tips and Tricks', this sub forum, it says “Post your FreeBASIC tips and tricks here. Please don't post your code without including an explanation.” I cannot remember who, but counting_pine got quite cross at someone who habitually posted code without an explanation. If I was a mod...
- Nov 11, 2021 10:03
- Forum: General
- Topic: bit-aligned read & write
- Replies: 22
- Views: 2591
Re: packed bits
+1deltarho[1859] wrote:expand your preamble to give folk a clue what your code is for
There are far too many posts like this where you have no idea what the code is for nor what it's supposed to do or even how to use it.
- Oct 18, 2021 23:23
- Forum: Community Discussion
- Topic: Observations.
- Replies: 138
- Views: 15388
Re: Observations.
I think that's just the norm with forums. Much like life nothing lasts forever.dodicat wrote:"This used to be a great forum with lots of crazy people, I wonder why they have all gone?"
No!! :)dodicat wrote:Maybe I am next for the order of the boot, who knows? and who cares.
- Oct 13, 2021 2:26
- Forum: Sources, Examples, Tips and Tricks
- Topic: How to embed any binary file into your FB executable
- Replies: 13
- Views: 2918
Re: How to embed any binary file into your FB executable
I was just thinking this should be in tips and tricks and it is haha. Thanks for this! Should come in useful sometime.
- Sep 19, 2021 20:18
- Forum: Windows
- Topic: Muting or Zeroing Volume via API
- Replies: 6
- Views: 1908
- Sep 18, 2021 12:36
- Forum: Windows
- Topic: Muting or Zeroing Volume via API
- Replies: 6
- Views: 1908
Re: Muting or Zeroing Volume via API
Well, i don't know how the hell i did it but i did it! I was about to give up as i just don't understand stuff like pGraph->lpVtbl-> but thought i'd atleast make a start by making that pVolume pointer so looking at these dims in my code: dim as IGraphBuilder Ptr pGraph dim as IMediaEvent Ptr pEvent ...
- Sep 18, 2021 4:46
- Forum: Windows
- Topic: Muting or Zeroing Volume via API
- Replies: 6
- Views: 1908
Re: Muting or Zeroing Volume via API
thanks for that code. i will see if i can get it to work.