nicholas.janssens
2/27/2007 2:18:00 PM
Hi,
Im having a bit of trouble with COM.
I created a VB.NET 2005 DLL for reading specific EventMessages from
the eventlog.
When i reference the dll in VB6 everything works perfectly but when i
try to do the same in vba, im getting
-2147024894 (80070002) when i try to create an object (With both
createobject("xxx.yyy") and New xxx.yyy)
If been searing my **s off but cannot seem to find the solution.
I'm using WinXP Pro SP2 -Office 2003 SP2 and Framework 2.0 (3.0 is
also installed)
I tried sn -R mydll.dll (with success) and gacutil -i mydll.dll (with
success), I can see my assembly in c:\windows\assembly but still vba
won't create an object.
Can anybody help or point me in the right direction.
Tnx,
Jan
PS: I'm a newbie in VB.NET 2005