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 / August 2006

Tip: Looking for answers? Try searching our database.

Code Behind not running in browser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mamil@bezeqint.net - 31 Jul 2006 20:41 GMT
Hi Gurus.

I've created a new form in Infopath 2007, and added some code behind
(VB.NET) using VSTA.
The code runs just fine in the IP2007 client, but when displaying it on
the web (from a newly created Form Library in SPS 2007) it looks like
the code does not run.
The form displays just fine, all the fields in place, but no logic was
executed.

I've gone through all the publishing process, approved the form,
uploaded it, activated it and so on.
The form is fully trusted and signed, and the Central Administration's
property page for this form says it has a business logic.

What can be the problem?

Thanks!
MarkA - 01 Aug 2006 09:24 GMT
Memi,

I replied to you in email, but i'll reiterate the solution here for
you.

If you are having problems with the Loading or Submitted events those
work fine for me and I cabn't help you, however if you had problems
with the changed event on a control the following is the solution that
worked for me.

http://groups.google.co.uk/group/microsoft.public.infopath/browse_thread/thread/
4c3ea774df7fbb8c/92e086371bc5d475?lnk=gst&q=changed%20event&rnum=2
&

Cheers,

Mark

> Hi Gurus.
>
[quoted text clipped - 14 lines]
>
> Thanks!
S.Y.M. Wong-A-Ton - 13 Aug 2006 03:39 GMT
Some methods and properties are not available on InfoPath Form Services.
Check out the properties and methods listed with an asterisk (*) on the
"InfoPath 2007 Managed Object Model Poster"
(http://www.microsoft.com/downloads/details.aspx?FamilyId=771AEB45-9D27-4D1F-ACD1
-9B950637D64E&displaylang=en
) to see if you're using them in your code.
---
S.Y.M. Wong-A-Ton

> Hi Gurus.
>
[quoted text clipped - 14 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.