Click here to Skip to main content
15,740,580 members
Home / Discussions / C#
   

C#

 
AnswerRe: Application freeze Pin
Luc Pattyn28-Feb-11 23:35
sitebuilderLuc Pattyn28-Feb-11 23:35 
GeneralRe: Application freeze Pin
Helfdane28-Feb-11 23:45
Helfdane28-Feb-11 23:45 
AnswerRe: Application freeze Pin
Luc Pattyn1-Mar-11 0:17
sitebuilderLuc Pattyn1-Mar-11 0:17 
GeneralRe: Application freeze Pin
Helfdane1-Mar-11 3:35
Helfdane1-Mar-11 3:35 
GeneralRe: Application freeze Pin
Eddy Vluggen1-Mar-11 0:19
professionalEddy Vluggen1-Mar-11 0:19 
QuestionHow to display Message to the user if he dont have the respective application in his desktop to open the downloaded file.. Pin
Rocky2328-Feb-11 19:47
Rocky2328-Feb-11 19:47 
AnswerRe: How to display Message to the user if he dont have the respective application in his desktop to open the downloaded file.. Pin
Bernhard Hiller28-Feb-11 20:32
Bernhard Hiller28-Feb-11 20:32 
GeneralRe: How to display Message to the user if he dont have the respective application in his desktop to open the downloaded file.. Pin
Rocky2328-Feb-11 22:50
Rocky2328-Feb-11 22:50 
Hi,

Am using the below code to check whether the excel is present in user machine or not...

if (MessageBox.Show(
                        "Data Exported to File " + strFileName +
                        " at location MyDocuments. Do yo want to view the saved file?",
                        "Work Done",
                        MessageBoxButton.YesNo,
                        MessageBoxImage.Information) == MessageBoxResult.Yes)
                    {
Type officeType = Type.GetTypeFromProgID("Excel.Application");
                        
if (officeType == null) 
{
MessageBox.Show("Please Install MS Excel 2007 or above version to view this file", "Liquidity Risk Management"); 
}                      
else 
{ 
oXl.Visible = true; 
}
}


Now, suppose if the user having lesser version of excel like excel 2003,he can able to see the see the file downloaded under the version on excel 2007, means irrespective of the excel version, it has to open the file if the user have a excel installed in his machine..

How to do it...
AnswerRe: How to display Message to the user if he dont have the respective application in his desktop to open the downloaded file.. Pin
_Erik_28-Feb-11 22:47
_Erik_28-Feb-11 22:47 
QuestionWin32_PhysicalMedia Problem Pin
Aisha sharma28-Feb-11 18:04
Aisha sharma28-Feb-11 18:04 
AnswerRe: Win32_PhysicalMedia Problem Pin
RobCroll28-Feb-11 21:21
RobCroll28-Feb-11 21:21 
QuestionWeb Serfer Monitor Pin
Anubhava Dimri28-Feb-11 17:33
Anubhava Dimri28-Feb-11 17:33 
AnswerRe: Web Serfer Monitor Pin
Richard MacCutchan28-Feb-11 23:17
mveRichard MacCutchan28-Feb-11 23:17 
GeneralRe: Web Serfer Monitor Pin
Anubhava Dimri28-Feb-11 23:23
Anubhava Dimri28-Feb-11 23:23 
GeneralRe: Web Serfer Monitor Pin
Richard MacCutchan28-Feb-11 23:51
mveRichard MacCutchan28-Feb-11 23:51 
GeneralRe: Web Serfer Monitor Pin
Dave Kreskowiak1-Mar-11 9:02
mveDave Kreskowiak1-Mar-11 9:02 
Questiondecimal.ToString() mystery [SOLVED] Pin
Super Lloyd28-Feb-11 11:20
Super Lloyd28-Feb-11 11:20 
AnswerRe: decimal.ToString() mystery Pin
Luc Pattyn28-Feb-11 11:38
sitebuilderLuc Pattyn28-Feb-11 11:38 
GeneralRe: decimal.ToString() mystery Pin
Super Lloyd28-Feb-11 11:47
Super Lloyd28-Feb-11 11:47 
AnswerRe: decimal.ToString() mystery Pin
Luc Pattyn28-Feb-11 12:01
sitebuilderLuc Pattyn28-Feb-11 12:01 
GeneralRe: decimal.ToString() mystery Pin
Super Lloyd28-Feb-11 12:09
Super Lloyd28-Feb-11 12:09 
GeneralRe: decimal.ToString() mystery Pin
Super Lloyd28-Feb-11 12:21
Super Lloyd28-Feb-11 12:21 
AnswerRe: decimal.ToString() mystery Pin
Luc Pattyn28-Feb-11 12:41
sitebuilderLuc Pattyn28-Feb-11 12:41 
GeneralRe: decimal.ToString() mystery Pin
V.28-Feb-11 20:35
professionalV.28-Feb-11 20:35 
AnswerRe: decimal.ToString() mystery Pin
Eddy Vluggen28-Feb-11 11:42
professionalEddy Vluggen28-Feb-11 11:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.