Passing params to COM object

From: Date: Wed, 24 Sep 2003 13:43:37 +0000
Subject: Passing params to COM object
Groups: php.windows 
Request: Send a blank email to php-windows+get-21536@lists.php.net to get a copy of this message
I have a line of VB code here that I need to write the equivalent in PHP: objSession.Logon ProfileName:=pName I tried: $objSession->Logon->ProfileName("pName"); $objSession->Logon(ProfileName:=pName); $objSession->Logon("ProfileName:=pName"); $objSession->Logon("ProfileName:='pName' "); All generate errors. I'm so close but I need to be able to switch profiles dynamically so this is vital. Any ideas? suggestions? Thanks, Ron

« previous php.windows (#21536) next »