LOCAL oShell AS "WScript.Shell" >oShell = CREATEOBJECT("WScript.Shell") >oShell.Run("Notepad.exe") >* etc.Naturally, when I was typing the third line, got a list of the PEMs for that object. Later, I opened another program file (without exiting VFP 7) and entered
LOCAL oNet AS "WScript.Network" >oNet = CREATEOBJECT("WScript.Network") >? oNet.UserNameHere, however, instead of getting the PEMs from the Network object, I got the one's from the Shell object, that I'd referenced before. The only work around I've found so far is to exiting VFP.