How to execute Events on Infopath Forms from another Project in C#?? - InfoPath Dev
in

InfoPath Dev

How to execute Events on Infopath Forms from another Project in C#??

Last post 08-18-2010 04:24 PM by Cast_Away. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-18-2010 11:53 AM

    How to execute Events on Infopath Forms from another Project in C#??

     Hi, I am new to InfoPathForms development and got stuck in various problem.

    I have written a simple InfoPath form with a single button on it in Visual Studio 2008 with C#. Now, I have to write a test case, that validates when button is clicked something is returned back. Let's assume when button is clicked, "Hello Word" is printed.

    My problem is:
    1) How Can i execute Button Click Event from Unit Test Project on InfopathForm Project?
    2) How do i pass back the value generated from button Click to Test project.?

    I am not able to add add reference of InfopathForm Project to my test project. Also When i add reference of Test Project into InfopathForm project, it gives me "Assembly generation failed -- Referenced assembly "Test" does not have a strong name".

    I am completely messed up. This might be because this is first time I am doing something on InfopathForms.

    Any help or suggestion would let me out from this problem and at least complete my work in time.

    Thanks in advance!

     

  • 08-18-2010 04:24 PM In reply to

    Re: How to execute Events on Infopath Forms from another Project in C#??

     Anybody plz?

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.