The code you post shows the same issue that I have (Except you cant see it cos the on error stuff).
If i run through the code the first time, it creates the media center app, as it doesn't exist the first time.
If i the run the code again, it works (Because the original media center was opened using the vb app).
however most users wont do this, i need my app to talk to an existing instance of mediacenter.
If i start mediacenter by hand, then run the code it fails to find an instance and errors through to creating a new instance, which also fails. and so the app then wont continue.
FYI, I'm using MC 11. 201, but i get same behaviour on MC10
It seems to me that media center isn't correctly registered in the windows AppROT, hence it cant be found by getObject. When VB creates an instance it registers it automatically, so it can then be used agaion.
RD