Hosting a windows control in a web form
Can anyone help in this matter? Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Windows Forms General. Sign in to vote. Step-By-Step this is what i have done. Friday, November 23, AM. Hi, I finally made it work. Thanks, Ravi. Thursday, December 6, AM. What would be the details of "could not get it to work"? Error messages of any kind? Does the object appear but doesn't work, or does it appear at all? Please explain how you determine it doesn't work.
The problem is I cannot find the control loaded but a missing image icon is seen. Do I need to add something more? Could anyone help me with this please?? Many Thanks!!!! Thanks for the link. The link just explains how to host a windows control and I have already done all of that.
As of now I need to know whether we have to write any code in aspx page to display the win control?? The content you requested has been removed. Ask a question. As i know the client just has to "trust" the website you are connecting to. Since this is "ActiveX" Hi, Nice artical for hosting windows control in web page. But suppose if i have multiple frameworks installed on the client system say 1.
My control is created using framework 1. So when i try to access my control on client system, control is getting invoked under framework 2.
So any idea, how can we control this. Regards, Harry. I have created a simple Windows Control Lib, and put it in a web page. It works OK. But, when I modified the Lib dll, the web page can't display the control any more. Any one know the solution? Hello, I will repeat the Caru question because I have the exact same thought Thanks Eric Ouellet. Hi, It's working fine for me. But i tried with another example.
Because for me if click the login button, the MDI form comes seperate window. Hi all, I have one problem, When I do my Windows User Control I need add one external DLL for display some medical image, compile my project and genereted the dll, so, This dll export to my Web Application and creat with tag but this object not show in my IE, I guess that is for the DLL external, but i do not know include this dll, any idea for this problem??
In my cache only download WindowsFormsControlLibrary1. Regards Sorry with my english. I also added app. Now i am calling this DLL in the web application. Everything is working fine. But now i want to read the appName. Any idea will be more helpfull as i need it very urgently.
Thanks for the information to clear the download cache! I have another question.. How can I host a 3rd party Windows Form Control in a web page? I added the reference onto the web page but it doesn't work. Any ideas? Hi Ravi, remember that the control runs on the client side, so you can't access the SqlServer on the server side.
Its good to know these. Or it will be executed on Server Mahine??? Plz Response Thanks in advance That's great Those programs are data collector and bar code readers, so I want to load them when my page is loading in browser. I have got my it through a vb script code but it is restricted due to security settings. So my customer demands that it must be automated. Now I m searching for a perfect Solution.
If u have any Idea regarding to this, kindly share it Can we do that we develop a control library and we write a function in that library for executing programs using shell And finaly we use that function to execute a program on client machine??? It would be great if we could use the Windows Form to Interface to an asp. I tried to run it on my local PC development web server Windows XP, VS , no positive results: It displays a blank box sometimes it looks like "image not loeaded box" when the CAS access rights are not set the right way; sometimes it looks like a "blank textarea".
NET Framework 2.
0コメント