Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / November 2005

Tip: Looking for answers? Try searching our database.

InfoPath Help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LSA_Wlainc - 01 Nov 2005 20:42 GMT
I have developed a data entry form using InfoPath version 2003.  I have
merged business logic using Visual Studio 6.0 with the form that pulls data
from our SQL server.  When I am on my development server the application runs
fine; however, when I open the form from a workstation and attempt to
retrieve or send data to my SQL server, I receive the following error:

System.Security.Permissions.SecurityPermission
  at App2565.App2565.GetAccntVal(String var) in
\\Lsasgm01\goldmine\BaseInfoPathCode\2565\App2565\App2565\FormCode.vb:line 114
  at App2565.App2565.CTRL156_4_OnClick(DocActionEvent e) in
\\Lsasgm01\goldmine\BaseInfoPathCode\2565\App2565\App2565\FormCode.vb:line 190
  at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)

When I open the form on the workstation, which does have InfoPath & the VB
6.0 runtime files installed, I receive the following message:

"Visual Studio must be used to add business logic to this form. "

Can anyone help me understand what I need to install or do to resolve this
issue.  I am majorily under the gun to get a solution rolled out by close of
business tomorrow.

Thanks!!
Franck Dauché - 01 Nov 2005 20:51 GMT
Hi,

InfoPath supports scripting (VBScript or JScript) or Managed Code (C# or
VB.Net) from Visual Studio. Net 2003 after you install the toolkit to bridge
IP to VS:
http://www.microsoft.com/downloads/details.aspx?familyid=7E9EBC57-E115-4CAC-9986
-A712E22879BB&displaylang=en


Regards,

Franck Dauché

> I have developed a data entry form using InfoPath version 2003.  I have
> merged business logic using Visual Studio 6.0 with the form that pulls data
[quoted text clipped - 20 lines]
>
> Thanks!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.