View Single Post
  #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

Ads