473,804 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DirectX window in web browser

JT
Hi,

Is there an example available online of a C# direct3d application being
loaded inside a web page? I just read up a bit about web forms, and that
doesn't seem like the way to do it...

Thanks
JT
Nov 15 '05 #1
2 3694
I don't see any relations between C# and Direct3D on WebForm.
But if you add following code to you HTML page this page will host DirectX
control.

<OBJECT classid=CLSID:B 6FFC24C-7E13-11D0-9B47-00C04FC2F51D id=DAViewer
style="position :absolute;top:0 ;left:0;HEIGHT: 100%;
WIDTH:100%;back ground-color:#eeeeff"> </OBJECT>
"JT" <JT@nospam.co m> wrote in message
news:uE******** ******@TK2MSFTN GP10.phx.gbl...
Hi,

Is there an example available online of a C# direct3d application being
loaded inside a web page? I just read up a bit about web forms, and that
doesn't seem like the way to do it...

Thanks
JT

Nov 15 '05 #2
JT
Thanks for your reply Maxim.

"Hosting a DirectX control" is exactly what I want... to avoid! It's flaky,
prone to security problems, hard to get dynamic content, etc.

I was hoping that with C# and web forms there was a new way to do this -
closer to what can be done with java and applets. But after reading a bit
more about managed directX, it seems that people still basically create a
control and host it up with an "object" tag... how disappointing.

JT
"Maxim Kazitov" <mv*****@tut.by > wrote in message
news:eh******** ******@tk2msftn gp13.phx.gbl...
I don't see any relations between C# and Direct3D on WebForm.
But if you add following code to you HTML page this page will host DirectX
control.

<OBJECT classid=CLSID:B 6FFC24C-7E13-11D0-9B47-00C04FC2F51D id=DAViewer
style="position :absolute;top:0 ;left:0;HEIGHT: 100%;
WIDTH:100%;back ground-color:#eeeeff"> </OBJECT>
"JT" <JT@nospam.co m> wrote in message
news:uE******** ******@TK2MSFTN GP10.phx.gbl...
Hi,

Is there an example available online of a C# direct3d application being
loaded inside a web page? I just read up a bit about web forms, and that
doesn't seem like the way to do it...

Thanks
JT


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
7147
by: ammd | last post by:
Hi, I installed Microsoft DirectX 9.0 SDK (Summer 2004) but when I create a project and try to add the necessary references I can't find them. Does anybody know where to look for them? BTW, I have VS 2002. Don't know if there's an incompatibility issue. Thanks.
0
1973
by: Noel Cower | last post by:
This problem has been bugging me for a bit now: I recently purchased Visual C# 2003 Standard and installed the DirectX 9 SDK (Summer 2004), and got along fairly well looking over the samples and such, but no matter what I try I cannot reference the DirectX assemblies through the Add Reference dialog (I have them copied to another folder on my computer- they're also in 'C:\Windows\assembly\GAC\Microsoft.DirectX*\v*\' , but after reading for...
3
4710
by: chapmjw | last post by:
I'm looking for an C# example of a form with a picture box that Directx can draw to. My program plots the flight of a golf ball and I need to do it realtime. I would like to keep as a child window on the form because there are 15 or so parameters that can be changed just above it. Could you please point me to an example or advise to get me started. thanks jim
0
1113
by: YiFai | last post by:
Hello, I'm currently writing a directx program with C++, but it takes a while to load the files necessary for the directx. When the directx window loads, it can quit the program with the 'escape' key by using the keydown events provided by directx libraries. What I would like to do is be able to quit the program before it finishes loading if the user presses the 'escape' key during the load. I will use a boolean variable to determine...
1
2698
by: Kav | last post by:
Hello, I apologize in advance for my “Greenness” . I posted a question a couple weeks ago asking how I could render a DIB frame a custom decoder from unmanaged code to a c# window using DirectX – i.e. I would like to get an overlay surface from c# and write my frame to the surface then render it. From what I’ve now found out, this isn’t an easy task. It sounded simple enough but after looking at DirectX 9, only later to...
14
2664
by: Jessica Weiner | last post by:
I am writing an application in C# which need to plot graphs and simple shapes (polygons, circles, squares etc). Which library is better for this purpose and why? Thanks.
4
2874
by: Daniel | last post by:
Hey guys Anyone know if it is possible to add a button at design time and place it over the top of a directx window? For example checkboxes, standard buttons, menus etc? If so how?
3
803
by: Alun Harford | last post by:
I'm trying to learn to use DirectX in C#, but all of the examples I've found so far are pretty unstable (crash when minimized, crash when the window is resized so its height is 0 pixels, crash on ctrl+alt+del, etc) Does anybody know of a tutorial out there that handles the exceptions correctly? Can anybody recommend a good book on the topic? Alun Harford
3
1390
by: Abdul Azeez(BLR) | last post by:
Hi, I need to use DirectX in my application for drawing the network diagram. May I know the procedure to draw a Graph( Rectangular boxes connected with straight lines) using DirectX. Could you please throw some light on DirectX as I have very little knowledge about it. My main intension is to draw rectangular boxes which are connected
0
9705
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10568
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
4292
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2988
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.