Skip to content

View Control from Application in webpage / internet

Eric

Asked May 5, 2008, 4:38 AM EDT1 answer
Share
LinkedInX

Ok, I thought this was crazy at first, but I have found stuff on the internet and I can take a user control compiled in a dll and have it show up on a webpage.  That was great but what I really need to do is take a control from my exisiting application (complied as exe) and have it show up on a webpage.  I was thinking about trying to put some public GetControl method but then I wasn't sure how I could actually call it from another dll. 

So if I am going the wrong way all together the please let me know.  I am up for anything.  My story is, I have a control which is in my main application (but not compilied on its own dll) which I would like to "shadow" onto a webpage.  This control re-paints every few times a second to appear like a moving graph; which I would need to look the same over the webpage.

Please help or give any suggestions.

 

Eric

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0

    I think if I could find a way to have my htm page call a method from a dll to get the control I would have my answer.  I currently have this in my htm page:

    <object id=t
     classid="http:WebDisplayHolder.dll#WebDisplayHolder.WebDisplayUserControl"
     height=744 width=600 VIEWASTEXT>
    </object>

    But can I add another parameter or something to this object node to call a public function to get the user control?

     

    thanks

    Eric

    0