Hi, Guys
old topic. I'm still truglling on how to retrieve the Computer user name and
put it into a text box. This's what i did: firstly, creat a text box named
"UserName" udner myfields group. then I put this code in onload event,
"//Retrieve the UserDomain and write it into the my:UserName field
XDocument.DOM.selectSingleNode("/my:myFields/my:UserName").text
= objNetwork.UserDomain; "
It doesn't work!
I have a feeling theris something not right with my namesapce dfinitioon
:XDocument.DOM.setProperty("SelectionNamespaces",
'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-10-24T05:01:13" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"');
can anybody help? thanks in advance
cheers
Anuma(GGK Tech) - 05 Nov 2007 11:23 GMT
Hello,
We are unable to get "objNetwork" in our code. What is "objNetwork"?

Signature
Anuma Reddy
http://www.GGKtech.com
> Hi, Guys
>
[quoted text clipped - 14 lines]
>
> cheers