In article <cuent09aqd5341vphk7os1itv9faflpvc3@4ax.com>,
han@sen.se
says...[color=blue]
> I'm creating a dll that I want to use from word.
>
> The setup copies dll to program folder and registers the dll in the
> GAC. This all seems to work fine (file gets copied and registered in
> GAC).
>
> In word I register the dll in my vba project (tick it in the register
> dialog for my dll - which now refers to the mydll.tlb) and try to run
> the dll like this:
>
> sub main()
> set t = createobject("mydll.mydll")
>
> Running the code gives me the error:
>
> Run-time error '429':
> ActiveX component can't create object
>
> I get the same error if I use:
> set t = new mydll.mydll
>
> (when I do the above "new mydll.mydll" I get the mydll reference in
> the intellisense, so it must be registered somehow...)
>
> The dll runs just fine from my development pc. It's only on new
> machines I get the error.
>
> What could I be doing wrong?
>
> Morten
>[/color]
I am having the exact same issue with a dll that I created for use with
Access. I hope someone has an answer.