How can I use the Office file open dialog to select a file for my AddIn?

C

Colbert Zhou [MSFT]

Hello Dave,

We can call Office's Open File Dialog by using Application.Dialogs

Codes:
------------------------------
Word.Dialog dlg = Application.Dialogs[Word.WdWordDialog.wdDialogFileOpen];
object timeout = 0;
dlg.Show(ref timeout);
------------------------------

The corresponding document is available here,
http://msdn.microsoft.com/en-us/library/ahzbkf8e.aspx

Best regards,
Ji Zhou - MSFT
Microsoft Online Community Support
 
D

David Thielen

Asking again - any suggestions?

thanks - dave


Hi;

I want to use the Office FileOpen dialog because it can show
SharePoint documents. Is there a way to use that to select an XML data
file for our AddIn?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
C

Colbert Zhou [MSFT]

Hello Dave,

I replied this thread in the newsgroup webpage. It seemed that you did not
get it from the newsgroup reader?

I am posting the reply in the following,
--------------------------------------------------------
Hello Dave,

We can call Office's Open File Dialog by using Application.Dialogs

Codes:
------------------------------
Word.Dialog dlg = Application.Dialogs[Word.WdWordDialog.wdDialogFileOpen];
object timeout = 0;
dlg.Show(ref timeout);
------------------------------

The corresponding document is available here,
http://msdn.microsoft.com/en-us/library/ahzbkf8e.aspx

Best regards,
Ji Zhou - MSFT
Microsoft Online Community Support

David Thielen said:
Hi;

I want to use the Office FileOpen dialog because it can show
SharePoint documents. Is there a way to use that to select an XML data
file for our AddIn?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
.
-----------------------------------------------------

If you have any further questions on this, just let me know and I will
follow up. :)

Have a nice day!

Best regards.
Ji Zhou - MSFT
Microsoft Online Community Support
 
D

David Thielen

thank you - will try this.


Hello Dave,

I replied this thread in the newsgroup webpage. It seemed that you did not
get it from the newsgroup reader?

I am posting the reply in the following,
--------------------------------------------------------
Hello Dave,

We can call Office's Open File Dialog by using Application.Dialogs

Codes:
------------------------------
Word.Dialog dlg = Application.Dialogs[Word.WdWordDialog.wdDialogFileOpen];
object timeout = 0;
dlg.Show(ref timeout);
------------------------------

The corresponding document is available here,
http://msdn.microsoft.com/en-us/library/ahzbkf8e.aspx

Best regards,
Ji Zhou - MSFT
Microsoft Online Community Support

David Thielen said:
Hi;

I want to use the Office FileOpen dialog because it can show
SharePoint documents. Is there a way to use that to select an XML data
file for our AddIn?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
.
-----------------------------------------------------

If you have any further questions on this, just let me know and I will
follow up. :)

Have a nice day!

Best regards.
Ji Zhou - MSFT
Microsoft Online Community Support


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top