473,757 Members | 10,754 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hosting WinForm control loacted on different Web Server than the ASP.net application

hi all,

I developed a winform control and succeeded in hosting it in my ASP.Net
application, I used the default way which is installing my winform
control in the same directory of my ASP.Net application and referencing
it in my code this way:

<object id="_container_ OBJECT" width="100%" height="98%"
classid="http:s omefolder/MyControl.dll#N amesapace.Contr olCalss">

But it fails to load the control when I try to reference the control
using full web address like this:

<object id="_container_ OBJECT" width="100%" height="98%"
classid="http://myserver/virtualdirector y/somefolder/MyControl.dll#N amesapace.Contr olCalss">

I can't find the problem, let's say that I want to reference a
winform control located on a different web server for example, is this
possible and how?

Dec 12 '05 #1
1 1405
damn it!!!

i finally found it, have anyone ever know that the classid attribute
has a limit!!!

when i use a full address the classid value will be too long and for
some reason the IE don't accept it and it won't load the control.

Dec 12 '05 #2

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

Similar topics

1
1833
by: Ray | last post by:
Hi I need to access an access db via php. My hosting provider is using php version 4.3.10 on a windows 2003 platform. I think that php was installed with the Plesk for windows package/control panel. The scripts work on my dev box (winxp with iis5) but yet when I upload the scripts to my hosting provider I get the following error
0
2330
by: charbonneau | last post by:
I need to develop a WinForm application which can play .mp3 music files stored on another machine on a LAN. This applicaiton needs to run on servaral different client machines at the same time. I want to have complete control over the UI - no visibly embedded Media Player if possible. I also need to be able to programatically stop/play/pause/resume/change volume/change songs. Any ideas on how to do this? Do I need some sort of...
0
2933
by: Cenray | last post by:
How to generate a web request from a Winform Application using a WebService? In a C# Windows Application, when I try to genrate a web request using the following code, it is woking fine Winform code --------------- Browser.DocumentHTML = ""; string HTMLData="";
2
1334
by: dejavue82 | last post by:
Dear ASP.net programmers, I was wondering about the following: 1) Do hosts automatically support all of the .NET framework? (ex. System.Image) 2) If one rents a dedicated server, does one have full control over it? (ie. one can install any 3rd part component such a ASP Turbine 7)
3
1671
by: Ben R. | last post by:
When you host a winforms control in IE using the object tag, do you need to be serving the control from ISS? If so, why? I would think that activation happens entirely on the client side so you wouldn't need any extra processing on the server side? -Ben
10
2428
by: Benton | last post by:
Hi there, I have a UserControl with a couple of textboxes and a couple of buttons ("Save" and "Cancel"). The Click event for this buttons is in the UserControl's codebehind of course, so here's my question. Once the UserControl is dropped onto the container page, how can I perform some action on the codebehind of the container page from the codebehind of the UserControl? For instance, suppose that the UserControl is dropped inside one...
14
2668
by: Monty | last post by:
Hello, I have created a solution which has both a web UI and a winform UI, the latter is just for administrators. The Web UI (a Web Application Project) and the winform project both reference the same BLL in a separate assembly, and I have all three projects in a single solution file for development, with the two UI's each having a project reference to the BLL assembly. I created a Setup and Deployment package for the winform app...
4
1753
by: Peted | last post by:
Hi, this prob isnt the right forum but i got no response from the other forums so i hope someone can point me in the right direction. I know you can write a custom control in C# and host that control in a web browser, but it requires that control be served from a actuall sever and downloaded to the client machine for use.
7
1773
by: Michel Couche | last post by:
Hello, I am working on a project for a potential customer. The project will basically involve an ASP.Net 2.0 application and a database (ideally MS SQL). The customer has already a hosting plan but it does not currently include a MS SQL database. This option is offered as a rather expensive add-on (600 US $ /year). If we need cost saving, I could offer to set-up a MS SQL 2005 DB on my own
0
9298
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
9737
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8737
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
7286
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
6562
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5172
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
5329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3829
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
3
3399
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.