J
Jeff Mowatt
I'm writing a program to publish a form and have run into 3 problems with
the code below.
I'm hoping this program will demand no input from the user.
First I find a folder and save in "myid"
oappoint=creatitemfromtemplate("c:\mytemplate")
oform=oappoint.formdescription
oform.name="myformname"
oform.publishform(3, onamespace.getfolderfromid(myid))
Now the problems:
1) My program aborts if I use publishform with values other than 3
2) I get enable/disable macro prompts when publishform appears to work
without an abort.
3) myformname can't be found anywhere when publishform appears to work.
Something missing maybe?
Jeff Mowatt
the code below.
I'm hoping this program will demand no input from the user.
First I find a folder and save in "myid"
oappoint=creatitemfromtemplate("c:\mytemplate")
oform=oappoint.formdescription
oform.name="myformname"
oform.publishform(3, onamespace.getfolderfromid(myid))
Now the problems:
1) My program aborts if I use publishform with values other than 3
2) I get enable/disable macro prompts when publishform appears to work
without an abort.
3) myformname can't be found anywhere when publishform appears to work.
Something missing maybe?
Jeff Mowatt