Hi All.
I've been asked to write a .Net assembly that will be accessed from a
couple of VB6 applications and some .ASP pages. I have a few general
type questions if someone could help.
I haven't been programming for long but this looks like a great chance
to earn some dollars and gain a lot of experience. I thought I'd
mention this as I'm assuming my lack of experience will be obvious :-)
Anyway, step one was to test access to the assembly from an asp page.
I created a Class library and used the "Register with COM Interop"
option on the project properties. Sure enough, I could access the test
class from asp using Server.CreatObject("TestDLL.TestClass")
One little problem was that I couldn't rebuild any further changes to
the assembly until I restarted IIS. VStudio couldn't overwrite the dll
as it was in use. Not a big deal really.
I was more interested in why I couldn't find my TestDLL in the
Component services MMC snapin. How it works when it isn't showing up
as a COM object is a bit of a mystery. Can anyone shed any light on
this?
Another issue was that when I reboot my workstation, my asp page could
no longer find the TestDLL. I had to load VStudio 2008 and build the
project again. Was the "Register with COM Interop" just a temorary
registration?