?MS Project COM Template Won't Compile? 
Author Message
 ?MS Project COM Template Won't Compile?

The Component template form microsoft project that I downloaded from the MS site
won't compile.

Compile Error:

   Object does not source automation events

When I close the message box one of the following lines of code is highlighted in
the Connect.Dsr file,

   WithEvents MenuEventHandler    As Office.CommandBarButton
or
   WithEvents ToolbarEventHandler As Office.CommandBarButton

Has anyone had a similar problem, And/Or does anyone know how to fix it.
Sorry to be flooding the newsgroup, but I'm in a hard place right now if you know
what I mean.

Thanks,
Eddie



Wed, 03 Dec 2003 00:30:32 GMT  
 ?MS Project COM Template Won't Compile?
Check to see that you are referencing Office 9.0 or 10.0.
I seened to have had this problem when referencing Office
8.0
Jack
Quote:
>-----Original Message-----
>The Component template form microsoft project that I

downloaded from the MS site
Quote:
>won't compile.

>Compile Error:

>   Object does not source automation events

>When I close the message box one of the following lines

of code is highlighted in
Quote:
>the Connect.Dsr file,

>   WithEvents MenuEventHandler    As

Office.CommandBarButton
Quote:
>or
>   WithEvents ToolbarEventHandler As

Office.CommandBarButton
Quote:

>Has anyone had a similar problem, And/Or does anyone know
how to fix it.
>Sorry to be flooding the newsgroup, but I'm in a hard

place right now if you know
Quote:
>what I mean.

>Thanks,
>Eddie
>.



Mon, 12 Jan 2004 05:31:27 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Command button won't make use of module driving MS Project from MS Access 2000

2. Project Compiles, Won't Run

3. WNetCOM is a MS OCX to let VB browse network - won't compile

4. Compiled in Win ME won't run in Win98

5. Compiled vb exe's won't run

6. Can't open data control in MS Visual Basic Editor for MS project

7. Why a compiled executable won't run on client's machine

8. Word 2002 Template won't open in Word 2000

9. FileSave macro won't run in template

10. help: Organizer won't copy VBA macro into Word2000 template

11. Template Programming Won't Run From Shortcut

12. Code won't work in template -- please help

 

 
Powered by phpBB® Forum Software