A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Sending a plain-text message from a post form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 9th 08, 08:06 PM posted to microsoft.public.outlook.program_forms
hpoincare
external usenet poster
 
Posts: 6
Default Sending a plain-text message from a post form

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
Ads
  #2  
Old September 9th 08, 11:11 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Sending a plain-text message from a post form

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  
Old September 11th 08, 05:25 AM posted to microsoft.public.outlook.program_forms
hpoincare
external usenet poster
 
Posts: 6
Default Sending a plain-text message from a post form

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  
Old September 11th 08, 02:09 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Sending a plain-text message from a post form

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  
Old October 2nd 08, 07:27 PM posted to microsoft.public.outlook.program_forms
hpoincare
external usenet poster
 
Posts: 6
Default Sending a plain-text message from a post form

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  
Old October 2nd 08, 10:29 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Sending a plain-text message from a post form

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??


  #7  
Old October 3rd 08, 09:01 PM posted to microsoft.public.outlook.program_forms
hpoincare
external usenet poster
 
Posts: 6
Default Sending a plain-text message from a post form

-Thanks Sue,

My ultimate goal is a make-shift ticket system. I would like to create a
script that takes the information from the body of the email on the receiving
end and places the information into fields in an MSAccess database.

From your experience, do you think it's possible to create a script that
will run/process the information or text in the body of the received email
and then extract the user entered data?


"Sue Mosher [MVP-Outlook]" wrote:

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??


  #8  
Old October 6th 08, 01:16 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Sending a plain-text message from a post form

A script is not a practical solution. Depending on the scope of your
scenario, VBA code or an add-in would be suitable. See
http://www.outlookcode.com/article.aspx?id=62 for examples of VBA code for
processing incoming messages.
--
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:

-Thanks Sue,

My ultimate goal is a make-shift ticket system. I would like to create a
script that takes the information from the body of the email on the receiving
end and places the information into fields in an MSAccess database.

From your experience, do you think it's possible to create a script that
will run/process the information or text in the body of the received email
and then extract the user entered data?


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 06:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.