I'm getting some unusal behaviour now!
I have built a simple usercontrol in visual studio.net. I then embedded the usercontrol on a web page that is part of my intranet. When I navigate to that web page from an XP machine, the usercontrol downloads to my machine correctly. On the NT machine, I've installed the .NET framework, and tried to test my embedded usercontrol. I was surprised that I still can't get the usercontrol to download to the NT machine!
I included it on the html page using:
I've obviously setup the virtual diretory to point to myshare. It's working correctly (as I was able to prove in XP)
By the way, the control only has one button ("Hello World!"), and when it is clicked, it does a msgbox("YES"). The above page works in XP (i.e. I see the control), but when I try to view it from I.E. 6.0 on the NT machine, all I see is a small box with a dot in the middle. It seems as if the control is not being downloaded. I don't believe it is a trust issue (in the I.E. settings, since the control is on the intranet, which allows activex code to come down!)
Does this have something to do with the way I'm programming the usercontrol (it's part of a web control library). The usercontrl is very very simple, with one button, and a msgbox as I stated earlier. It works in XP, but not on NT!
Should I be using a different project? Are there article you think are helpful in creating a usercontrol that will be embedded on web pages.
I'm trying to google on this, but have not been very successful.
Thanks again for all your help
I have built a simple usercontrol in visual studio.net. I then embedded the usercontrol on a web page that is part of my intranet. When I navigate to that web page from an XP machine, the usercontrol downloads to my machine correctly. On the NT machine, I've installed the .NET framework, and tried to test my embedded usercontrol. I was surprised that I still can't get the usercontrol to download to the NT machine!
I included it on the html page using:
Code:
<object id=Mycontrol classid=[URL unfurl="true"]http://myserver/myshare/control.dll#control.control1></object>[/URL]
I've obviously setup the virtual diretory to point to myshare. It's working correctly (as I was able to prove in XP)
By the way, the control only has one button ("Hello World!"), and when it is clicked, it does a msgbox("YES"). The above page works in XP (i.e. I see the control), but when I try to view it from I.E. 6.0 on the NT machine, all I see is a small box with a dot in the middle. It seems as if the control is not being downloaded. I don't believe it is a trust issue (in the I.E. settings, since the control is on the intranet, which allows activex code to come down!)
Does this have something to do with the way I'm programming the usercontrol (it's part of a web control library). The usercontrl is very very simple, with one button, and a msgbox as I stated earlier. It works in XP, but not on NT!
Should I be using a different project? Are there article you think are helpful in creating a usercontrol that will be embedded on web pages.
I'm trying to google on this, but have not been very successful.
Thanks again for all your help