Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Taking Screenshots in DB

Author
Message
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 26th Jul 2005 07:51
Use my code snippet:


Then, vote for Excelsis on the Puzzle Game Compo, as well as check out my sites.

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
Robot Booger
20
Years of Service
User Offline
Joined: 4th Jan 2005
Location:
Posted: 29th Jul 2005 18:59
It doesn't work with me. It says "Runtime Error 116 - The command is now obsolete at line 42", where line 42 is the line
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 30th Jul 2005 22:06 Edited at: 30th Jul 2005 22:16
Uh, and how is this anything I couldn't do myself in 30 seconds??

Also, with your code you can only have one screenshot, and you just wasted 3 variables' worth of memory.

Why would you have a 'screenshots' folder if you only have one screenshot?!

Even more also, 'Save Bitmap' doesn't exist in DBPro, although (to be fair) it does work in DBC.

Quote: "
Then, vote for Excelsis on the Puzzle Game Compo, as well as check out my sites.
"

Yes master.... (Or not)

Syntax Error - Learn to type, you fool!
Xolatron old
21
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 5th Aug 2005 23:00 Edited at: 14th Aug 2005 22:22
Look in the DBpro discussion for the Ion Extension pack (by me) - it has a save bitmap that works with DBpro, but not in Fullscreen exclusive.

Or, use an image and copy the screen to that image


Or, my favorite, press Prt Scrn (after F12) and open paint, then press Ctrl+V. Then save.

-Xol

Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 7th Aug 2005 20:04
Quote: "
Or, my favorite, press Prt Scrn (after F12) and open paint, then press Ctrl+C. Then save."


You should patent this method

If I looking for blog
Flashing Blade
22
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 9th Aug 2005 15:44 Edited at: 9th Aug 2005 15:44
Quote: "Or, my favorite, press Prt Scrn (after F12) and open paint, then press Ctrl+C. Then save."


Think you mean Ctrl+V


The word "Gullible" cannot be found in any English Dictionary.
Xolatron old
21
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 14th Aug 2005 22:23
Oh yes, fixed. Got my random lower-left keyboard keys confused

Quote: "You should patent this method"

It is surprising how few people know about it.

-Xol

The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 15th Aug 2005 15:00
Quote: "Think you mean Ctrl+V"


No I don't think he did There is a Print screen button

Visit PanzerGames here
Kim Possible
19
Years of Service
User Offline
Joined: 13th Aug 2005
Location: Where ever there\'s trouble.
Posted: 15th Aug 2005 20:41
I think he did mean cntrl-v. Otherwise, he'd be copying over his buffered dib with the cntrl-c and then would paste an empy dib when he did get around to cntrl-v...

DBP + VC Ent.Studio | Maya, MAX, Soft3D, MilkShape, Character FX | 3.0Ghz P4, IC7G, GF 6800GT (primary) / 3200XP, A7N8x, GF 6600GT (secondary) / 6x dual 2.8Ghz Xeon SuperMicro (renderfarm)
Freddy 007
20
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 15th Aug 2005 21:51
@Nerd:
Err... ?


Whatever, he edited it anyway... And I prefer to use the Print Screen-Paint-Ctrl+V-way. ...

*** PANZERGAMES ***
Xolatron old
21
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 22nd Aug 2005 18:10 Edited at: 22nd Aug 2005 18:10
Quote: "No I don't think he did"


Well, actually, I did Ctrl-V pastes the copied bitmap into paint. Too many letters that don't really mean anything, I know .

-Xol


DBpro IonRay IDE: Demo 0.1.0.0 available!

Login to post a reply

Server time is: 2025-05-16 11:15:12
Your offset time is: 2025-05-16 11:15:12