By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,460 Members | 1,508 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,460 IT Pros & Developers. It's quick & easy.

Exposing A Windows From In A Web Form User Control

P: n/a

I have windows form user control which I load into the browser via this ascx web user control and it works. The process is explained at this link: http://www.codeproject.com/cs/miscct...wincontrol.asp
Instead of loading the windows form user control I'm trying to load a windows form directly into the web control using the same method, meaning basically replacing in the code below OrderEntry.DLL with OrderEntry.exe

Is this possible? Would the com to net information at this link be workable:
http://builder.com.com/5100-6387-1045393.html

<%@ Control Language="c#" AutoEventWireup="false" Codebehind="OrderEntry.ascx.cs"
Inherits="WPS.TP.OM.Controls.OrderEntry"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<FORM id="Form1" method="post" runat="server">
<P>
<OBJECT id="OrderEntry" data="data:application/x-oleobject;base64,IGkzJfkDzxGP0ACqAGhvEzwhRE9DVFlQR SBIVE1MIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0LjAgVHJ hbnNpdGlvbmFsLy9FTiI+DQo8SFRNTD48SEVBRD4NCjxNRVRBI Gh0dHAtZXF1aXY9Q29udGVudC1UeXBlIGNvbnRlbnQ9InRleHQ vaHRtbDsgY2hhcnNldD13aW5kb3dzLTEyNTIiPg0KPE1FVEEgY 29udGVudD0iTVNIVE1MIDYuMDAuMjgwMC4xNDAwIiBuYW1lPUd FTkVSQVRPUj48L0hFQUQ+DQo8Qk9EWT4NCjxQPiZuYnNwOzwvU D48L0JPRFk+PC9IVE1MPg0K"
classid="http:OrderEntry.DLL#WPS.TP.OrderEntry.Ord erEntry" VIEWASTEXT>
</OBJECT>
</P>
</FORM>
Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.