Odd Intellisense/compiler behavior involving a project object

B

B. Chernick

I've just noticed something odd. I wrote a piece of code (Dot Net 2.0
Winforms) a few days ago that simply loads Project through the Interop and
then loads a project. At that time the code was essentially this:

Private aApp As Microsoft.Office.Interop.MSProject.Application
aApp = New Microsoft.Office.Interop.MSProject.Application
rc = aApp.FileOpen(sFullName, False, , , , , , , , QsMSProjectODBC)

This still compiles fine. However when I examine the aApp object through
Intellisense it does not recognize FileOpen. Instead there is something
called FileOpenEx. There are other problems beyond this but I'll address
them in different post.

What's going on here? I do not recall making any major changes or
installations to my pc in the last few days, other than installing Project
2000.
 
B

B. Chernick

Let's cancel this question. I probably had the wrong version of interop
referenced.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top