![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I have created a new form which I want to post into a public folder. I also
want it e-mailed to specific e-mail addresses. Is there any way to allow this to happen? I have created the form as a "message class" to overcome this problem but it doesnt appear to be very user friendly as the users need to navigate the menus to access the form. It would be neat if I could achieve this function using the "post class" for the form as I could then set the defalt post for that folder as my new form. It appears you cannot do this with a form that has a "message class". Cheers, Dino |
Ads |
#2
|
|||
|
|||
![]()
I have assigned a button and am trying to attach some VBScript? code to move
a form to a specific folder then send the e-mail on to the adressee's. The code I have used is: Sub Submit_Click() Dim objNS Set objNS = Application.GetNamespace("MAPI").Folders("TEST Folder") ' "TEST Folder" is a folder in my Mailbox at the same level as the Inbox Move objNS send() End Sub The error message i am getting states that "The operation failed. An object could not be found" Is this telling me I have not specified the location correctly or have I done something else wrong. My code seems to agree with examples I have found on teh web. I appreciate your help. "Dino" wrote: I have created a new form which I want to post into a public folder. I also want it e-mailed to specific e-mail addresses. Is there any way to allow this to happen? I have created the form as a "message class" to overcome this problem but it doesnt appear to be very user friendly as the users need to navigate the menus to access the form. It would be neat if I could achieve this function using the "post class" for the form as I could then set the defalt post for that folder as my new form. It appears you cannot do this with a form that has a "message class". Cheers, Dino |
#3
|
|||
|
|||
![]()
This statement would get a store (pst file, mailbox, etc.) with the name "TEST Folder")
Set objNS = Application.GetNamespace("MAPI").Folders("TEST Folder") "TEST Folder" is a folder in my Mailbox at the same level as the Inbox 1) Return the Inbox with Namespace.GetDefaultFolder. 2) Return the Parent of the Inbox that's the root of the default information store. 3) Your "TEST Folder" is in the Folders collection of #2: Set objInbox = Application.Session.GetDefaultFolder(olFolderInbox ) Set myFolder = objInbox.Parent("TEST Folder") -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Dino" wrote in message ... I have assigned a button and am trying to attach some VBScript? code to move a form to a specific folder then send the e-mail on to the adressee's. The code I have used is: Sub Submit_Click() Dim objNS Set objNS = Application.GetNamespace("MAPI").Folders("TEST Folder") ' "TEST Folder" is a folder in my Mailbox at the same level as the Inbox Move objNS send() End Sub The error message i am getting states that "The operation failed. An object could not be found" Is this telling me I have not specified the location correctly or have I done something else wrong. My code seems to agree with examples I have found on teh web. I appreciate your help. "Dino" wrote: I have created a new form which I want to post into a public folder. I also want it e-mailed to specific e-mail addresses. Is there any way to allow this to happen? I have created the form as a "message class" to overcome this problem but it doesnt appear to be very user friendly as the users need to navigate the menus to access the form. It would be neat if I could achieve this function using the "post class" for the form as I could then set the defalt post for that folder as my new form. It appears you cannot do this with a form that has a "message class". Cheers, Dino |
#4
|
|||
|
|||
![]()
Hi Sue,
Would this change if I made the store location a sub-folder of my Inbox? "Sue Mosher [MVP-Outlook]" wrote: This statement would get a store (pst file, mailbox, etc.) with the name "TEST Folder") Set objNS = Application.GetNamespace("MAPI").Folders("TEST Folder") "TEST Folder" is a folder in my Mailbox at the same level as the Inbox 1) Return the Inbox with Namespace.GetDefaultFolder. 2) Return the Parent of the Inbox that's the root of the default information store. 3) Your "TEST Folder" is in the Folders collection of #2: Set objInbox = Application.Session.GetDefaultFolder(olFolderInbox ) Set myFolder = objInbox.Parent("TEST Folder") -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Dino" wrote in message ... I have assigned a button and am trying to attach some VBScript? code to move a form to a specific folder then send the e-mail on to the adressee's. The code I have used is: Sub Submit_Click() Dim objNS Set objNS = Application.GetNamespace("MAPI").Folders("TEST Folder") ' "TEST Folder" is a folder in my Mailbox at the same level as the Inbox Move objNS send() End Sub The error message i am getting states that "The operation failed. An object could not be found" Is this telling me I have not specified the location correctly or have I done something else wrong. My code seems to agree with examples I have found on teh web. I appreciate your help. "Dino" wrote: I have created a new form which I want to post into a public folder. I also want it e-mailed to specific e-mail addresses. Is there any way to allow this to happen? I have created the form as a "message class" to overcome this problem but it doesnt appear to be very user friendly as the users need to navigate the menus to access the form. It would be neat if I could achieve this function using the "post class" for the form as I could then set the defalt post for that folder as my new form. It appears you cannot do this with a form that has a "message class". Cheers, Dino |
#5
|
|||
|
|||
![]()
"store" = .pst file, Exchange mailbox, etc.
You cannot make a store a subfolder of anything. If you make the TEST folder a subfolder of the Inbox, then of course the code to access it changes. You wouldn't need to use the Parent of the Inbox. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Dino" wrote in message ... Hi Sue, Would this change if I made the store location a sub-folder of my Inbox? "Sue Mosher [MVP-Outlook]" wrote: This statement would get a store (pst file, mailbox, etc.) with the name "TEST Folder") Set objNS = Application.GetNamespace("MAPI").Folders("TEST Folder") "TEST Folder" is a folder in my Mailbox at the same level as the Inbox 1) Return the Inbox with Namespace.GetDefaultFolder. 2) Return the Parent of the Inbox that's the root of the default information store. 3) Your "TEST Folder" is in the Folders collection of #2: Set objInbox = Application.Session.GetDefaultFolder(olFolderInbox ) Set myFolder = objInbox.Parent("TEST Folder") "Dino" wrote in message ... I have assigned a button and am trying to attach some VBScript? code to move a form to a specific folder then send the e-mail on to the adressee's. The code I have used is: Sub Submit_Click() Dim objNS Set objNS = Application.GetNamespace("MAPI").Folders("TEST Folder") ' "TEST Folder" is a folder in my Mailbox at the same level as the Inbox Move objNS send() End Sub The error message i am getting states that "The operation failed. An object could not be found" Is this telling me I have not specified the location correctly or have I done something else wrong. My code seems to agree with examples I have found on teh web. I appreciate your help. "Dino" wrote: I have created a new form which I want to post into a public folder. I also want it e-mailed to specific e-mail addresses. Is there any way to allow this to happen? I have created the form as a "message class" to overcome this problem but it doesnt appear to be very user friendly as the users need to navigate the menus to access the form. It would be neat if I could achieve this function using the "post class" for the form as I could then set the defalt post for that folder as my new form. It appears you cannot do this with a form that has a "message class". Cheers, Dino |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Send an email when a post item is posted to a particular folder | [email protected] | Outlook and VBA | 1 | September 18th 06 08:29 PM |
Send Function Stopped Working | B17 | Outlook Express | 5 | June 22nd 06 03:22 PM |
How to bookmark or send copy of a particular post | sheana | Outlook Express | 1 | June 22nd 06 01:25 AM |
Send From function in Outlook 2003 | cruwyser | Outlook - General Queries | 1 | May 24th 06 01:52 PM |
OE very slow to send post in MS newsgroups | Gordon | Outlook Express | 4 | April 29th 06 08:06 AM |