Re: Re: Outlook problem
- From: Tom Becker <wlkhjdo89ioudh@xxxxxxxxxxx>
- Date: Tue, 07 Mar 2006 16:38:45 -0600
On 7 Mar 2006 08:08:09 -0800, CDMAPoster@xxxxxxxxxxxxxxxx wrote:
Tom Becker wrote:
On 6 Mar 2006 16:56:15 -0800, CDMAPoster@xxxxxxxxxxxxxxxx wrote:
Tom Becker wrote:
On 6 Mar 2006 12:56:02 -0800, CDMAPoster@xxxxxxxxxxxxxxxx wrote:
I'll post the entire list of referenced I used, tonight or tomorrow.
references (my brain was moving faster than my fingers)
After that, if you still have difficulties I'll try to help you findGreat! Thanks! If it worked before there must be a way.
the problem. It has to be something pretty simple.
Here it is (in the order I used):
Visual Basic For Applications
Microsoft Access 9.0 Object Library
Microsoft DAO 3.6 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.1 Library
Microsoft Outlook 9.0 Object Library
Microsoft Office 9.0 Object Library
Microsoft Word 9.0 Object Library
Microsoft Calendar Control 9.0
Microsoft Windows Common Controls 6.0 (SP3)
Microsoft Office Web Components 9.0
Microsoft Forms 2.0 Object Library
LinkDC.adp
James A. Fortune
CDMAPoster@xxxxxxxxxxxxxxxx
Some of them are not on my list of references to select from.
I don't have the calandar control, I doubt if that is the problem.
I don't have Microsoft Windows Common Controls 6.0 (SP3)
(though I do have Service Pack 3 installed)
I don't have Microsoft Office Web Components 9.0
I don't have Microsoft Forms 2.0 Object Library
And I don't have LinkDC.adp
I'm still getting the same error. How did you get those references on
your list?
Automation shouldn't need many references, certainly not anything
special. As to how I got those references it looks like I'll have to
do some investigating. I know I had Enterprise Manager on the original
machine from some kind of MS developer's tools disk. I'll look to see
exactly what disk that was. I think many of the references were put
there automatically when I used various controls. Please post your
code excerpt and appropriate Dim statements. I wanted to make sure it
wasn't a references issue before looking at code. LinkDC.adp was
simply used to link to some hosted SQL Server data.
James A. Fortune
CDMAPoster@xxxxxxxxxxxxxxxx
I copied what you sent before:
Private Sub cmdSendRec_Click()
Dim MyExplorer As Explorer
Dim MyMenuBar As CommandBar
Dim MyMenuBarControl As CommandBarControl
Dim objOutlook As Outlook.Application
Set MyExplorer = objOutlook.ActiveExplorer
MyExplorer.Activate
MyExplorer.WindowState = olMaximized
Set MyMenuBar = MyExplorer.CommandBars.Item("Standard")
Set MyMenuBarControl = MyMenuBar.Controls.Item("Send/Re&ceive")
MyMenuBarControl.Execute
Set MyMenuBar = Nothing
'This needs a reference set to the Outlook Object library.
End Sub
I try this with Outlook already open. The "Receive" part doesn't
look right but I get the error on the first line.
.
- Follow-Ups:
- Re: Outlook problem
- From: CDMAPoster
- Re: Outlook problem
- References:
- Re: Outlook Express
- From: CDMAPoster
- Re: Re: Outlook Express
- From: Tom Becker
- Re: Outlook Express
- From: CDMAPoster
- Outlook problem
- From: Tom Becker
- Re: Outlook problem
- From: CDMAPoster
- Re: Re: Outlook problem
- From: Tom Becker
- Re: Outlook problem
- From: CDMAPoster
- Re: Re: Outlook problem
- From: Tom Becker
- Re: Outlook problem
- From: CDMAPoster
- Re: Outlook Express
- Prev by Date: Re: Newbie question -- need value from form to populate subform and not change
- Next by Date: Re: select all entries in a list box
- Previous by thread: Re: Outlook problem
- Next by thread: Re: Outlook problem
- Index(es):
Relevant Pages
|
Loading