goraperas

goraperas

  • NA
  • 56
  • 0

How to use openFileDialogs in ASP.NET web applications

Mar 18 2005 6:09 AM
How to use openFileDialogs (or similar) in ASP.NET web applications Hi, I would like to open a Word document in my ASP.NET web application. Actually I can do it by using a string with the fileName, but I would like a dialog to appear in the screen so that the user can select the document. I tried to use the built-in dialog boxes of the Word reference, like described in: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wrcore/html/wrtskhowtousebuilt-indialogboxesinword.asp but I obtained an error when I try to execute: Word.Dialog dlg = Global.wordApp.Dialogs[Word.WdWordDialog.wdDialogFileNew]; Anybody knows which is the problem with the previous sentence, or if there is in the WebForms something similiar to the openFileDialogs of the WinForms?? Thanks, goraperas