INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Can't create a MJAutomation Object  (Read 1283 times)

Evander

  • Guest
Can't create a MJAutomation Object
« 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.
Logged

Nikolay

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1681
  • Former CTO, JRiver, Inc.
RE:Can't create a MJAutomation Object
« Reply #1 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
Logged
Pages: [1]   Go Up