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 3 of 6 (51 items) < Previous 1 2 3 4 5 Next > ... Last » Re: Moving focus to conditionally formatted fields Thanks for that. Good to see I'm not alone in this issue. Posted to General (Forum) by DavidCrabbe on 12-01-2005 Moving focus to conditionally formatted fields I'm having some hassles with moving the focus within my InfoPath form in response to user activity. By way of background, there exists a field on the form which contains the monetary cost of an item to be purchased. When the cost is above a certain threshold a purchasing code is to be entered by the user. I have hidden the purchasing code field ... Posted to General (Forum) by DavidCrabbe on 11-28-2005 Re: Closing Form using ActiveWindow.Close() Thanks Franck. My apologies for not being clear, when I try to close the form I am using: thisApplication.ActiveWindow.Close(true); It works fine when InfoPath has focus, but fails when another window has focus. Posted to Code (Forum) by DavidCrabbe on 11-17-2005 Re: Closing Form using ActiveWindow.Close() BTW, it's definitely the thisApplication.ActiveWindow.Close() code that is causing the exception. I've wrapped the code in a try...catch section and can at least trap the error. Posted to Code (Forum) by DavidCrabbe on 11-17-2005 Closing Form using ActiveWindow.Close() I'm wondering if anyone else has encountered an issue with closing forms using C# and thisApplication.ActiveWindow.Close() in particular: My form submits data to a K2 web service and, upon successful submission, displays a dialog box and then exits InfoPath using thisApplication.ActiveWindow.Close(). Unfortunately, if a user decides to change ... Posted to Code (Forum) by DavidCrabbe on 11-17-2005 Re: Beginning coding in Jscript I assume you have the InfoPath SDK, if not then download it from Microsoft:http://www.microsoft.com/downloads/details.aspx?FamilyId=351F0616-93AA-4FE8-9238-D702F1BFBAB4&displaylang=en Posted to Code (Forum) by DavidCrabbe on 11-10-2005 Re: Web Service timed out Hi Anders, Thanks for the suggestion. Unfortunately I've tried setting the Timeout property and the request still times out after around 30 seconds, even though I do the following: // 'GetGroupMembers' web service... adapterWeb = (WebServiceAdapterObject)thisXDocument.DataAdapters[''GetGroupMembers'']; // Set the timeout to be longer for this ... Posted to Web Services (Forum) by DavidCrabbe on 11-10-2005 Re: updating data connections during deployment I've got a fairly ugly solution to your problem but it's the best I've got to offer at the moment (C# code): // // Set the web service URL based upon environment... // WebServiceAdapterObject adapterWeb; // used to reference web service data adapter // 'GetUserData' web service... adapterWeb = ... Posted to Web Services (Forum) by DavidCrabbe on 11-09-2005 Web Service timed out I have a web service which enumerates an Active Directory group with around 90 members. When hosted on my development machine, the web service takes around 4-5 seconds to return. Unfortunately when the web service is hosted on the development virtual server it takes considerably longer and causes the following error: ''InfoPath cannot run the ... Posted to Web Services (Forum) by DavidCrabbe on 11-09-2005 Re: OnSubmitRequest() and web service submission Thanks again, I appreciate your help. K2 is good - although it'd be great if they'd integrate more fully with Visual Studio, the IDE is a little basic for code dev. But I'm picky. :) Posted to Code (Forum) by DavidCrabbe on 11-07-2005 Page 3 of 6 (51 items) < Previous 1 2 3 4 5 Next > ... Last » Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.