Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Outlook 2002 does not start modified form

8 views
Skip to first unread message

Mõbius

unread,
Mar 2, 2003, 12:44:02 PM3/2/03
to
Hi folks,

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

Sue Mosher [MVP]

unread,
Mar 3, 2003, 8:04:34 AM3/3/03
to
You will need to publish the form. Outlook 2002 does not run code in unpublished forms. See http://www.slipstick.com/dev/launchform.htm for easy ways to launch published forms without going through the Choose Form dialog.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm


"Mõbius" <s_...@freenet.de> wrote in message news:025801c2e0e3$50537540$2f01...@phx.gbl...

Mõbius

unread,
Mar 3, 2003, 10:27:34 AM3/3/03
to
Well, thanks but this cause another problem. How do I
publish a form automated i.e. during a setup? And to my
other post: You mean, that this macro warning won't appear
if I publish the form?

Thanks for your help.

Mõbius

------------------

Sue Mosher [MVP]

unread,
Mar 3, 2003, 11:15:50 AM3/3/03
to
You can write a small .exe to publish a form using the FormDescription.PublishForm method and have your installer run that .exe. To avoid the macro warning prompt, distribute the form already published to a folder in a .pst file.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm

"Mõbius" <s_...@freenet.de> wrote in message news:030601c2e199$6a1433f0$3001...@phx.gbl...

Mõbius

unread,
Mar 3, 2003, 3:37:06 PM3/3/03
to
Hi,

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?

Sue Mosher [MVP]

unread,
Mar 3, 2003, 5:04:55 PM3/3/03
to
That shortcut should work fine. Your code should set the MessageClass property as well as the display Name. MessageClass would be IPM.Note.MyForm.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm


"Mõbius" <s_...@freenet.de> wrote in message news:022301c2e1c4$a80848b0$a101...@phx.gbl...

joy.s...@gmail.com

unread,
Jun 21, 2012, 1:56:50 AM6/21/12
to
If Outlook works in Outlook Safe Mode then the issue is most likely caused by an add-in. Often, but not always, this is accompanied by an error similar to:
“The add-in <reference to add-in> could not be installed or loaded. This problem may be resolved by using Detect and Repair on the Help menu. Unable to load <reference to add-in dll>.“

You can enable/disable Outlook add-ins in the following locations;

Tools-> Options-> tab Other-> button Advanced E-mail Options…-> button Add-In Manager…/COM Add-ins…

Source: http://www.repairpst.info



0 new messages