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 / July 2004

Tip: Looking for answers? Try searching our database.

scripting Activex controls contained in form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Weston Weems - 19 Jul 2004 20:49 GMT
Hello, I've done a lot of research via google etc... and seem to be
having some problems...

I've got a signature capture control (specific for the device I am
using) in which I am able to drag and drop on my form. THe problem is
that in the wizard, I cant really bind any properties of the control
to a datasource.

If I can get a reference to the activex control from the JSCRIPT
editor, I can do the rest from there... but to get to that point I am
somewhat lost.

Also, I'll be able t run a function of this activex control to return
a string of text which I want to insert into a field of the db.

Can I preprocess on submit, or is there such a thing as a hidden
field, that I can set the value of from behind?

Thanks in Advance
Weston Weems
Matthew Blain \(Serriform\) - 19 Jul 2004 21:48 GMT
You cannot access the ActiveX control directly because InfoPath works on XML
data by generating, and regenerating, an HTML view. It is the view which
contains an instance ActiveX control. During the process of updating the
view, the ActiveX control may get destroyed and recreated multiple times

An ActiveX control which is not designed for InfoPath can bind one value to
the data. InfoPath adds some interfaces your control can call to access the
InfoPath object model and thus bind to more than one node or otherwise store
the data you need.

--Matthew Blain
http://tips.serriform.com/

> Hello, I've done a lot of research via google etc... and seem to be
> having some problems...
[quoted text clipped - 16 lines]
> Thanks in Advance
> Weston Weems
Weston Weems - 23 Jul 2004 21:38 GMT
I guess that makes sense...  is that how things are going to stay, or
can I expect more functionality in thefuture?

> You cannot access the ActiveX control directly because InfoPath works on XML
> data by generating, and regenerating, an HTML view. It is the view which
[quoted text clipped - 29 lines]
> > Thanks in Advance
> > Weston Weems
 
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.