PC Review


Reply
Thread Tools Rate Thread

Adding CommandBars to an Inspector while using Outlook as the editor

 
 
David McNealey
Guest
Posts: n/a
 
      13th Oct 2003
I am having am problem doing this. I am only having this problem when
the email I am reading is of type rtf. When the email is of type plain
text or html, I don't have an issue. The commandbar is created with no
problem.

I am using this line of code:

Inspector.CommandBars.Add('ADXHT_003',msoBarTop,EmptyParam,True);

From doing some research, I understand that adding commandbars while
using Word as your editor is not possible in Outlook 2000. However, I
am testing on Outlook 2002 & 2003.

Any help would be greatly appreciated.
 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      14th Oct 2003
What kind of problem exactly are you having?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"David McNealey" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I am having am problem doing this. I am only having this problem when
> the email I am reading is of type rtf. When the email is of type plain
> text or html, I don't have an issue. The commandbar is created with no
> problem.
>
> I am using this line of code:
>
> Inspector.CommandBars.Add('ADXHT_003',msoBarTop,EmptyParam,True);
>
> From doing some research, I understand that adding commandbars while
> using Word as your editor is not possible in Outlook 2000. However, I
> am testing on Outlook 2002 & 2003.
>
> Any help would be greatly appreciated.



 
Reply With Quote
 
David McNealey
Guest
Posts: n/a
 
      15th Oct 2003
The exact error I get it "Unspecified Error". I know, it tells you a
lot. I know that "GREAT" error message helped me. I alway get upset
when I get back such generic error messages.

Thanks for responding!

"Dmitry Streblechenko" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> What kind of problem exactly are you having?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
>
> "David McNealey" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I am having am problem doing this. I am only having this problem when
> > the email I am reading is of type rtf. When the email is of type plain
> > text or html, I don't have an issue. The commandbar is created with no
> > problem.
> >
> > I am using this line of code:
> >
> > Inspector.CommandBars.Add('ADXHT_003',msoBarTop,EmptyParam,True);
> >
> > From doing some research, I understand that adding commandbars while
> > using Word as your editor is not possible in Outlook 2000. However, I
> > am testing on Outlook 2002 & 2003.
> >
> > Any help would be greatly appreciated.

 
Reply With Quote
 
David McNealey
Guest
Posts: n/a
 
      15th Oct 2003
Reposting what I said in the previous post :

The exact error I get it "Unspecified Error". I know, it tells you a
lot. I know that "GREAT" error message helped me. I alway get upset
when I get back such generic error messages.

Thanks for responding!

In addition, let me restate my Subject. I am having this issue when I
am using Word as my default editor.

(E-Mail Removed) (David McNealey) wrote in message news:<(E-Mail Removed)>...
> The exact error I get it "Unspecified Error". I know, it tells you a
> lot. I know that "GREAT" error message helped me. I alway get upset
> when I get back such generic error messages.
>
> Thanks for responding!
>
> "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> > What kind of problem exactly are you having?
> >
> > Dmitry Streblechenko (MVP)
> > http://www.dimastr.com/
> > OutlookSpy - Outlook, CDO
> > and MAPI Developer Tool
> >
> >
> > "David McNealey" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > I am having am problem doing this. I am only having this problem when
> > > the email I am reading is of type rtf. When the email is of type plain
> > > text or html, I don't have an issue. The commandbar is created with no
> > > problem.
> > >
> > > I am using this line of code:
> > >
> > > Inspector.CommandBars.Add('ADXHT_003',msoBarTop,EmptyParam,True);
> > >
> > > From doing some research, I understand that adding commandbars while
> > > using Word as your editor is not possible in Outlook 2000. However, I
> > > am testing on Outlook 2002 & 2003.
> > >
> > > Any help would be greatly appreciated.

 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      15th Oct 2003
When do you call CommandBars.Add? Note that Outlook caches inspectors, and
the toolbar with the same name can already exist. Before calling
CommandBars.Add, check if it already exists using
CommandBars.Item['ADXHT_003'] (you are using Delphi, right?)

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"David McNealey" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The exact error I get it "Unspecified Error". I know, it tells you a
> lot. I know that "GREAT" error message helped me. I alway get upset
> when I get back such generic error messages.
>
> Thanks for responding!
>
> "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message

news:<(E-Mail Removed)>...
> > What kind of problem exactly are you having?
> >
> > Dmitry Streblechenko (MVP)
> > http://www.dimastr.com/
> > OutlookSpy - Outlook, CDO
> > and MAPI Developer Tool
> >
> >
> > "David McNealey" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > I am having am problem doing this. I am only having this problem when
> > > the email I am reading is of type rtf. When the email is of type plain
> > > text or html, I don't have an issue. The commandbar is created with no
> > > problem.
> > >
> > > I am using this line of code:
> > >
> > > Inspector.CommandBars.Add('ADXHT_003',msoBarTop,EmptyParam,True);
> > >
> > > From doing some research, I understand that adding commandbars while
> > > using Word as your editor is not possible in Outlook 2000. However, I
> > > am testing on Outlook 2002 & 2003.
> > >
> > > Any help would be greatly appreciated.



 
Reply With Quote
 
David McNealey
Guest
Posts: n/a
 
      16th Oct 2003
Yes, I am using Delphi.

I have gone through and checked if the commandbar already exist before
adding it. It does not exist.

