Search found 50 matches

by Mr Coder
Thu Jul 01, 2010 11:54 am
Forum: Coding Questions
Topic: limited on images or drawing?
Replies: 8
Views: 1321

Re: limited on images or drawing?

I agree with srod: every command that returns a success/fail value MUST be checked for their status. Yes, it adds code and is boring to type, but it's essential. OpenWindow, LoadImage, SaveImage, ReadFile, etc -- check them ALL for success/fail. That way, you wouldn't even need IsImage() etc ...
by Mr Coder
Thu Jul 01, 2010 10:37 am
Forum: Coding Questions
Topic: USB Manufacturer
Replies: 4
Views: 1329

Re: USB Manufacturer

You know Windows has a setting for admins where you can just deny access to removable drives, right? ;)
by Mr Coder
Tue Jun 29, 2010 7:09 am
Forum: Coding Questions
Topic: how to find the path of another running process
Replies: 6
Views: 1867

Re: how to find the path of another running process

When you're in someone else's house, you abide by their rules.
by Mr Coder
Tue Jun 29, 2010 7:08 am
Forum: Tricks 'n' Tips
Topic: Set/Get Master Volume/Mute
Replies: 10
Views: 5471

Re: Set/Get Master Volume/Mute

Okay then, but if it only monitors the volume, then it doesn't answer my question. I need to know how to mute and unmute Windows. The original code in this thread works for XP, but not 7. If your app just monitors it, then it's no good in helping me (sorry!).
by Mr Coder
Tue Jun 29, 2010 5:55 am
Forum: Off Topic
Topic: Which GPU do you prefer?
Replies: 27
Views: 4209

Re: Which GPU do you prefer?

nVidia.
by Mr Coder
Tue Jun 29, 2010 1:50 am
Forum: Tricks 'n' Tips
Topic: Set/Get Master Volume/Mute
Replies: 10
Views: 5471

Re: Set/Get Master Volume/Mute

Thanks Michael, but I don't see how to mute/unmute the volume with it? Also, the window was invisible due to the #PB_Window_Invisible flag, and wouldn't show up until I removed the flag. Is that expected?
by Mr Coder
Mon Jun 28, 2010 10:29 am
Forum: Tricks 'n' Tips
Topic: Set/Get Master Volume/Mute
Replies: 10
Views: 5471

Re: Set/Get Master Volume/Mute

This code to mute the volume doesn't work with Windows 7. Anyone know how to fix? From what I can see, each app in Windows 7 can have its own volume control, so master mute doesn't work anymore with it.
by Mr Coder
Sun Jun 27, 2010 2:35 am
Forum: General Discussion
Topic: Detect ScreenShot
Replies: 19
Views: 3513

Re: Detect ScreenShot

Perhaps I missed something, but he doesn't want to take a screen shot, he wants to detect when another appliction takes a screen shot.
You did miss something. :) I know that's what he wants to do. My comment was to show that checking for screenshots, that were taken by other apps, by looking at ...
by Mr Coder
Sat Jun 26, 2010 2:57 pm
Forum: General Discussion
Topic: Detect ScreenShot
Replies: 19
Views: 3513

Re: Detect ScreenShot

There's plenty of code samples in these forums that show how to take a screenshot without using the clipboard and without system messages.
by Mr Coder
Sat Jun 26, 2010 2:52 pm
Forum: Announcement
Topic: GreenForce-Player 1.22
Replies: 25
Views: 20638

Re: GreenForce-Player 1.02

For getting screenshots, the Active option was elementary to defeat (just grab the screen using BitBlt instead of the clipboard). And the way you kept stopping the clipboard from taking screenshots is not user-friendly at all -- I switched to another window to take a shot of another app, and couldn ...
by Mr Coder
Sat Jun 26, 2010 12:37 pm
Forum: General Discussion
Topic: Detect ScreenShot
Replies: 19
Views: 3513

Re: Detect ScreenShot

How is cleaning the clipboard going to help?
by Mr Coder
Sat Jun 26, 2010 12:36 pm
Forum: Announcement
Topic: PureBasic 4.50 is out !
Replies: 77
Views: 25945

Re: PureBasic 4.50 is out !

nase09 wrote:but Purebasic is Basic, so it would be a bad idea to use e.g. Pascal or C syntax..
So true! Too many people here forget that, and want PureBasic to be something other than Basic. :roll:
by Mr Coder
Sat Jun 26, 2010 2:06 am
Forum: General Discussion
Topic: Detect ScreenShot
Replies: 19
Views: 3513

Re: Detect ScreenShot

Kwaï chang caïne wrote:detect a screenshot make by another application ????
No way. Any app can examine the screen at any time and record the pixels, without using the clipboard.
by Mr Coder
Fri Jun 25, 2010 4:49 pm
Forum: Off Topic
Topic: Youtube Humor
Replies: 8
Views: 1977

Re: Youtube Humor

TomS wrote:Don't you watch the Soccer Worldcup on TV, or aren't there at least some Soccer-Fans in your neighborhood
No, to both questions. That explains why I had no idea what it was. I'm glad you liked it, though.
by Mr Coder
Fri Jun 25, 2010 10:02 am
Forum: The PureBasic Editor
Topic: I hate stable versions who are NOT stable ...
Replies: 14
Views: 4751

Re: I hate stable versions who are NOT stable ...

Can I work with pb4.50 with no problem ?
Of course. What sort of question is that? Do you see a million bug reports here saying that v4.50 is unstable and destroying sources? It's like I said: a one-off glitch when reading the old prefs file and saving the new. Now that your new prefs file is ...