Hey guys... just upgraded to 15 last night. I have always had it (since 12) tied into my home automation through simple VB.NET scripting. Now, with 15, this is failing. The function I use to grab the MC object is:
function chGetMCObj()
dim mcObj
On Error Resume Next
mcObj = GetObject(, "MediaJukebox Application")
If Err.Number = 429 Then
mcObj = CreateObject("MediaJukebox Application")
end if
return mcObj
end function
When I run this, I simply get the error (immediately following the execution of the GetObject statement, it doesn't make it into the "if" statement):
Deleting Variable, Object reference not set to an instance of an object.
The steps I used to upgrade:
- Installed 15 (got libraries converted, tested, etc)
- Uninstalled 14
- Rebooted
- Reinstalled 15 (got the last.fm plugin not found error)
- Rebooted
Everything in 15 is running along fine, but this call to GetObject is still failing. Any ideas?
EDIT: Nevermind for now. Something else is going on here... ran a test and was able to grab the object, however something is failing here. Will need to do more testing. I hadn't changing anything else on the system, except this upgrade, so there may be some other function in the script regarding MC that is actually failing.