473,387 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 3664
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:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D id=DAViewer
style="position:absolute;top:0;left:0;HEIGHT:100%;
WIDTH:100%;background-color:#eeeeff"></OBJECT>
"JT" <JT@nospam.com> wrote in message
news:uE**************@TK2MSFTNGP10.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**************@tk2msftngp13.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:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D id=DAViewer
style="position:absolute;top:0;left:0;HEIGHT:100%;
WIDTH:100%;background-color:#eeeeff"></OBJECT>
"JT" <JT@nospam.com> wrote in message
news:uE**************@TK2MSFTNGP10.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
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...
0
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...
3
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...
0
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...
1
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...
14
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
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
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...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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...

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.