ah right yes alright *logically* its an odd thing to do BUT technically why doesn't it work - its a valid property it should simply return a string value and it doesn't MetaFrameWinSrvObject = 1 _____ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Joe Shonk Sent: 10 February 2005 23:32 To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: MFCom Wierdness What exactly are you trying to do? You're providing the ServerName (strHostName) and then immediately trying to query it? That doesn't make sense. Also what is the value of MetaFrameWinSrvObject? Joe _____ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Andrew Wood Sent: Thursday, February 10, 2005 10:07 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] MFCom Wierdness 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