473,788 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exposing A Windows From In A Web Form User Control


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="Ord erEntry.ascx.cs "
Inherits="WPS.T P.OM.Controls.O rderEntry"
TargetSchema="h ttp://schemas.microso ft.com/intellisense/ie5" %>
<FORM id="Form1" method="post" runat="server">
<P>
<OBJECT id="OrderEntry " data="data:appl ication/x-oleobject;base6 4,IGkzJfkDzxGP0 ACqAGhvEzwhRE9D VFlQRSBIVE1MIFB VQkxJQyAiLS8vVz NDLy9EVEQgSFRNT CA0LjAgVHJhbnNp dGlvbmFsLy9FTiI +DQo8SFRNTD48SE VBRD4NCjxNRVRBI Gh0dHAtZXF1aXY9 Q29udGVudC1UeXB lIGNvbnRlbnQ9In RleHQvaHRtbDsgY 2hhcnNldD13aW5k b3dzLTEyNTIiPg0 KPE1FVEEgY29udG VudD0iTVNIVE1MI DYuMDAuMjgwMC4x NDAwIiBuYW1lPUd FTkVSQVRPUj48L0 hFQUQ+DQo8Qk9EW T4NCjxQPiZuYnNw OzwvUD48L0JPRFk +PC9IVE1MPg0K"
classid="http:O rderEntry.DLL#W PS.TP.OrderEntr y.OrderEntry" VIEWASTEXT>
</OBJECT>
</P>
</FORM>
Nov 16 '05 #1
0 1168

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2314
by: Tim Haughton | last post by:
I've just released an article on using Test Driven Development with C# and Windows Forms. GUI's are often difficult to test, so I thought it might be of interest. The article along with the example source code can be downloaded here: http://www.blogitek.com/timhaughton/archives/files/User%20Interrogator%20And%20TDD.zip The article text is below. Not sure what it will do to the formatting when
3
14164
by: Chris | last post by:
Hi, I'm trying to append text from another class to a generic richTextBox that I've added to a Windows form. I can't seem to figure out how to expose the richTextBox to append text to it. Thanks in advance, Chris
14
1826
by: RL Stevenson | last post by:
What is a reasonable way to manage a complex form with 5 or so tabs with 100 or more controls bound to 5-10 tables in a database? Pasting all those controls, datasets, data adapters directly onto the form resulted in an unwieldy file of nearly 10,000 lines of code. Seems like there must be a better way.
1
1219
by: Jason | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkwalkthroughcreatingwebusercontrols.asp Following the above example I created a usercontrol and added it to another web form MyPage.aspx. Then I added code to declare the user control as instructed in the above article: ' Visual Basic menu as a user control Public Class MyPage Inherits System.Web.UI.Page Protected WithEvents Label1 As...
5
2698
by: pberna | last post by:
Dear all, I built a Web Form application to start and stop a Windows Service remotely. I successful tested the application on Windows 2000 server + IIS. I must include the ASPNET user to the Administration group (on server side) to have the necessary authorization to start a Windows Service (I don't understand why "Power User" rights are not enough to do the same thing) Although I'm able to start a service using windows 2000 server...
1
1537
by: Mian Mahboob | last post by:
Nicholas Paldino in my application a have an Windows form on that i place an Panel Control. in Form load event i ganerate an Form in Panel Control on Runtime then get an design time create user-control (textbox, 2 buttons) in Runtime Form Runtime Form may be contain more then 1 same or difreant User Controls. i want to get all the User controls on that Runtime Form as i can use that
2
1577
by: Yuk Tang | last post by:
I've satisfactorily got an axwebbrowser control on a form within a panel, suitably positioned and sized, and now I want to display a webpage on it. This is not normally a problem when I have the control as a uniquely named object, since I would just use the axweb.Navigate or Navigate2 method to send it to the right page. However, it's part of a controls collection, accessible only via its place in the collection.
9
12853
by: mohit.akl | last post by:
Hey guys & gals I am havng trouble modifying the control box. I want to make the maximise button invisible and have minimisise button instead of it. Like this _ X (not like _ o X ) How to do this... and eventually i want to modify the control box in the form of ? _ X ... I.e. adding a new button to control box. I need to detect the click events.
3
6723
by: John | last post by:
Hi. I have a number of batch jobs that are ran nightly on our Windows 2000 based Oracle 8.1.7 (soon to be 9i) server. I have these designed just right, so the Windows Scheduled Tasks runs them and then a parser goes through the output and, in case of errors, sends me a page... The database is our financial system which requires users to login using Oracle based user ID / Password.
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10366
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.