Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / June 2004

Tip: Looking for answers? Try searching our database.

Please suggest.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MS - 23 Jun 2004 13:47 GMT
We have developed a custom form for a workflow application using MS outlook
2000 with SP1 & Backend Mail server as MS Exchange 2000 with SP4

The application(Request Request Form) works perfectly fine on Service pack
1.

But the Same application does not work on MS Outlook 2000 with Service pack
3

The following is the flow of the application.

1.The initiator request for a leave to his Superior
2.The Superior either accepts the request or reject it.

The application works just fine till the initiator sends the request to the
approver/Superior.
But once superior gets the request, we have provided a custom button on a
form to accept/reject the request and
send one copy to the initiator and another copy of the same form to a
"Static ID" for storage purpose.

To make one more copy (Object) of the form, we are using
following code in outlook:

Set MyFolder = Application.GetNameSpace
("MAPI").GetDefaultFolder(6)
Set MyItem = MyFolder.Items.Add("IPM.Note.Leave Request")
Set ItmTRDesk = Application.CreateItem(0)

With MyItem
.To = Item.UserProperties("From")
.UserProperties("Name") = Item.UserProperties("Name")
.UserProperties("Empno")=Item.UserProperties("Empno")
.UserProperties("Designation")=Item.UserProperties
("Designation")
.UserProperties("Dept")=Item.UserProperties("Dept")
.UserProperties("Level")=Item.UserProperties("Level")
.UserProperties("TelNo")=Item.UserProperties("TelNo")
.send
Item.close 1
end with

After installing the Service pack 3, now if we click on the
Send command button, nothing happens. The application does not even generate
any error message.

Please suggest.
Ken Slovak - [MVP - Outlook] - 23 Jun 2004 14:13 GMT
See http://www.slipstick.com/outlook/esecup/admin.htm for your options.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> We have developed a custom form for a workflow application using MS outlook
> 2000 with SP1 & Backend Mail server as MS Exchange 2000 with SP4
[quoted text clipped - 43 lines]
>
> Please suggest.
Sue Mosher [MVP-Outlook] - 23 Jun 2004 14:45 GMT
If the form doesn't run code after you have sent or saved an item using the
form, you probably have done something to "one-off" the form. Outlook 2003,
Outlook 2002, Outlook 2000 SP2 and Outlook 2000 or 98 with the Email
Security Update will not run code on one-off forms; see
http://www.outlookcode.com/d/secforms.htm for more information on this
issue.

To ensure that a form does not one-off:

-- Make sure the "Send form definition with item" box on the (Properties)
tab of the form is *not* checked. [1]

-- For in-house corporate use with Exchange Server, publish the form to the
Organization Forms library or a public folder's forms library, as
appropriate for your application.

-- For collaboration via the Internet, publish your form to your Personal
Forms library. Save it as an .oft file and send it to other people who need
to use it with instructions to publish it with the same form name that you
used.

Many other things can cause one-off forms. If the above steps don't work on
a new item created with your form, see
http://www.slipstick.com/dev/formpub.htm#oneoff for other possible causes.

[1] Whenever you publish a message form, Outlook will suggest that you may
want to check the "Send form definition with item" box to ensure that the
recipient will have the form, especially if you're sending to someone via
the Internet. In the current Outlook security environment, this suggestion
is obsolete. Ignore it unless your form has no code behind it.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> We have developed a custom form for a workflow application using MS outlook
> 2000 with SP1 & Backend Mail server as MS Exchange 2000 with SP4
[quoted text clipped - 43 lines]
>
> Please suggest.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.