Click here to Skip to main content
15,917,481 members
Home / Discussions / C#
   

C#

 
AnswerRe: reading a checkbox from another thread Pin
Le centriste2-Apr-09 3:20
Le centriste2-Apr-09 3:20 
AnswerRe: reading a checkbox from another thread Pin
12Code2-Apr-09 4:04
12Code2-Apr-09 4:04 
GeneralRe: reading a checkbox from another thread Pin
Bruce Coward2-Apr-09 4:18
Bruce Coward2-Apr-09 4:18 
AnswerRe: reading a checkbox from another thread Pin
DaveyM692-Apr-09 4:19
professionalDaveyM692-Apr-09 4:19 
QuestionHow to Save Web Page, complete in C# Pin
dataminers2-Apr-09 3:08
dataminers2-Apr-09 3:08 
AnswerRe: How to Save Web Page, complete in C# Pin
fabrice.leal2-Apr-09 4:08
fabrice.leal2-Apr-09 4:08 
GeneralRe: How to Save Web Page, complete in C# Pin
dataminers2-Apr-09 5:41
dataminers2-Apr-09 5:41 
QuestionExcel with Early and LateBinding Pin
MumbleB2-Apr-09 2:20
MumbleB2-Apr-09 2:20 
Hi Guys. I have a slight problem. My application usses EarlyBinding.where I reference Excel 12. Problem I'm having is that most of the machines targeted have Excel 10 or Excel 11 installed so when installing the App or running it I get a GAC error. This I know is that the versions are not backward compatable. My question is, how do I go from earlybinding to LateBinding with as little changes possible. Below I instanciate my Excel Workbook etc. My code is doing loads of stuff and I wouldn't want to rewrite all of it.
Microsoft.Office.Interop.Excel.Application objExcel =
    new Microsoft.Office.Interop.Excel.Application();
objExcel.Visible = false;
Microsoft.Office.Interop.Excel.Workbook objBook =
    objExcel.Workbooks.Add(System.Reflection.Missing.Value);
Microsoft.Office.Interop.Excel.Worksheet objSheet =
    (Microsoft.Office.Interop.Excel.Worksheet)
    objBook.Worksheets.get_Item(1);
Microsoft.Office.Interop.Excel.Range objRange;

Any advice would be appreciated.

Excellence is doing ordinary things extraordinarily well.

AnswerRe: Excel with Early and LateBinding Pin
Pete O'Hanlon2-Apr-09 2:39
mvePete O'Hanlon2-Apr-09 2:39 
GeneralRe: Excel with Early and LateBinding Pin
MumbleB2-Apr-09 2:50
MumbleB2-Apr-09 2:50 
GeneralRe: Excel with Early and LateBinding Pin
Pete O'Hanlon2-Apr-09 3:08
mvePete O'Hanlon2-Apr-09 3:08 
GeneralRe: Excel with Early and LateBinding Pin
MumbleB2-Apr-09 3:21
MumbleB2-Apr-09 3:21 
QuestionTake backup of Outlook message Rules, programatically Pin
ashok_rgm2-Apr-09 1:42
ashok_rgm2-Apr-09 1:42 
QuestionOffice 2007 Pin
Sajjad Leo2-Apr-09 1:07
Sajjad Leo2-Apr-09 1:07 
QuestionRe: Office 2007 Pin
Cracked-Down2-Apr-09 1:41
Cracked-Down2-Apr-09 1:41 
AnswerRe: Office 2007 Pin
Sajjad Leo2-Apr-09 1:52
Sajjad Leo2-Apr-09 1:52 
GeneralRe: Office 2007 Pin
King Julien2-Apr-09 2:17
King Julien2-Apr-09 2:17 
QuestionHow to pass parameters to JavaScript Functions from C#? Pin
codddy2-Apr-09 0:54
codddy2-Apr-09 0:54 
AnswerRe: How to pass parameters to JavaScript Functions from C#? Pin
Pete O'Hanlon2-Apr-09 1:41
mvePete O'Hanlon2-Apr-09 1:41 
GeneralRe: How to pass parameters to JavaScript Functions from C#? Pin
codddy2-Apr-09 3:04
codddy2-Apr-09 3:04 
Questionto increse size of a panel, its override another controls Pin
myms.net2-Apr-09 0:43
myms.net2-Apr-09 0:43 
RantRe: to increse size of a panel, its override another controls Pin
Greg Chelstowski2-Apr-09 0:52
Greg Chelstowski2-Apr-09 0:52 
AnswerRe: to increse size of a panel, its override another controls Pin
Henry Minute2-Apr-09 1:29
Henry Minute2-Apr-09 1:29 
GeneralRe: to increse size of a panel, its override another controls Pin
myms.net2-Apr-09 1:38
myms.net2-Apr-09 1:38 
GeneralRe: to increse size of a panel, its override another controls Pin
Henry Minute2-Apr-09 1:42
Henry Minute2-Apr-09 1: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.