Managed code and scripting

M

Mike B

Is it possible to combine Managed code(VB.NET) and VBscript in one
form?
(background)
I have been working on a form for a while now (first time developling
in IP) and have gotten the form pretty much doing what I wanted it to
do using Vbscript, which is about the extent of my limited programming
knowledge.

When I first started on this form I tried several different ways of
getting user info from AD and found that managed code was the only way
that I was able to succesfully get the info. But, since we did not
have a CA and wanted to use WSS I went down the scripting path with no
AD integration.

Recently we have gotten a CA and I have successfully been able to get a
user name via VBS using WSHNetwork, but I am not able to make a
connection to AD nor use adsysteminfo as I have seen in some posts.
When I attempt to connect to AD I get the error message "ActiveX
component can't create object: 'GetObject'" I have checked my intranet
security settings and do have it set to prompt for unsigned ActiveX
objects and get the error after clicking yes on the message box.

I then took my Certificate, signed the form I developed in VB.NET and
was able to get my userinfo with no problems. So, my question comes
down to this, is it possible to use VB.NET to get the user info on page
load, but use VBscript to perform whatever functions I need it to do
from there on?

THanks.

Mike
 

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