.net - PrintPreview Window in C# -
    in windows application in .net, need  have print preview option excel file. followings codings.   //excel.application excelapp = new excel.application();           excel.workbook wb = excelapp.workbooks.open(@"c:\\documents , settings \\admin \\desktop \\docomo\\ news5.xls",                        type.missing, type.missing, type.missing, type.missing, type.missing,                         type.missing, type.missing, type.missing, type.missing, type.missing,                         type.missing, type.missing, type.missing, type.missing);         excel.worksheet ws = (excel.worksheet)wb.worksheets[1];         ws.printpreview(type.missing);   the compilation successful. didn't print preview window. there requirement of additional parameters or other. don't know how achieve . please guide me.i great full  our "techies" timely help. from, m.thillai          make sure worksheet has data in it, , make sure visible.