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

C#

 
GeneralRe: Message Box Pin
Paul Conrad13-Jan-08 6:35
professionalPaul Conrad13-Jan-08 6:35 
GeneralRe: Message Box Pin
Ravi Bhavnani13-Jan-08 8:08
professionalRavi Bhavnani13-Jan-08 8:08 
Generalsocket suggestion Pin
engsrini12-Jan-08 13:16
engsrini12-Jan-08 13:16 
GeneralRe: socket suggestion Pin
Jacob Dixon12-Jan-08 16:18
Jacob Dixon12-Jan-08 16:18 
GeneralDetecting if a "Using" directive is not available in different computers Pin
yoavyoavyoav12-Jan-08 10:26
yoavyoavyoav12-Jan-08 10:26 
GeneralRe: Detecting if a "Using" directive is not available in different computers Pin
Colin Angus Mackay12-Jan-08 11:07
Colin Angus Mackay12-Jan-08 11:07 
GeneralRe: Detecting if a "Using" directive is not available in different computers Pin
PIEBALDconsult13-Jan-08 4:05
mvePIEBALDconsult13-Jan-08 4:05 
GeneralRe: Detecting if a "Using" directive is not available in different computers Pin
yoavyoavyoav13-Jan-08 4:24
yoavyoavyoav13-Jan-08 4:24 
Thanks for your reply.

Unfortunatly , I Do want to provide a logic for my application so If excel is installed , it will do one thing , and if not - another thing (the application is a reporting tool that generates CSV files).

The only way I found to call to Excel from within my .Net app is by using the COM interop (It's my first time using COM interops). If excel is installed it works well , but if I move my application .exe to another computer and excel is not installed on it - Bam and the application crashes when I press the button that displays excel from within my app.

I've tried protecting the code block that calls the excel interops with try-catch , but it didn't work (the exception was not caught in my " Catch(Exception ex) " for some reason.

I do need a solution for this problem so I'll appreciate any reply.

(I've seen some stuff around the web with using the COM interop with late\early binding - anyone care to explain and will it solve my problem ?)

Thanks.
GeneralRe: Detecting if a "Using" directive is not available in different computers Pin
PIEBALDconsult13-Jan-08 13:28
mvePIEBALDconsult13-Jan-08 13:28 
GeneralRe: Detecting if a "Using" directive is not available in different computers Pin
yoavyoavyoav13-Jan-08 19:22
yoavyoavyoav13-Jan-08 19:22 
GeneralRe: Detecting if a "Using" directive is not available in different computers Pin
PIEBALDconsult14-Jan-08 4:24
mvePIEBALDconsult14-Jan-08 4:24 
GeneralRe: Detecting if a "Using" directive is not available in different computers [modified] Pin
yoavyoavyoav14-Jan-08 4:29
yoavyoavyoav14-Jan-08 4:29 
GeneralRe: Detecting if a "Using" directive is not available in different computers Pin
mav.northwind15-Jan-08 1:30
mav.northwind15-Jan-08 1:30 
GeneralDatabase... Problems with a textbox converting.. Pin
Jacob Dixon12-Jan-08 4:57
Jacob Dixon12-Jan-08 4:57 
GeneralRe: Database... Problems with a textbox converting.. Pin
Colin Angus Mackay12-Jan-08 5:03
Colin Angus Mackay12-Jan-08 5:03 
GeneralRe: Database... Problems with a textbox converting.. Pin
Jacob Dixon12-Jan-08 10:05
Jacob Dixon12-Jan-08 10:05 
GeneralRe: Database... Problems with a textbox converting.. Pin
Jacob Dixon12-Jan-08 10:23
Jacob Dixon12-Jan-08 10:23 
GeneralRe: Database... Problems with a textbox converting.. Pin
Colin Angus Mackay12-Jan-08 11:06
Colin Angus Mackay12-Jan-08 11:06 
GeneralRe: Database... Problems with a textbox converting.. Pin
Jacob Dixon12-Jan-08 11:16
Jacob Dixon12-Jan-08 11:16 
GeneralRe: Database... Problems with a textbox converting.. Pin
Gareth H12-Jan-08 12:57
Gareth H12-Jan-08 12:57 
GeneralRe: Database... Problems with a textbox converting.. Pin
Jacob Dixon12-Jan-08 16:01
Jacob Dixon12-Jan-08 16:01 
GeneralRe: Database... Problems with a textbox converting.. Pin
Colin Angus Mackay12-Jan-08 22:50
Colin Angus Mackay12-Jan-08 22:50 
GeneralRe: Database... Problems with a textbox converting.. Pin
Colin Angus Mackay12-Jan-08 22:57
Colin Angus Mackay12-Jan-08 22:57 
GeneralRe: Database... Problems with a textbox converting.. Pin
Jacob Dixon13-Jan-08 9:15
Jacob Dixon13-Jan-08 9:15 
GeneralRe: Database... Problems with a textbox converting.. Pin
Colin Angus Mackay13-Jan-08 9:46
Colin Angus Mackay13-Jan-08 9:46 

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.