Click here to Skip to main content
15,892,809 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to read ocr image in MODI using visual studio? Pin
OriginalGriff5-Jan-12 4:44
mveOriginalGriff5-Jan-12 4:44 
QuestionHow to read ocr image in visual studio using MODI? Pin
pervaizali5-Jan-12 4:20
pervaizali5-Jan-12 4:20 
QuestionClipping Line in WPF Pin
nhuvayday4-Jan-12 17:30
nhuvayday4-Jan-12 17:30 
QuestionCan you run application (built in C#) from PC to Mobile phone via Bluetooth Pin
LAPEC4-Jan-12 13:28
LAPEC4-Jan-12 13:28 
AnswerRe: Can you run application (built in C#) from PC to Mobile phone via Bluetooth Pin
Dave Kreskowiak4-Jan-12 15:21
mveDave Kreskowiak4-Jan-12 15:21 
GeneralSeeking a C# mentor. Pin
Member 85400644-Jan-12 12:36
Member 85400644-Jan-12 12:36 
GeneralRe: Seeking a C# mentor. Pin
Richard Andrew x644-Jan-12 13:17
professionalRichard Andrew x644-Jan-12 13:17 
GeneralRe: Seeking a C# mentor. Pin
Member 85400644-Jan-12 13:40
Member 85400644-Jan-12 13:40 
GeneralRe: Seeking a C# mentor. Pin
fjdiewornncalwe5-Jan-12 4:40
professionalfjdiewornncalwe5-Jan-12 4:40 
QuestionFeedback on this Tree class design? Pin
SledgeHammer014-Jan-12 11:06
SledgeHammer014-Jan-12 11:06 
AnswerRe: Feedback on this Tree class design? Pin
Pete O'Hanlon5-Jan-12 2:37
mvePete O'Hanlon5-Jan-12 2:37 
GeneralRe: Feedback on this Tree class design? Pin
SledgeHammer015-Jan-12 6:45
SledgeHammer015-Jan-12 6:45 
GeneralRe: Feedback on this Tree class design? Pin
SledgeHammer015-Jan-12 10:11
SledgeHammer015-Jan-12 10:11 
AnswerRe: Feedback on this Tree class design? Pin
BillWoodruff5-Jan-12 17:28
professionalBillWoodruff5-Jan-12 17:28 
AnswerRe: Feedback on this Tree class design? Pin
RobCroll6-Jan-12 1:40
RobCroll6-Jan-12 1:40 
GeneralRe: Feedback on this Tree class design? Pin
BillWoodruff7-Jan-12 23:52
professionalBillWoodruff7-Jan-12 23:52 
QuestionNAudio Pin
Member 20880664-Jan-12 9:11
Member 20880664-Jan-12 9:11 
AnswerRe: NAudio Pin
RobCroll6-Jan-12 1:58
RobCroll6-Jan-12 1:58 
Questionhelp with code for convert from csv to excell Pin
goldsoft4-Jan-12 1:59
goldsoft4-Jan-12 1:59 
hi
i have this coed:







private void button2_Click(object sender, EventArgs e)

{

Excel.Application APexcel = null;

Excel.Workbook MyBook = null;

try

{

APexcel = new Microsoft.Office.Interop.Excel.Application();

APexcel.Visible = false;

string[] csvFile = File.ReadAllLines(@"d:\111.csv");

MyBook = APexcel.Workbooks.Add(Type.Missing);

Worksheet mySheet = (Worksheet)MyBook.ActiveSheet;

for (int i = 0; i < csvFile.Length; i++)

{

Range r = (Range)mySheet.get_Range(mySheet.Cells[i + 1, 1], mySheet.Cells[i + 1, csvFile[i].Split(',').Length]);

((Style)r.Style).NumberFormat = "@";

r.Value2 = csvFile[i].Split(',');

}

MyBook.SaveAs("d:\\MyExcelFile.xls", Excel.XlFileFormat.xlWorkbookNormal, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Excel.XlSaveAsAccessMode.xlShared, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);

MyBook.Close(Type.Missing, Type.Missing, Type.Missing);

MessageBox.Show("OK");

}

catch (Exception ex)

{

throw ex;

}

}

its work excellent but where there is hebrew letters i see gibberish
AnswerRe: help with code for convert from csv to excell Pin
Dave Kreskowiak4-Jan-12 3:22
mveDave Kreskowiak4-Jan-12 3:22 
GeneralRe: help with code for convert from csv to excell Pin
goldsoft4-Jan-12 4:09
goldsoft4-Jan-12 4:09 
GeneralRe: help with code for convert from csv to excell PinPopular
Dave Kreskowiak4-Jan-12 4:42
mveDave Kreskowiak4-Jan-12 4:42 
GeneralRe: help with code for convert from csv to excell Pin
jschell4-Jan-12 8:19
jschell4-Jan-12 8:19 
GeneralRe: help with code for convert from csv to excell Pin
Dave Kreskowiak4-Jan-12 9:17
mveDave Kreskowiak4-Jan-12 9:17 
GeneralRe: help with code for convert from csv to excell Pin
jschell6-Jan-12 8:36
jschell6-Jan-12 8:36 

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.