![]() |
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'm trying to use an example in the book "outlook programming". I created the
form using the Post template. I have made it as far as creating the "Send request as plain text" control button. But I had to change the computer I was working on. I saved the file as RepairRequest.oft and moved the file to a new computer. I opened it on the new computer. My problem is that when I double click on the "Send request as plain text" control button, it doesn't open a "private sub..." If it did, I have the vb script that is given in the book to complete this form. Thanks |
#2
|
|||
|
|||
![]()
You must publish the form. An .oft file won't run code in current Outlook
versions. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hpoincare" wrote: I'm trying to use an example in the book "outlook programming". I created the form using the Post template. I have made it as far as creating the "Send request as plain text" control button. But I had to change the computer I was working on. I saved the file as RepairRequest.oft and moved the file to a new computer. I opened it on the new computer. My problem is that when I double click on the "Send request as plain text" control button, it doesn't open a "private sub..." If it did, I have the vb script that is given in the book to complete this form. Thanks |
#3
|
|||
|
|||
![]()
Hi Sue,
Love the book. I am trying to mimic your example of a repair request from your book. As I mentioned, I'm having trouble with the "Send as Text" command button. I published the .oft form as you instructed. I then went to Form/design form/Personal Froms library/Repair Form V.3 and tried once again to double click on the command button but with no success - nothing happens. I know there must be some simple facet to this that I'm missing, but what? Do you have any other suggestions about what I might have overlooked? I know how double clicking the command button is supposed to work because I've used it in other examples from the book. Thanks "Sue Mosher [MVP-Outlook]" wrote: You must publish the form. An .oft file won't run code in current Outlook versions. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hpoincare" wrote: I'm trying to use an example in the book "outlook programming". I created the form using the Post template. I have made it as far as creating the "Send request as plain text" control button. But I had to change the computer I was working on. I saved the file as RepairRequest.oft and moved the file to a new computer. I opened it on the new computer. My problem is that when I double click on the "Send request as plain text" control button, it doesn't open a "private sub..." If it did, I have the vb script that is given in the book to complete this form. Thanks |
#4
|
|||
|
|||
![]()
Maybe you're confusing VBA userforms with Outlook custom forms? To enter code
for a Click event for a custom form, in design mode, click the View Code button or command to display the code window, then type in the entire procedure. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hpoincare" wrote: Hi Sue, Love the book. I am trying to mimic your example of a repair request from your book. As I mentioned, I'm having trouble with the "Send as Text" command button. I published the .oft form as you instructed. I then went to Form/design form/Personal Froms library/Repair Form V.3 and tried once again to double click on the command button but with no success - nothing happens. I know there must be some simple facet to this that I'm missing, but what? Do you have any other suggestions about what I might have overlooked? I know how double clicking the command button is supposed to work because I've used it in other examples from the book. Thanks "Sue Mosher [MVP-Outlook]" wrote: You must publish the form. An .oft file won't run code in current Outlook versions. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hpoincare" wrote: I'm trying to use an example in the book "outlook programming". I created the form using the Post template. I have made it as far as creating the "Send request as plain text" control button. But I had to change the computer I was working on. I saved the file as RepairRequest.oft and moved the file to a new computer. I opened it on the new computer. My problem is that when I double click on the "Send request as plain text" control button, it doesn't open a "private sub..." If it did, I have the vb script that is given in the book to complete this form. Thanks |
#5
|
|||
|
|||
![]()
Hi Sue,
I did sucessfully send the form following your advice. But I find the body of the message is not including the fields:information that I entered as it did in the book example. I don't know how much you can help on this because it may be I just need to read more, but maybe you recognize the issue right away and can offer some advice?? Thanks "Sue Mosher [MVP-Outlook]" wrote: Maybe you're confusing VBA userforms with Outlook custom forms? To enter code for a Click event for a custom form, in design mode, click the View Code button or command to display the code window, then type in the entire procedure. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hpoincare" wrote: Hi Sue, Love the book. I am trying to mimic your example of a repair request from your book. As I mentioned, I'm having trouble with the "Send as Text" command button. I published the .oft form as you instructed. I then went to Form/design form/Personal Froms library/Repair Form V.3 and tried once again to double click on the command button but with no success - nothing happens. I know there must be some simple facet to this that I'm missing, but what? Do you have any other suggestions about what I might have overlooked? I know how double clicking the command button is supposed to work because I've used it in other examples from the book. Thanks "Sue Mosher [MVP-Outlook]" wrote: You must publish the form. An .oft file won't run code in current Outlook versions. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hpoincare" wrote: I'm trying to use an example in the book "outlook programming". I created the form using the Post template. I have made it as far as creating the "Send request as plain text" control button. But I had to change the computer I was working on. I saved the file as RepairRequest.oft and moved the file to a new computer. I opened it on the new computer. My problem is that when I double click on the "Send request as plain text" control button, it doesn't open a "private sub..." If it did, I have the vb script that is given in the book to complete this form. Thanks |
#6
|
|||
|
|||
![]()
If you want data in custom fields to appear in the body of a message, then
you need code to take the data from those fields (Item.UserProperties) and concatenate it into a string, which you then use to set the value of the Body property of the outgoing message. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hpoincare" wrote: Hi Sue, I did sucessfully send the form following your advice. But I find the body of the message is not including the fields:information that I entered as it did in the book example. I don't know how much you can help on this because it may be I just need to read more, but maybe you recognize the issue right away and can offer some advice?? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Temporarily reply to a message in Plain Text and not in Rich Text | Singapore Web Design | Outlook Express | 3 | April 1st 08 05:07 PM |
i cant see html on my incoming message (i see only plain text) | Salvatore LaFranca | Outlook - General Queries | 0 | January 23rd 08 07:52 PM |
Sending custom forms as plain text | Obscurr | Outlook - Using Forms | 2 | May 11th 06 05:05 PM |
Plain text message = sideways vertically printing | [email protected] | Outlook - General Queries | 0 | May 1st 06 11:42 PM |
Stationery name appears in plain-text outbound message | Steve H | Outlook Express | 7 | January 26th 06 02:45 AM |