INTERACT FORUM
Windows => Plug-in Development => Topic started by: John Gateley on January 23, 2006, 12:30:22 pm
-
Hi Y'all,
I just updated the Automation(Interface) SDK document. Let me know if you find any problems...
j
-
Hi Y'all,
I just updated the Automation(Interface) SDK document. Let me know if you find any problems...
j
what was changed?
-
I added some previously undocumented functions...
j
-
Is the MC TLB file still the same?
-
Is the MC TLB file still the same?
i think that is updated allready, when you update your version of MC
-
Thanks for the update! Just one correction (so far ;D):
In the Out-of-proc initialization (VB) example, you need an "On Error" statement, e.g.,
Private Sub Form_Load()
' First try to get an already running object
On Error Resume Next
Set myobj = GetObject(, "MediaJukebox Application")
If Err.Number = 429 Then
'Then, create a new object
Set myobj = CreateObject("MediaJukebox Application")
End Sub
Thanks for the update!
-
Thanks for the update! Just one correction (so far ;D):
In the Out-of-proc initialization (VB) example, you need an "On Error" statement, e.g.,
Private Sub Form_Load()
' First try to get an already running object
On Error Resume Next
Set myobj = GetObject(, "MediaJukebox Application")
If Err.Number = 429 Then
'Then, create a new object
Set myobj = CreateObject("MediaJukebox Application")
End Sub
Thanks for the update!
Yes we talked about this before the VB6 sample has a problem, if you don't put a on error resume the project will stop running.
-
Does the GetObject ever return successfully for
any one at the moment?
I don't have VB6 installed at present,
but I can't get this to work under any other language.
-
Thanks PollyQ, it's fixed.
j
-
Does the GetObject ever return successfully for
any one at the moment?
This is working for me using VB .NET 2003.
-
Intriguing,
Cheers I'll take another look.
-
I see you've added a function string MJPlaylistAutomation::Get(string bstrProperty). No properties are listed, and I'm not really sure what these are. Can you give us an example of a property name? Thanks.
-
Hi Zoner,
Property names are up to you, for whatever you want to associate with a playlist. We recommend using names like "Zoner: MyProperty" to avoid accidental conflict with other properties.
j
-
Ah, ok. So by default, a playlist has no properties, unless some other SDK user has added some?
-
And system properties, which are not available for general consumption...
j