Hi, I programmed a game in C#, with visual studios. My friend programmed a website in HTML/CSS using dreamweaver. Now i am wondering if it is possible to upload my game onto his website, without having to do much changing to my code, due to the fact that i am a beginner programmer. If anyone has any suggestions or advice, please let me know! Thanks!
6 replies to this topic
#1
Posted 10 March 2011 - 09:01 AM
|
|
|
#2
Posted 10 March 2011 - 12:33 PM
If your application is an executable (.exe) you can only upload it to his server and link to it for download, there is no way to embed a C# application other than with ASP.NET, and even then it must be basic. Embeddable containers include ActiveX, Flash, Java and a few others.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 10 March 2011 - 12:41 PM
I was told by someone that it is possible to put my game into an active X control.... not sure what that is or how to do it though, or even if it will work. Does anyone know about that?
#4
Posted 10 March 2011 - 12:47 PM
It should not be all too difficult, here is an example of getting an ActiveX control running: Writing an ActiveX control in C#
Note the downfalls:
Note the downfalls:
- It is not an application, only a single form, so you will need to modify the code a bit
- ActiveX is not supported natively on Firefox, Opera or other operating systems than Windows. IE may ignore the control depending on security settings.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#5
Posted 10 March 2011 - 01:00 PM
so according to that website, i have to make a new class in my c# game. and then add the code written for me into that class.
I also need to add the javascript to the website?
but i dont understand what to do with the 3 lines of code that are separated by comments in the middle of the page? (sorry im new to programming, and know little to nothing about websites/servers.)
thank you!
I also need to add the javascript to the website?
but i dont understand what to do with the 3 lines of code that are separated by comments in the middle of the page? (sorry im new to programming, and know little to nothing about websites/servers.)
thank you!
#6
Posted 10 March 2011 - 03:00 PM
I know much about it as you do, it may be wise to look up some documentation on creating ActiveX controls in C#, there should be a few tutorials on the web.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#7
Posted 10 March 2011 - 03:08 PM
alright thanks alot... huge help!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









