I am trying to provide an alternate front end to our ERP application. This would require accessing the .net dlls from a browser. I thought making a user control to wrap the objects in would work, but I can not get it to display.
I created a usercontrol with a textbox and a button. I then checked the property "Register for COM interop". I used the following code (with the dll copied to the same folder as the html file) but the usercontrol does not display.
I then followed this link Cannot Host .NET User Controls in Internet Explorer and ended up with this:
<OBJECT ID="UserControl1" CLASSID="CLSID:9F769412-6736-39DD-9B29-DEF814E32B26" CODEBASE="rotWI_ShopDataMaintenance.dll#-1,-1,-1,-1" height="300" width="300">
I am currently trying to determine what classid was assigned to my user control. It did get farther, asked me to install something, but again, nothing happened. I changed the classid to one I found in AssemblyInfo.vb but this did not help.
I also tried fully qualifying the name, using a relative path and nothing works. Anyone know what I am doing wrong?