VictorZ
asked on
MicroSoft Project 98
I need to make a DDE With Microsoft Project 98,
I Know that in delphi's menu in project and import the MSPRJ8.OLB
Well The question is if i insert and OLEContainer in the form with a new MSProject and When i add a new Button i can say
ProObject := CreateOleObject('MSPROJECT .APPLICATI ON');
the ProObject is OLEVARIANT
how can i assing the
OleContainer1.OleObject.(' .......... .')
('Here goes some string')
i tried
Application.Project
MsProject.Application
MsProject.Application.
Well
if i do The ProObject Methods there is and error between the Ole And The ProObject
if There is any one that can add Task,Start,Finish, Predesesors, and resources, % Made, to Project
I NEED THE CODE NOT OCX OR OTHER LINKS TO WEB PAGES, OR SOME YOU HAVE TO DO BLA BLA THE CODE. 1000
I NEED TO CONTROL MSPROJECT WITH DELPHI OK NOT WITH OTHER LANGUAJE OR SOME STUPID COMMENTS, CODE CODE OK ...
Hey Okey i had 2 accounts in the old Expets-exchange systems what ever
hack -> i do not belive so
SO HOW WHATS THE POINTS need CODE i will give those points
ProObject is an OleVariant Declared in the public class of the form
when a user press a button i have to assing the ProObject := OleContainer1.Olevariant.. ...
There is in example that come in Delphi that is called ......Delphi\Demo\ActiveX\ OleAuto\Wo rd8\word8a uto.dpr
i have to do something like this but using project and assining new Task, new Resorces , xxxxxx
regards
I Know that in delphi's menu in project and import the MSPRJ8.OLB
Well The question is if i insert and OLEContainer in the form with a new MSProject and When i add a new Button i can say
ProObject := CreateOleObject('MSPROJECT
the ProObject is OLEVARIANT
how can i assing the
OleContainer1.OleObject.('
('Here goes some string')
i tried
Application.Project
MsProject.Application
MsProject.Application.
Well
if i do The ProObject Methods there is and error between the Ole And The ProObject
if There is any one that can add Task,Start,Finish, Predesesors, and resources, % Made, to Project
I NEED THE CODE NOT OCX OR OTHER LINKS TO WEB PAGES, OR SOME YOU HAVE TO DO BLA BLA THE CODE. 1000
I NEED TO CONTROL MSPROJECT WITH DELPHI OK NOT WITH OTHER LANGUAJE OR SOME STUPID COMMENTS, CODE CODE OK ...
Hey Okey i had 2 accounts in the old Expets-exchange systems what ever
hack -> i do not belive so
SO HOW WHATS THE POINTS need CODE i will give those points
ProObject is an OleVariant Declared in the public class of the form
when a user press a button i have to assing the ProObject := OleContainer1.Olevariant..
There is in example that come in Delphi that is called ......Delphi\Demo\ActiveX\
i have to do something like this but using project and assining new Task, new Resorces , xxxxxx
regards
Hmmm... VictorZ == CappucioVictor???
Cheers,
Raymond.
Cheers,
Raymond.
Yup, has to be...
You can also do something like this using the type library:
uses
XXX_TLB;
var
Doc : IDocument;
begin
Doc := CoDocument.Create;
Doc.SomeMethod(Param1, Param2, ...);
.......
uses
XXX_TLB;
var
Doc : IDocument;
begin
Doc := CoDocument.Create;
Doc.SomeMethod(Param1, Param2, ...);
.......
This account has been closed temporarily.
darinw
Customer Service
darinw
Customer Service
No real hack involved. He appears to have broken the agreement he made with us for having one account only.
darinw
Customer Service
darinw
Customer Service
ASKER
Edited text of question.
ASKER
Edited text of question.
I know this is for MSproject 95 but maybe this could be of help:
http://www.djpate.freeserve.co.uk/MSProject95.zip
http://www.djpate.freeserve.co.uk/MSProject95.zip
I don't think you can assign an object that was created with CreateOleObject to an OleContainer.
The only thing I can think of is:
OleContainer1.CreateObject ('MSProjec t.Project' , false);
OleContainer1.DoVerb(ovSho w);
Eps.
The only thing I can think of is:
OleContainer1.CreateObject
OleContainer1.DoVerb(ovSho
Eps.
VictorZ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
OleContainer1.CreateObject