Click here to Skip to main content
15,921,959 members
Home / Discussions / C#
   

C#

 
QuestionWorking with Excel Pin
A M SOMAN14-Jun-07 2:47
A M SOMAN14-Jun-07 2:47 
I have a VB 6 code with me. The code is playing with excel. It generates worksheets and adds templates to them, sets cell values, etc. I want to rewrite the entire code into C#.Net. For that I have used Microsoft Excel 11.0 COM reference. (This is same in VB6). The problem is that I cannot find code in C#.Net equivalent to VB6 counterpart. Examples are given below:
oBook.Worksheets("General")
or this
oSheet.Rows(2).Copy oSheet.Rows(i)
There are many examples like this.
Either I don't know how to write this in .Net or there is no equivalent.

Does anybody know, where I can learn how to use Excel in .Net 2003 in good amount of depth so that I can convert any code in VB6 to .Net 2003?

Regards
Anil
AnswerRe: Working with Excel Pin
JoeSharp14-Jun-07 2:55
JoeSharp14-Jun-07 2:55 
GeneralRe: Working with Excel Pin
A M SOMAN14-Jun-07 3:10
A M SOMAN14-Jun-07 3:10 
QuestionDatabinding in FormView Pin
souravmoy sau14-Jun-07 2:30
souravmoy sau14-Jun-07 2:30 
AnswerRe: Databinding in FormView Pin
Deepayan Nandi23-Oct-09 10:36
Deepayan Nandi23-Oct-09 10:36 
QuestionCopy a directory somewhere Pin
Russell'14-Jun-07 1:46
Russell'14-Jun-07 1:46 
AnswerRe: Copy a directory somewhere Pin
Manas Bhardwaj14-Jun-07 1:48
professionalManas Bhardwaj14-Jun-07 1:48 
GeneralRe: Copy a directory somewhere Pin
Russell'14-Jun-07 1:52
Russell'14-Jun-07 1:52 
GeneralRe: Copy a directory somewhere Pin
Giorgi Dalakishvili14-Jun-07 1:55
mentorGiorgi Dalakishvili14-Jun-07 1:55 
GeneralRe: Copy a directory somewhere Pin
Russell'14-Jun-07 2:04
Russell'14-Jun-07 2:04 
GeneralRe: Copy a directory somewhere Pin
Giorgi Dalakishvili14-Jun-07 2:12
mentorGiorgi Dalakishvili14-Jun-07 2:12 
GeneralRe: Copy a directory somewhere Pin
Manas Bhardwaj14-Jun-07 1:59
professionalManas Bhardwaj14-Jun-07 1:59 
AnswerRe: Copy a directory somewhere Pin
Shy Agam14-Jun-07 2:13
Shy Agam14-Jun-07 2:13 
AnswerRe: Copy a directory somewhere Pin
Martin#14-Jun-07 2:25
Martin#14-Jun-07 2:25 
AnswerRe: Copy a directory somewhere Pin
David Knechtges14-Jun-07 2:34
David Knechtges14-Jun-07 2:34 
Questionconvert cyrillic from console app to Unicode C# Pin
drweb8614-Jun-07 1:16
drweb8614-Jun-07 1:16 
QuestionHow to compare two Times [modified] Pin
VenkataRamana.Gali14-Jun-07 1:08
VenkataRamana.Gali14-Jun-07 1:08 
AnswerRe: How to compare two Times Pin
Mali Perica14-Jun-07 1:30
Mali Perica14-Jun-07 1:30 
AnswerRe: How to compare two Times Pin
Martin#14-Jun-07 1:31
Martin#14-Jun-07 1:31 
AnswerRe: How to compare two Times Pin
Muammar©14-Jun-07 1:37
Muammar©14-Jun-07 1:37 
AnswerRe: How to compare two Times Pin
Dewald14-Jun-07 1:45
Dewald14-Jun-07 1:45 
AnswerRe: How to compare two Times Pin
Luc Pattyn14-Jun-07 3:07
sitebuilderLuc Pattyn14-Jun-07 3:07 
AnswerRe: How to compare two Times Pin
andreumv14-Jun-07 3:50
andreumv14-Jun-07 3:50 
GeneralRe: How to compare two Times Pin
Martin#14-Jun-07 4:01
Martin#14-Jun-07 4:01 
AnswerRe: How to compare two Times Pin
Le centriste14-Jun-07 7:21
Le centriste14-Jun-07 7:21 

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.