Opening a project from project server

T

Tim Dutton

Hi all,

I am attempting to open a project from project server through a .NET add in

I am calling the FileOpen method (i.e. MyApp.FileOpen("<>\My
Project.Published",Type.Missing,etc)

But keeo getting an error saying that it may be using the wrong account or
is offline.

When i manually click the open toolbar button it no longer displays the list
of projects on the project server and just the my documents directory of my
local hard drive

Does anyone know how to do this

Thanks
 
E

Earl Lewis

Tim,

Not that this is an answer but maybe some consolation. I've always had problems getting the FileOpen method to work when connected to project server. The method fires and works fine. My problem is that the Open dialog box doesn't fully paint. Everything is there. You can click in the list and a project name will appear, you can click on the bottom where the buttons should be and they suddenly appear. Bottom line is that this operation is a little buggy for some reason. Anyone have any ideas for us?

Earl
Hi all,

I am attempting to open a project from project server through a .NET add in

I am calling the FileOpen method (i.e. MyApp.FileOpen("<>\My
Project.Published",Type.Missing,etc)

But keeo getting an error saying that it may be using the wrong account or
is offline.

When i manually click the open toolbar button it no longer displays the list
of projects on the project server and just the my documents directory of my
local hard drive

Does anyone know how to do this

Thanks
 
E

Ed Morrison

You must first connect to the server. See the attached links for more info.


http://office.microsoft.com/en-us/assistance/HP010558681033.aspx
http://support.microsoft.com/default.aspx?scid=kb;en-us;308409


--
Ed Morrison
msProjectExperts
"We wrote the books on Project Server"
http://www.msprojectexperts.com
FAQ - http://www.projectserverexperts.com



Earl Lewis said:
Tim,

Not that this is an answer but maybe some consolation. I've always had
problems getting the FileOpen method to work when connected to project
server. The method fires and works fine. My problem is that the Open dialog
box doesn't fully paint. Everything is there. You can click in the list and
a project name will appear, you can click on the bottom where the buttons
should be and they suddenly appear. Bottom line is that this operation is a
little buggy for some reason. Anyone have any ideas for us?
 
E

Earl Lewis

Ed,

Although appreciated, neither of those articles applies to my circumstance. My procedure runs on demand only, well after project has started and connected to the server. It does not involve any kind of startup switches/scripting/methods. My project instance is clearly connected to the server and I still have problems with FileOpen. Any other ideas?

Earl
You must first connect to the server. See the attached links for more info.


http://office.microsoft.com/en-us/assistance/HP010558681033.aspx
http://support.microsoft.com/default.aspx?scid=kb;en-us;308409


--
Ed Morrison
msProjectExperts
"We wrote the books on Project Server"
http://www.msprojectexperts.com
FAQ - http://www.projectserverexperts.com



Earl Lewis said:
Tim,

Not that this is an answer but maybe some consolation. I've always had
problems getting the FileOpen method to work when connected to project
server. The method fires and works fine. My problem is that the Open dialog
box doesn't fully paint. Everything is there. You can click in the list and
a project name will appear, you can click on the bottom where the buttons
should be and they suddenly appear. Bottom line is that this operation is a
little buggy for some reason. Anyone have any ideas for us?
 
T

Tim Dutton

I finally found the fix for this all you have to do in the FileOpen method
is add <>\ to the start of the filename

So the code is FileOpen("<>\My Test Project.Published")

T

Earl Lewis said:
Ed,

Although appreciated, neither of those articles applies to my
circumstance. My procedure runs on demand only, well after project has
started and connected to the server. It does not involve any kind of startup
switches/scripting/methods. My project instance is clearly connected to the
server and I still have problems with FileOpen. Any other ideas?
 
E

Earl Lewis

Tim,

That has always worked for me, IF I wanted to open a specific project. But I don't. I want the dialog to open so I can select a project at runtime.

Earl
I finally found the fix for this all you have to do in the FileOpen method
is add <>\ to the start of the filename

So the code is FileOpen("<>\My Test Project.Published")

T

Earl Lewis said:
Ed,

Although appreciated, neither of those articles applies to my
circumstance. My procedure runs on demand only, well after project has
started and connected to the server. It does not involve any kind of startup
switches/scripting/methods. My project instance is clearly connected to the
server and I still have problems with FileOpen. Any other ideas?
 

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

Top