[gme-users] Component: saving project, modifying, reopening

Peter Volgyesi peter.volgyesi at vanderbilt.edu
Thu Jun 17 10:13:16 CDT 2004


 
> Coming back to my previous request, I'll make some more 
> precise questions:
> 1. Is it possible to save the project on disk from an 
> interpreter, like if the Save button or CTRL-S was pressed?
Yes. Use the Save() method on the IMgaProject interface. You can implement a
"save as" functionality with the same method.

> 2. Is it possible to learn from an interpreter which is the 
> .mga file which corresponds to the current project? (the one 
> that is saved to, with CTRL-S)
The ProjectConnStr property of the IMgaProject interface will tell you that.

As I said: there is no way to "load" a new or modified .mga file in your
interpreter.

--
peter



More information about the gme-users mailing list