INTERACT FORUM

Windows => Plug-in Development => Topic started by: Evander on May 06, 2002, 06:08:48 am

Title: Can't create a MJAutomation Object
Post by: Evander on May 06, 2002, 06:08:48 am
Hi. I'm using MJ 8.0.256 with VB 5.0 and I'm trying to create an MJAutomation Object, but without success. This is the fragment of my code:

   Dim mj As Variant
   Set mj = CreateObject("MediaJukebox.MJAutomation")


The Media Jukebox.TLB exists in C:\Arquivos de programas\J River\Media Jukebox, and the all the componets are correctly registered.

Thanks.

Evander - Brazil.
Title: RE:Can't create a MJAutomation Object
Post by: Nikolay on May 06, 2002, 11:57:46 am
Evander,

You can't access MJAutomation this way. See example and Init function implementation, this function is required and as an in parameter it sends the dispatch interface.

Nikolay