[JScript] Window ... ? - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) 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 InfoPath Dev » InfoPath » Code » [JScript] Window ... ? [JScript] Window ... ? Last post 02-12-2007 11:32 PM by diaboloche. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 02-12-2007 01:41 AM diaboloche Joined on 10-03-2006 Posts 116 [JScript] Window ... ? Reply Contact Hi, I have an errorfunction CTRL1_5::OnClick(eventObj){ var filename= Window.FileDialog(0,"","c:\\","Text(*.txt)|*.txt||");}Window is undefined...I however recopy this example...http://www.board74.ru/gui_for_script/dialog/file.html 02-12-2007 10:58 AM In reply to Matt Faus Joined on 08-18-2006 Dallas, Texas Posts 1,558 Re: [JScript] Window ... ? Mark as Not AnswerMark as Answer... Reply Contact I'm sure you have to include some references to the correct libraries to get this to work. I could help you with these references if you were doing this with managed code, but I'm not sure exactly how to do this with JScript or if it's even possible. Consider switching to C#. Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge 02-12-2007 11:32 PM In reply to diaboloche Joined on 10-03-2006 Posts 116 Re: [JScript] Window ... ? Mark as Not AnswerMark as Answer... Reply Contact Hi,I do not have the choice... I must make in JScript. I recopy the example well... it is suspect... Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
function CTRL1_5::OnClick(eventObj){ var filename= Window.FileDialog(0,"","c:\\","Text(*.txt)|*.txt||");}