Infopath Code

E

Eric Dycus

I have started a project using sharepoint 2010 and infopath 2010 that
will allow the user to select there site and drive letter that they
need. I then want the user to click on a button and code will run on
thee computer mapping the drive for them.

I have 3 different methods I have came up with to do this.Will someone
tell me which method is even close to be able to work. The goal is to
help users map there own drives without IT helpdesk getting involved.

Method 1: As soon as the user click the button it kicks off the vb
code in the backgroud (or runs a external process) and maps the users
drive.( Problem I have found with this vb code runs on server and I
haven't found any example code that would get me close)

Method 2: I could after the user hits the button give them a file to
open that is just a vbs script that will map the users drive for them.
(Can someone point to example code to allow this to work?)

Method 3: Display a link on the page for them to click on so the user
can open it and it is a vbs file that would map the drive. (Can
someone point to example code to allow this to work?)


Any help is appreciated.
 

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