Hi Folks,
I have been looking through the PB/Win9 Glossary COM Server sample and would like to call it from Access 2003 if possible. I am having trouble creating the Glossary object in my VBA module. I believe this should be possible but there is a lot of information to take in and I wonder if I have missed something.
I have set up the reference to the .tlb file.
[Access 2003 Module1]... Tools Menu... References Menu...
Available References... List of Glossary Terms and Definitions [Ticked for inclusion]
Location: C:\PBWin90\Samples\Com\Glossary\GlossaryServer.tlb
Language: Standard
The VBA module contains the following sub...
VBA produces the following error when performing the CreateObject...
Run-time error '429':
ActiveX component cannot create object
Has anyone else perhaps called a COM Server from VBA? If so could you offer me some guidance please?
Thanks,
David
I have been looking through the PB/Win9 Glossary COM Server sample and would like to call it from Access 2003 if possible. I am having trouble creating the Glossary object in my VBA module. I believe this should be possible but there is a lot of information to take in and I wonder if I have missed something.
I have set up the reference to the .tlb file.
[Access 2003 Module1]... Tools Menu... References Menu...
Available References... List of Glossary Terms and Definitions [Ticked for inclusion]
Location: C:\PBWin90\Samples\Com\Glossary\GlossaryServer.tlb
Language: Standard
The VBA module contains the following sub...
Code:
Sub Test_Glossary() Dim oGlossary As Object Set oGlossary = CreateObject("Glossary.CGLOSSARY") Set oGlossary = Nothing End Sub
Run-time error '429':
ActiveX component cannot create object
Has anyone else perhaps called a COM Server from VBA? If so could you offer me some guidance please?
Thanks,
David
Comment