Want to edit the Places Bar of Save As dialog box
I am trying to open up a "Save As dialog box" in word using c#. I can open the dialog box fine, but i need to modify the Places Bar. I want to remove everything except My Network Places from the Places Bar. anybody please help me out.
Microsoft.Office.Interop.Word.Application wordap = applicationObject as Microsoft.Office.Interop.Word.Application;
Microsoft.Office.Interop.Word.Dialog oDlg = wordap.Dialogs[Microsoft.Office.Interop.Word.WdWordDialog.wdDialo gFileSaveAs];
object[] oArgs = new object[1];
oArgs[0] = (object)@"test.doc";
oDlg.GetType().InvokeMember("Name", BindingFlags.SetProperty, null, oDlg, oArgs); its working for "Name" , fine.
Here similarly if i do like- InvokeMember("Places bar", indingFlags.SetProperty, null, oDlg, oArgs);
its not working. how can i modify the links on Places Bar???
please help me with this. :(
thanks a lot.
|