Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 2 (18 items) 1 2 Next > Re: Export method Hi Patrick, Where can i find that code snippet you mentioned? I have tried looking around the site and maybe i have missed it, but i can't seem to find it. cheers Lee Posted to Code (Forum) by Lee on 04-25-2005 Re: Export method Hi, I have now got a work around for this problem as follows: var DECOID = XDocument.DOM.selectSingleNode(''//my:DecoID'').text; XDocument.View.Export(''c:\\DECO '' + DECOID + ''.doc'', ''MHT''); var objApp = new ActiveXObject(''Word.Application''); objApp.Visible = false; objApp.Documents.Open(''c:\\DECO '' + DECOID + ... Posted to Code (Forum) by Lee on 04-22-2005 Re: Export method Hi Patrick, Yes my form is full trust, to test this functionality i had to grant it full trust and then install it as you cannot test full trust functionality just by previewing the form. The way i have done it is that i have a button at the bottom of the form, which, when pressed starts a rule to submit the form to a form library using a data ... Posted to Code (Forum) by Lee on 04-21-2005 Export method Hi I want to programmatically export a form to a document library on a SharePoint installation. At the moment the form throws an error when it gets the exportline in the code. Does the export method support exporting to a network location?? if not is there another way to do it? i am currently using the following line of code to export the ... Posted to Code (Forum) by Lee on 04-18-2005 Current User and full trust Hi, I have a couple of questions. Using JScript how can i ge the username of the user filling out the form? The second question has to do with full trust. There arerr only selected users in out office who have infopath, as such when they submit a form to a form library i want the form to also send a second copy of the form in MHTML to a ... Posted to General (Forum) by Lee on 04-13-2005 Re: Remote Shell call OK, i have finally managed to find out how to do this... var Shell = new ActiveXObject(''WScript.shell''); var strCMD = ''put your command here''; var oExec = Shell.Exec(strCMD); var oExecOut = oExec.StdOut; var input = ''''; input = oExecOut.ReadAll(); in the end it turned out to be quite simple... i just didn't understand WScript very ... Posted to General (Forum) by Lee on 04-12-2005 Re: Remote Shell call OK, so i have managed to figure out how to run the script and command i need, however now i have a bigger problem and i am really stuck on this. the code i used to run the script was this: var Shell = new ActiveXObject(''WScript.shell''); var strCMD = ''rsh machine name -l username java -cp c:\\jdk1.3\\bin GenXMLT \''where bug_id = '' + ... Posted to General (Forum) by Lee on 04-11-2005 Remote Shell call Hi, I have been searching for a while now on how to make remote shell calls from JScript. For the form i am creating at the moment i have an inhouse system that i need to obtain information from, the problem is the only way in is by using a remote shell call. Does anyone know how to do this in JScript. Regards Lee Lee A Newson Posted to General (Forum) by Lee on 04-11-2005 Control Text Size Hi, I am creating a form and using Verdana at size 10. When i use the form (Preview or otherwise) the font in the controls although set to Verdana size 10 like the labels on the form appears bigger and in a bold font... does this sound right? This is slightly annoying as no matter what text size i set for the text in the form the controls ... Posted to General (Forum) by Lee on 04-11-2005 OnFocus event Is it possible to have an onFocus or OnLostFocus event for controls (textbox) in infopath? Cheers Lee Posted to Code (Forum) by Lee on 03-17-2005 Page 1 of 2 (18 items) 1 2 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.