CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Oct 2008
    Posts
    51

    Windows Form .dll location Affinity

    I have am accessing a control from a web page with the following code.
    Code:
    <object id="theControl" name="theControl" classid="MyControl.dll#MyControlNameSpace.ControlName" width="50" height="100">
    </object>
    if i change the path of the control to /files/MyControl.dll#MyControlNameSpace.ControlName e.g.
    Code:
    <object id="theControl" name="theControl" classid="/files/MyControl.dll#MyControlNameSpace.ControlName" width="50" height="100">
    </object>
    it no longer loads, i just get an placeholder icon in the upper left corner of the space the control would use.

    I have verified that am able to request the control at the new location. if the control is not found all together the space the control would use is entirely blank so it looks like IE sees that something is returned.

    It seems like the Form Object will only load if it is in the same directory as the web page.

    What is causing this? How can I fix this?
    Last edited by ifdef; January 2nd, 2009 at 05:47 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured