Click here to Skip to main content
15,845,936 members
Home / Discussions / C#
   

C#

 
Generalproblem DLL logic Pin
ishika_kukki28-Jun-09 20:29
ishika_kukki28-Jun-09 20:29 
GeneralRe: problem DLL logic Pin
dan!sh 28-Jun-09 21:02
professional dan!sh 28-Jun-09 21:02 
GeneralRe: problem DLL logic Pin
ishika_kukki28-Jun-09 21:29
ishika_kukki28-Jun-09 21:29 
AnswerRe: problem DLL logic Pin
OriginalGriff28-Jun-09 22:17
mveOriginalGriff28-Jun-09 22:17 
GeneralRe: problem DLL logic Pin
ishika_kukki29-Jun-09 0:05
ishika_kukki29-Jun-09 0:05 
GeneralRe: problem DLL logic Pin
dan!sh 29-Jun-09 3:43
professional dan!sh 29-Jun-09 3:43 
QuestionCreating excel file templates at runtime using C# Pin
Krishna Aditya28-Jun-09 20:24
Krishna Aditya28-Jun-09 20:24 
AnswerRe: Creating excel file templates at runtime using C# Pin
padmanabhan N28-Jun-09 20:35
padmanabhan N28-Jun-09 20:35 
for creating Folders:
//if you want to create multiple folders then use for loop.
System.IO.Directory.CreateDirectory(@"D:\\your folder name");

for creating Excel file:

Microsoft.Office.Interop.Excel.Application m_objExcel;
Microsoft.Office.Interop.Excel.Workbooks m_objBooks;
Microsoft.Office.Interop.Excel._Workbook m_objBook;
Microsoft.Office.Interop.Excel.Sheets m_objSheets;
Microsoft.Office.Interop.Excel._Worksheet m_objSheet;
Microsoft.Office.Interop.Excel._Worksheet m_objSheetIntro;
Microsoft.Office.Interop.Excel.Range m_objRange;
object m_objOpt = System.Reflection.Missing.Value;
m_objExcel = new Microsoft.Office.Interop.Excel.Application();
m_objBooks = (Microsoft.Office.Interop.Excel.Workbooks)m_objExcel.Workbooks;

//Opening the Excel Sheets.
m_objBook = (Microsoft.Office.Interop.Excel._Workbook)(m_objBooks.Add(m_objOpt));
m_objSheets = (Microsoft.Office.Interop.Excel.Sheets)m_objBook.Worksheets;
m_objSheet = (Microsoft.Office.Interop.Excel._Worksheet)(m_objSheets.get_Item(1));
//Store excel in folder
m_objBook.SaveAs(@your path name here + "\\your file name here.xls", m_objOpt, m_objOpt,
m_objOpt, m_objOpt, m_objOpt, Microsoft.Office.Interop.Excel.XlSaveAsAccessMode.xlNoChange,
m_objOpt, m_objOpt, m_objOpt, m_objOpt, m_objOpt);

Padmanabhan
My Articles:
Articles[^]
My latest Article:
Word Automation[^]

QuestionHow to set password or security to SQL server 2005 table Pin
KIDYA28-Jun-09 20:14
KIDYA28-Jun-09 20:14 
AnswerRe: How to set password or security to SQL server 2005 table Pin
Krishna Aditya28-Jun-09 20:35
Krishna Aditya28-Jun-09 20:35 
AnswerRe: How to set password or security to SQL server 2005 table Pin
padmanabhan N28-Jun-09 20:40
padmanabhan N28-Jun-09 20:40 
Questiondrawing circles. Pin
_AnsHUMAN_ 28-Jun-09 20:09
_AnsHUMAN_ 28-Jun-09 20:09 
AnswerRe: drawing circles. Pin
dan!sh 28-Jun-09 20:49
professional dan!sh 28-Jun-09 20:49 
GeneralRe: drawing circles. Pin
_AnsHUMAN_ 28-Jun-09 21:17
_AnsHUMAN_ 28-Jun-09 21:17 
GeneralRe: drawing circles. Pin
dan!sh 28-Jun-09 21:29
professional dan!sh 28-Jun-09 21:29 
GeneralRe: drawing circles. Pin
_AnsHUMAN_ 28-Jun-09 21:52
_AnsHUMAN_ 28-Jun-09 21:52 
GeneralRe: drawing circles. Pin
dan!sh 28-Jun-09 21:58
professional dan!sh 28-Jun-09 21:58 
GeneralRe: drawing circles. Pin
_AnsHUMAN_ 28-Jun-09 22:23
_AnsHUMAN_ 28-Jun-09 22:23 
GeneralRe: drawing circles. Pin
dan!sh 28-Jun-09 22:53
professional dan!sh 28-Jun-09 22:53 
GeneralRe: drawing circles. Pin
_AnsHUMAN_ 28-Jun-09 23:22
_AnsHUMAN_ 28-Jun-09 23:22 
GeneralRe: drawing circles. Pin
dan!sh 28-Jun-09 23:46
professional dan!sh 28-Jun-09 23:46 
GeneralRe: drawing circles. Pin
_AnsHUMAN_ 29-Jun-09 0:12
_AnsHUMAN_ 29-Jun-09 0:12 
GeneralRe: drawing circles. Pin
dan!sh 29-Jun-09 0:36
professional dan!sh 29-Jun-09 0:36 
RantRe: drawing circles. Pin
musefan29-Jun-09 3:38
musefan29-Jun-09 3:38 
QuestionTimed License Pin
anishkannan28-Jun-09 19:45
anishkannan28-Jun-09 19:45 

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.