Click here to Skip to main content
15,918,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: Chrome - search from command line? Pin
Alan Burkhart3-Mar-11 7:00
Alan Burkhart3-Mar-11 7:00 
AnswerRe: Chrome - search from command line? Pin
Luc Pattyn3-Mar-11 7:05
sitebuilderLuc Pattyn3-Mar-11 7:05 
GeneralRe: Chrome - search from command line? Pin
Alan Burkhart3-Mar-11 7:22
Alan Burkhart3-Mar-11 7:22 
QuestionModifying the Path Pin
AmbiguousName3-Mar-11 1:17
AmbiguousName3-Mar-11 1:17 
AnswerRe: Modifying the Path [modified] Pin
Luc Pattyn3-Mar-11 1:26
sitebuilderLuc Pattyn3-Mar-11 1:26 
GeneralRe: Modifying the Path Pin
mabo423-Mar-11 1:46
mabo423-Mar-11 1:46 
AnswerRe: Modifying the Path Pin
Luc Pattyn3-Mar-11 2:07
sitebuilderLuc Pattyn3-Mar-11 2:07 
QuestionHow to open an exported file through online docs when the user dont have a appropriate software in his desktop to open the file.. Pin
Rocky233-Mar-11 0:08
Rocky233-Mar-11 0:08 
Hi,

In my application, am exporting the data from Grid to Excel file and save it in My Documents.

If the user dont have Excel installed in his machine, it has to redirect it to google spreadsheet to view the exported file..

Can any one tell me how to do it...


As of now, am displaying a message to the user if he dont have Excel installed in his machine to view the Exported Excel file, i want to replace this by redirecting it to Google spreadsheet to view the exported file, am using a code this code to display message to the user..

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 to view this file", "Liquidity Risk Management");
                        }
                        else 
                        {
                            olx.visible=true;
                        }
                    }

Answerfirst... upload the file... Pin
edgartaor3-Mar-11 2:25
edgartaor3-Mar-11 2:25 
Questioncreate certificates programatically Pin
NarVish3-Mar-11 0:07
NarVish3-Mar-11 0:07 
AnswerRe: create certificates programatically Pin
Eddy Vluggen3-Mar-11 0:16
professionalEddy Vluggen3-Mar-11 0:16 
GeneralRe: create certificates programatically Pin
musefan3-Mar-11 0:27
musefan3-Mar-11 0:27 
GeneralRe: create certificates programatically Pin
Eddy Vluggen3-Mar-11 0:57
professionalEddy Vluggen3-Mar-11 0:57 
AnswerRe: create certificates programatically [modified] Pin
musefan3-Mar-11 0:16
musefan3-Mar-11 0:16 
GeneralRe: create certificates programatically [modified] Pin
NarVish3-Mar-11 0:45
NarVish3-Mar-11 0:45 
QuestionHelp for code Pin
Girish4812-Mar-11 22:19
Girish4812-Mar-11 22:19 
AnswerRe: Help for code Pin
Richard MacCutchan2-Mar-11 23:14
mveRichard MacCutchan2-Mar-11 23:14 
AnswerRe: Help for code Pin
Pravin Patil, Mumbai2-Mar-11 23:31
Pravin Patil, Mumbai2-Mar-11 23:31 
GeneralRe: Help for code Pin
Girish4812-Mar-11 23:41
Girish4812-Mar-11 23:41 
AnswerRe: Help for code [modified] Pin
musefan2-Mar-11 23:38
musefan2-Mar-11 23:38 
GeneralRe: Help for code Pin
Eddy Vluggen2-Mar-11 23:46
professionalEddy Vluggen2-Mar-11 23:46 
GeneralRe: Help for code Pin
musefan2-Mar-11 23:51
musefan2-Mar-11 23:51 
AnswerRe: Help for code Pin
Eddy Vluggen2-Mar-11 23:45
professionalEddy Vluggen2-Mar-11 23:45 
GeneralRe: Help for code Pin
Girish4813-Mar-11 0:01
Girish4813-Mar-11 0:01 
GeneralRe: Help for code Pin
musefan3-Mar-11 0:06
musefan3-Mar-11 0:06 

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.