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.
thank you.
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.
thank you.
Know the answer? Post it. Somebody with the same question will find it here.
anil b8 pointsPosted Aug 26, 2008, 5:01 AM EDT
please help me guys...
thanks a lot in advance...
anil b8 pointsPosted Aug 26, 2008, 11:43 PM EDT
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.wdDialogFileSaveAs]; 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.