[THIN] MFCom Wierdness

  • From: "Andrew Wood" <andrew.wood@xxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 10 Feb 2005 17:06:54 -0000

Hi, 

I've got a script that has the following lines

Set objMetaFrameServer = CreateObject("MetaFrameCOM.MetaFrameServer")
objMetaFrameServer.Initialize MetaFrameWinSrvObject, strHostName

All fine and dandy - but I wanted to then do the following command

objMetaFrameServer.ServerName

And I get an error from vb script says that this isn't a supported
function?!

So I try the following :-

Set x = objMetaFrameServer.ServerName

Then I get an error 'object required : '[string: "SERVERNAME"]'

How can I retrieve that value so I can do something with it?

tia
----------------------------------
Andrew Wood
Sunderland
United Kingdom

Other related posts: