Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Game Programming > Managed DirectX > DirectX9 Screenshot help

Thread Tools Display Modes
Old 02-04-2005, 01:38 PM
sharratt2003 sharratt2003 is offline
Join Date: Mar 2004
Posts: 1
Default DirectX9 Screenshot help

I have a VB.NET form and have coded it to grab a screenshot in the following way:

1. Create Device for Currunt Form which has Focus
2. Create Surface from CreateOffscreenPlainSurface
3. Get Device Front Buffer
4. Save the surface to file

Any ideas on how i can get it to work without having to have focus off the current form and take the screenshot regardless of what application i am in would be appreciated!!!

Its driving me insane!

Thanks in advance
Reply With Quote
Old 11-09-2005, 02:21 AM
ardman ardman is offline
Join Date: Jan 2002
Posts: 126

You can just use Alt+PrintScreen in order to take a screenshot. It puts it into the clipboard and paste it in paint
Reply With Quote
Old 06-11-2006, 09:04 PM
Agwan's Avatar
Agwan Agwan is offline
Join Date: Nov 2005
Location: Australia
Posts: 45
Default suggestion

Get the back buffer
Agwan - EXtremeSolutions
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..