Click here to Skip to main content
13,591,515 members
Rate this:
Please Sign up or sign in to vote.
hi please guide me to Rendering DirectX to a picture box control or any control
create and render a direct 3D window inside a picturebox Or panel or anything... .

thanks for any help
Posted 6-Jan-13 4:13am
Updated 6-Jan-13 9:48am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This is ridiculous: if you are using DirectX, you don't need PictureBox, which is just a very simple control used to do the simplest things. Unless you want to show some static image in highly simplified way, just forgot this highly abused control. What is really used to render graphics is never a PictureBox.

The second idea is this: if you already use VB.NET, you use .NET. It means that you don't need to use DirectX directly (pun unintended :-)). This is not so easy to do. You can be better off if you use WPF instead. The WPF library is fully based on DirectX and the easy of use of a .NET library. Even easier: the problem with System.Windows.Forms or any other UI based on GDI+ is that its graphics cannot live with DirectX graphics well; these kinds of graphics are implemented in different levels and do not combine. With WPF, you don't have this problem.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web04-2016 | 2.8.180618.1 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100