I developed a form for Outlook with Outlook 2000 and
Windows 2000. When I started the form.oft file everything
worked, i.e. the function Item_Open. But now I'm trying to
open that form with Outlook 2002 and WindowsXP and the
functions won't be called. I have to go to developer mode
of the form and then start the form to see my form work.
What do I have to do, that my form will start immediately
when I do a double-click on the file form.oft?
Would be nice, if you can help me.
Mõbius
"Mõbius" <s_...@freenet.de> wrote in message news:025801c2e0e3$50537540$2f01...@phx.gbl...
Thanks for your help.
Mõbius
------------------
"Mõbius" <s_...@freenet.de> wrote in message news:030601c2e199$6a1433f0$3001...@phx.gbl...
now I have a small Visual Basic program. It contains the
following code:
Private Sub Form_Load()
Set myOlApp = GetObject("", "Outlook.Application")
Set myItem = _
myOlApp.createitemfromtemplate("C:\MyForm.oft")
Set myForm = myItem.formdescription
myForm.Name = "MyForm"
myForm.PublishForm olPersonalRegistry
Unload Me
End Sub
This publishes my form in Outlook under the specified
name. Now I only have to create a shortcut with the
command line "C:\...\outlook.exe" /c "IPM.NOTE.MyForm" and
then I can start my form with a double-click on the
shortcut. Right?
"Mõbius" <s_...@freenet.de> wrote in message news:022301c2e1c4$a80848b0$a101...@phx.gbl...