After doing some more research, supposedly, doing this is impossible.
I don't know how true this is.

If you have anymore suggestions, please let me know! Thanks for your
help.

Also, let me ask one more question, I am having issues posting a
'FlagRequest' to my mailitem. This only happens when I'm using Word as
my default email editor. This is the strange thing about this, the
actual value for the FlagRequest is set, however, it is not displayed.
If I press the FlagRequest button, I can see the value I set it to.
Once I hit the cancel or ok button, the FlagRequest becomes visible.

Any suggestions?

"Dmitry Streblechenko" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> When do you call CommandBars.Add? Note that Outlook caches inspectors, and
> the toolbar with the same name can already exist. Before calling
> CommandBars.Add, check if it already exists using
> CommandBars.Item['ADXHT_003'] (you are using Delphi, right?)
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
>
> "David McNealey" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > The exact error I get it "Unspecified Error". I know, it tells you a
> > lot. I know that "GREAT" error message helped me. I alway get upset
> > when I get back such generic error messages.
> >
> > Thanks for responding!
> >
> > "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message

> news:<(E-Mail Removed)>...
> > > What kind of problem exactly are you having?
> > >
> > > Dmitry Streblechenko (MVP)
> > > http://www.dimastr.com/
> > > OutlookSpy - Outlook, CDO
> > > and MAPI Developer Tool
> > >
> > >
> > > "David McNealey" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > I am having am problem doing this. I am only having this problem when
> > > > the email I am reading is of type rtf. When the email is of type plain
> > > > text or html, I don't have an issue. The commandbar is created with no
> > > > problem.
> > > >
> > > > I am using this line of code:
> > > >
> > > > Inspector.CommandBars.Add('ADXHT_003',msoBarTop,EmptyParam,True);
> > > >
> > > > From doing some research, I understand that adding commandbars while
> > > > using Word as your editor is not possible in Outlook 2000. However, I
> > > > am testing on Outlook 2002 & 2003.
> > > >
> > > > Any help would be greatly appreciated.

 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      16th Oct 2003
Well, Word Editor is buggy to say the least...

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"David McNealey" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Yes, I am using Delphi.
>
> I have gone through and checked if the commandbar already exist before
> adding it. It does not exist.
>
> After doing some more research, supposedly, doing this is impossible.
> I don't know how true this is.
>
> If you have anymore suggestions, please let me know! Thanks for your
> help.
>
> Also, let me ask one more question, I am having issues posting a
> 'FlagRequest' to my mailitem. This only happens when I'm using Word as
> my default email editor. This is the strange thing about this, the
> actual value for the FlagRequest is set, however, it is not displayed.
> If I press the FlagRequest button, I can see the value I set it to.
> Once I hit the cancel or ok button, the FlagRequest becomes visible.
>
> Any suggestions?
>
> "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message

news:<(E-Mail Removed)>...
> > When do you call CommandBars.Add? Note that Outlook caches inspectors,

and
> > the toolbar with the same name can already exist. Before calling
> > CommandBars.Add, check if it already exists using
> > CommandBars.Item['ADXHT_003'] (you are using Delphi, right?)
> >
> > Dmitry Streblechenko (MVP)
> > http://www.dimastr.com/
> > OutlookSpy - Outlook, CDO
> > and MAPI Developer Tool
> >
> >
> > "David McNealey" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > The exact error I get it "Unspecified Error". I know, it tells you a
> > > lot. I know that "GREAT" error message helped me. I alway get upset
> > > when I get back such generic error messages.
> > >
> > > Thanks for responding!
> > >
> > > "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message

> > news:<(E-Mail Removed)>...
> > > > What kind of problem exactly are you having?
> > > >
> > > > Dmitry Streblechenko (MVP)
> > > > http://www.dimastr.com/
> > > > OutlookSpy - Outlook, CDO
> > > > and MAPI Developer Tool
> > > >
> > > >
> > > > "David McNealey" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > > I am having am problem doing this. I am only having this problem

when
> > > > > the email I am reading is of type rtf. When the email is of type

plain
> > > > > text or html, I don't have an issue. The commandbar is created

with no
> > > > > problem.
> > > > >
> > > > > I am using this line of code:
> > > > >
> > > > > Inspector.CommandBars.Add('ADXHT_003',msoBarTop,EmptyParam,True);
> > > > >
> > > > > From doing some research, I understand that adding commandbars

while
> > > > > using Word as your editor is not possible in Outlook 2000.

However, I
> > > > > am testing on Outlook 2002 & 2003.
> > > > >
> > > > > Any help would be greatly appreciated.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Inspector CommandBars and MS Word =?Utf-8?B?WXVyaSBMb2Jhbg==?= Microsoft Outlook Program Addins 4 12th Jul 2006 06:26 AM
Problem with Inspector CommandBars and MS Word y_loban Microsoft Outlook Program Addins 0 10th Jul 2006 10:11 AM
Inspector.CommandBars and Word Mike Hildner Microsoft Dot NET 0 25th Feb 2006 01:39 AM
Adding CommandBars to an Inspector while using Outlook as the editor David McNealey Microsoft Outlook 6 16th Oct 2003 09:17 PM
Adding CommandBars to an Inspector while using Outlook as the editor David McNealey Microsoft Outlook Discussion 6 16th Oct 2003 09:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:33 AM.