-
Is this a question about InfoPath? If so, I don't understand exactly what you are trying to accomplish.
-
If you are using InfoPAth 2003:
var wshShell = new ActiveXObject("Wscript.Shell");
var wshEnv = wshShell.Environment("Process");
var username = wshEnv.Item("UserName");
If you are using InfoPath 2007, the user name is built in. For example:
* Insert a text box.
* Right-click the text box and choose ...
-
Great! Glad to have helped!
-
Thanks... the image doesn't help much though.
What you really need to do is open the GetUserInfo.xml file that is part of your form template. If you are using Visual Studio, close the manifest.xsf file, and then you can open this XML file. If you are directly in the InfoPath designer, then export your form files (File menu) and you can get to ...
-
Great! Glad to have helped.
I don't recall where I picked up that little tidbit, but it's a great one to have in your arsenal.
-
There is no code. You simply right-click the drop-down list box control in the view, choose Properties, and then set it up to pull its options from your secondary data source. That's it.
-
Great! Glad you were able to get some help. Yes, David knows Russian and is a great contact for you.
Babelfish has come a long way. It isn't good enough to translate a novel, but it gets close enough to get the idea across.
-
tns is not a DOM, it is a namespace prefix that you want to define for the DOM you want to do your selections from.
Also, your definition seems wrong... it seems unlikely that "?WSDL" is part of your definition. It looks more like you are providing a web service url rather than a namespace definition. The definition must match EXACTLY ...
-
Great! Glad to have helped!
-
"eventObj" is for script. Managed code (C#, VB) uses "e".
Try e.Source