R
Rohim Uddin
Hi Everyone,
I am having a hard time working with Com dll with Word 2003. This is my
first post in this forum and i desperately need help. I thank you in advance.
Scenerio:
I created a Com Class in VB.Net 2.0, which has some public properties,
functions. I use WebClient in the class to download data. I created the setup
using Deployment Wizard containing Test.dll and Test.tlb. I Install it in a
test system and reference the Test.tlb in a word Macro. i can create an
object of my com class. Set a property with text. Display the property in a
msgbox. The Code as follows:
Dim obj As New Testproject.TestClass
obj.MyStr= "The Macro works"
MsgBox (obj.MyStr)
Problems:
When i run the macro it gives me error as:
-2147024894
File or assembly name Testproject, or one of its dependencies, was not found.
Regards
Rohim
I am having a hard time working with Com dll with Word 2003. This is my
first post in this forum and i desperately need help. I thank you in advance.
Scenerio:
I created a Com Class in VB.Net 2.0, which has some public properties,
functions. I use WebClient in the class to download data. I created the setup
using Deployment Wizard containing Test.dll and Test.tlb. I Install it in a
test system and reference the Test.tlb in a word Macro. i can create an
object of my com class. Set a property with text. Display the property in a
msgbox. The Code as follows:
Dim obj As New Testproject.TestClass
obj.MyStr= "The Macro works"
MsgBox (obj.MyStr)
Problems:
When i run the macro it gives me error as:
-2147024894
File or assembly name Testproject, or one of its dependencies, was not found.
Regards
Rohim