|
-
January 18th, 2006, 09:04 AM
#1
VB.NET and MS Project 2000
Hi All,
I have managed to create an MS Project File through vb.net by using the code as below ;
Code:
Dim MSProject
MSProject = CreateObject("MSProject.Application")
This works as MS Project is Installed onto My PC but I would still like it to create the file on machines which do not have MS Project 2000 Installed. Is there a way I can do this as this area is new to me ?
Also does anybody have any links to web pages which have sample VB.net code on using MS Project in VB.NET, I'm struggling with adding Resource / Dependencies etc and could do with some samples.
Ultimately I would like to view the Gantt chart in my application but if I could do this it would be a workaround . . .
Kind Regards Guru's
Ken
-
January 18th, 2006, 11:48 AM
#2
Re: VB.NET and MS Project 2000
No, you need to have MS Project installed on the system in order to do any automation with it. It is not a redistributable dependancy either.
-
January 18th, 2006, 11:52 AM
#3
Re: VB.NET and MS Project 2000
Cheers Rob,
One Question though, how do these Free 3rd Party MS Project Readers manage ro read MSProject files and interpret them with No MS Project installed.
Cheers
Ken
-
January 18th, 2006, 11:58 AM
#4
Re: VB.NET and MS Project 2000
If they are using Project 2002 or 2003 then they may be using the .Interop class of the Office app. It basically lets you package the runtimes legally but it prevents any use or auotmation from outside your app so to speak. If they let you distribute Project then youu could make your own, thus killing the sales for MS Project. The .Interop programibility seems to be a compromise between nothing and everything. 
I have a link in my signature for "Office Programary Interop Assemblies". Everything you need to know about them is in the link at MS.
-
April 8th, 2009, 02:32 AM
#5
Re: VB.NET and MS Project 2000
i do have the same sort of issue. I am using vb.net where i can read and write the tasks, resources into the msproject where as i need to read the working days of the project. Can you let me know as im in a desperate situation..
Thanks in advance..
Maheshkumar B
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|