If I am going to edit a file that exists in my project through a *modal* interface such as a wizard, and I find it is not in the
Running Document Table, is the 'best practice' approach that I should still load it into the RDT and then edit it, or can I just
edit the file directly from the file system and save it back?
Cheers,
Stuart
Hi Stuart,
Loading the document into RDT is the standard approach, it lets the other
entities in the IDE use the RDT to obtain information about that document.
But there is no guideline on this, in my opinion it just depends on your
requirement. If it is enough for your project to use a "modal" interface to
manipulate one document, it also would be OK.
Thanks!
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Stuart Carnie - 26 Apr 2006 16:54 GMT
Thanks for the reply.
If the document is already in the RDT, I use it from there for my modal UI. I make sure I synchronize the buffer if the wizard
makes changes to it. However since the dialog is modal, I figured it wasn't necessary to load the doc into the RDT, since no
other UI was active to load it.
Cheers,
Stuart
Gary Chang[MSFT] wrote:
> Hi Stuart,
>
[quoted text clipped - 16 lines]
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
"Gary Chang[MSFT]" - 27 Apr 2006 04:12 GMT
That's OK, Stuart.
Have a nice day!
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.