hi,
Am having infopath form in my local PC and sharepoint on onther server.i hav written code on infopath button click.
while i ran it give following Error
System.IO.FileNotFoundException
Could not load file or assembly 'Microsoft.SharePoint.Library, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
at Final.FormCode.CTRL6_5_Clicked(Object sender, ClickedEventArgs e)
at Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)
at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)
All though i have copyied Sharepoint DLL from sharepoint server to My local PC
Thanks