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 2 of 3 (23 items) < Previous 1 2 3 Next > Debugger.Break() from non-web form Hi, I wanted to debug some code which is called from FormEvents.Loading. So I can't attach a debugger to the infopath instance because the form is already finished loading before I can do it. So I tried using Debugger.Break() and Debugger.Launch() but these are just ignored... Anyone knows what's problem? Thanks, Michael Posted to General (Forum) by michaelr524 on 08-17-2011 Re: Exception.number in 2003 OM = ? in 2007 OM Hi Jim, Thank's for your answer. The exception I get receive is WebException, no ErrorCode property there. I'm actually starting to believe I should use HResult, maybe by getting it through reflection... I've checked the value of HResult in a debugger and the number is close to the number which is handled in the code I'm ... Posted to General (Forum) by michaelr524 on 07-19-2011 Re: Exception.number in 2003 OM = ? in 2007 OM Anyone has any idea? Thanks, Michael Posted to General (Forum) by michaelr524 on 07-17-2011 Exception.number in 2003 OM = ? in 2007 OM Hi, I'm porting forms from 2003 JS API to 2007 C# OM in order to prepare for migration to SP2010. There is some code where the form is submitted, it's wrapped in try-catch and when an exception is caught it's e.number is used for showing the appropriate message to the user. My question is what is the parallel of Exception.number ... Posted to General (Forum) by michaelr524 on 07-13-2011 Re: InfoPath 2007 XmlFormHostItem Dirty Thanks Jimmy!! You've spotted it again. Posted to General (Forum) by michaelr524 on 07-13-2011 Re: InfoPath 2007 XmlFormHostItem Dirty Hi Ted, I will consider that. In the mean time I already found a workaround but it's kinda "Dirty" :) formObject.GetType().GetProperty("Dirty").GetValue(formObject, null); Isn't it strange I can't access it the normal way? Thanks Michae Posted to General (Forum) by michaelr524 on 07-12-2011 InfoPath 2007 XmlFormHostItem Dirty Hi, I've created a C# class library project containing functionality common between forms. I pass there the current form 'this' (XmlFormHostItem) object. Problem is the 'Dirty' property is not available for some reason in the class library project. It is available from the form project (FormCode.cs). Does anyone know how ... Posted to General (Forum) by michaelr524 on 07-12-2011 Re: Service Reference System.Net.WebPermission Hey Jimmy! You are the best! Thanks, Michael Posted to General (Forum) by michaelr524 on 07-05-2011 Service Reference System.Net.WebPermission Hi, I've created a C# Class Library with common classes I'm going to use in all my forms. I've signed the assembly and added [assembly: AllowPartiallyTrustedCallers] to AssemblyInfo.cs. I've created a Web Reference to the List sharepoint service in order to call GetListItems since I didn't manage to call it using ... Posted to General (Forum) by michaelr524 on 07-05-2011 Re: C# code == Full Trust? Hey Jimmy, Sorry, didn't see your message before I posted my last one :) Posted to General (Forum) by michaelr524 on 07-03-2011 Page 2 of 3 (23 items) < Previous 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.