-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: veeru43
Message 1 in Discussion
hi,
i have created an add in which can update the HTML and code behind for the page
selected. But how can i save the file without showing a pop up dialog box to
the user. if there is anythign bywhich i can stop the user to respon and
perform operation on his behalf then it will be good. i tried using :
Global.g_objApplicationObject.ActiveDocument.Close(vsSaveChanges.vsSaveChangesYes);
Global.g_objApplicationObject.ItemOperations.OpenFile(
Global.g_objApplicationObject.ActiveDocument.FullName
,Constants.vsViewKindDesigner);
Global.g_objApplicationObject.ExecuteCommand("File.SaveSelectedItems"
,string.Empty); but once i do then the message for detecing the change in
code oustide environment comes adn you have to select yes no cancel. there is
an option in tool->option->docuemnts where ther eis check box stating check for
changes outside environment for loading the changes. if there is a ny way i can
say ok to it without user have to click :yes"
Please help urgent thanks in advance
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]