Advertisement
Advertisement
| 03.09.2008 at 02:42PM PDT, ID: 23227101 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: |
private void ViewDocument(string viewingFileNameExt)
{
switch (viewingFileNameExt)
{
case ".pdf": Response.ContentType = "Application/pdf";
break;
case ".txt": Response.ContentType = "text/plain";
break;
case ".jpg": Response.ContentType = "image/JPEG";
break;
case ".gif": Response.ContentType = "image/GIF";
break;
case ".doc": Response.ContentType = "Application/msword";
break;
case ".xls": Response.ContentType = "Application/x-msexcel";
break;
case ".ppt": Response.ContentType = "application/vnd.ms-powerpoint";
break;
case ".pps": Response.ContentType = "application/vnd.ms-powerpoint";
break;
case ".pptm": Response.ContentType = "application/vnd.ms-powerpoint.presentation.macroEnabled.12";
break;
case ".pptx": Response.ContentType = "application/vnd.openxmlformats-officedocument.presentationml.presentation";
break;
case ".xlsm": Response.ContentType = "application/vnd.ms-excel.sheet.macroEnabled.12";
break;
case ".xlsx": Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
break;
case ".docm": Response.ContentType = "application/vnd.ms-word.document.macroEnabled.12";
break;
case ".docx": Response.ContentType = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
break;
}
Response.WriteFile(hostedSubFolderLocation + "\\" + hostedFileName);
Response.End();
}
|
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 03.09.2008 at 02:58PM PDT, ID: 21082879 |
| 03.09.2008 at 03:43PM PDT, ID: 21083019 |
| 03.09.2008 at 04:03PM PDT, ID: 21083068 |
1: |
Page.ClientScript.RegisterStartupScript(GetType(), "test", "window.open('" + hostedSubFolderLocation + "','Height=300px,Width=700px,menubar=No,toolbar=no,scrollbars=yes');");
|
| 03.10.2008 at 03:00AM PDT, ID: 21085056 |
| 03.12.2008 at 01:22AM PDT, ID: 21103878 |
| 03.12.2008 at 02:35AM PDT, ID: 21104159 |
| 03.12.2008 at 03:12PM PDT, ID: 21111338 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: |
private void ViewDocument(string viewingFileNameExt)
{
switch (viewingFileNameExt)
{
case ".pdf": Response.ContentType = "Application/pdf";
break;
case ".txt": Response.ContentType = "text/plain";
break;
case ".jpg": Response.ContentType = "image/JPEG";
break;
case ".gif": Response.ContentType = "image/GIF";
break;
case ".doc": Response.ContentType = "Application/msword";
break;
case ".xls": Response.ContentType = "Application/x-msexcel";
break;
case ".ppt": Response.ContentType = "application/vnd.ms-powerpoint";
break;
case ".pps": Response.ContentType = "application/vnd.ms-powerpoint";
break;
case ".pptm": Response.ContentType = "application/vnd.ms-powerpoint.presentation.macroEnabled.12";
break;
case ".pptx": Response.ContentType = "application/vnd.openxmlformats-officedocument.presentationml.presentation";
break;
case ".xlsm": Response.ContentType = "application/vnd.ms-excel.sheet.macroEnabled.12";
break;
case ".xlsx": Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
break;
case ".docm": Response.ContentType = "application/vnd.ms-word.document.macroEnabled.12";
break;
case ".docx": Response.ContentType = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
break;
case ".tif": Response.ContentType = "image/tiff";
break;
case ".tiff": Response.ContentType = "image/tiff";
break;
}
Page.ClientScript.RegisterStartupScript(GetType(), "test", "window.open('" + hostedSubFolderLocation + "\\" + hostedFileName + "','_blank','Height=400,Width=700,menubar=No,toolbar=no,scrollbars=yes');");
//Response.WriteFile(hostedSubFolderLocation + "\\" + hostedFileName);
//Response.End();
}
|
| 03.12.2008 at 04:01PM PDT, ID: 21111692 |