D
David Hampson
Here's some background:
I've created some VBScript on a web page that takes a path to a form in the
Public Folders, parses it out, traverses the folders to the one containing a
form, and then opens the form.
For those who have tried to do this and failed, I don't have the code in
front of me (I'm at home, can't get to newsgroups directly at work) but I
pass the path as a string with ^s as separators (Because hopefully nobody
names a Public Folder with a ^ in it) like this:
"Public Folders^Folder1^Folder2^Folder3^FormName"
I then split that into an array, and use a For Next loop to the UBound -1 to
traverse the folders.
I then open the Form using mailitem = folder.items.add("IPM.Note." &
Array(Ubound(Array)))
This works great, IF the user has this form installed in their Outlook. If
not, they get a standard blank e-mail message.
What I need is code to install the form locally before it tries to open it.
I did some Google searches at work today, and found a couple of snippets,
but couldn't really translate that into what I needed.
Any ideas?
Thanks,
Dave Hampson
P.S. If anyone wants the VBScript that parses the Path to open a form buried
inside Public Folders, let me know, I can mail it home and post it.
I've created some VBScript on a web page that takes a path to a form in the
Public Folders, parses it out, traverses the folders to the one containing a
form, and then opens the form.
For those who have tried to do this and failed, I don't have the code in
front of me (I'm at home, can't get to newsgroups directly at work) but I
pass the path as a string with ^s as separators (Because hopefully nobody
names a Public Folder with a ^ in it) like this:
"Public Folders^Folder1^Folder2^Folder3^FormName"
I then split that into an array, and use a For Next loop to the UBound -1 to
traverse the folders.
I then open the Form using mailitem = folder.items.add("IPM.Note." &
Array(Ubound(Array)))
This works great, IF the user has this form installed in their Outlook. If
not, they get a standard blank e-mail message.
What I need is code to install the form locally before it tries to open it.
I did some Google searches at work today, and found a couple of snippets,
but couldn't really translate that into what I needed.
Any ideas?
Thanks,
Dave Hampson
P.S. If anyone wants the VBScript that parses the Path to open a form buried
inside Public Folders, let me know, I can mail it home and post it.