I'm trying to get the current users username during the OnLoad Event but the vbscript is thowing an error saying:
ActiveX component can't create object: 'WScript.Network'
Dim wsh
Set wsh = CreateObject(''WScript.Network'')
un = wsh.UserName
XDocument.DOM.selectSingleNode(''//my:myFields/my:field14'').text = un
any ideas?