471,071 Members | 1,405 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,071 software developers and data experts.

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:somefolder/MyControl.dll#Namesapace.ControlCalss">

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/virtualdirectory/somefolder/MyControl.dll#Namesapace.ControlCalss">

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 1325
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by dejavue82 | last post: by
reply views Thread by leo001 | last post: by

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.