468,247 Members | 1,434 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,247 developers. It's quick & easy.

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 1268
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 NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.