Click here to Skip to main content
15,914,014 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..
i developed windows web-cam application in windows form ( in vb.net).Now the problem is this i want to add to the asp.net web application.
can any help out from this...
Posted

You cannot. Not in any sensible way.

It looks like you have no idea how ASP.NET works. I cannot help you with your confusion because I have no idea what are you missing. Probably you need to understand that APS.NET works on server side. On client side, the client gets pure HTML and does not have to have .NET, hence, you cannot speak of any forms (in the sense of System.Window.Forms) or any other .NET codes. Showing a form on server side would be pointless — the forms are needed for customers, but they all sit on client side.

You may want to start with very basics:
http://www.asp.net/get-started[^].

—SA
 
Share this answer
 
v4
The web applications are restricted on clients and winform application may require lot of system resources.

You can create a windows control and host it in web application, and there were lot of execution permission you will need to take care of.

you can google for "Hosting winform control in asp.net" for what you want to achieve.

the MSDN article taks about the premissions:
http://msdn.microsoft.com/hi-in/magazine/cc301932(en-us).aspx[^]

Hope this will help.

Thanks,
Hemant
 
Share this answer
 
If all you are looking for is the "feel" that your application came from a website, you could look into publishing your app with ClickOnce[^]. It has an option that allows you to run the app on the user's machine without saving shortcuts on the desktop/start menu so when you run it, it feels a bit more like you're just running a component. In the background it is still installing the app as if it's a PC program, just in a temporary folder.

---Update---
Using ClickOnce you can also pass some information from the website to the PC app by using query string parms.
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900