Embedding Referenced DLL in VBS Infopath 2003

  • Thread starter Didier Maignan - Interprojet
  • Start date
D

Didier Maignan - Interprojet

Hi
We are developing an infopath form that read and write to MIcrosoft Office
application (Project). The external application is open.

We chosed VBS because We discovered that Javascript does not work properly
in communication with Office VBA (in both ways).
We need now to embed the VBA Office reference into VB script existing code.
ANd we do not know how to do it : "Public function add byval as reference"
does not seems to be documented or even existing.
 
J

Jeff

Did you ever get this figured out? I am trying to do the same thing but cant
figure out how.
 
D

Didier Maignan - Interprojet

Yes, we figured this out by ourselves. We discovered that your errors did not
came from lack of VBA and so on components, but only from security issues :
be on a trusted site, and attribute the 2 low security on this trusted site.
So we published the form with good "components" in the Object Explorer and
adjust the security (and do not activate form merging).
The other solution could have been to use regedit to provide security to
users thru registry.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top