Click here to Skip to main content
15,887,331 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to Drawing graph in VC++ MFC? Pin
Cedric Moonen16-Dec-10 23:21
Cedric Moonen16-Dec-10 23:21 
QuestionHo can set date and time value in excel by excel automation? Pin
Le@rner16-Dec-10 18:25
Le@rner16-Dec-10 18:25 
AnswerRe: Ho can set date and time value in excel by excel automation? Pin
Richard MacCutchan16-Dec-10 21:29
mveRichard MacCutchan16-Dec-10 21:29 
GeneralRe: Ho can set date and time value in excel by excel automation? Pin
Le@rner16-Dec-10 21:42
Le@rner16-Dec-10 21:42 
GeneralRe: Ho can set date and time value in excel by excel automation? Pin
Richard MacCutchan16-Dec-10 23:35
mveRichard MacCutchan16-Dec-10 23:35 
GeneralRe: Ho can set date and time value in excel by excel automation? Pin
Le@rner16-Dec-10 23:35
Le@rner16-Dec-10 23:35 
GeneralRe: Ho can set date and time value in excel by excel automation? Pin
Richard MacCutchan17-Dec-10 1:31
mveRichard MacCutchan17-Dec-10 1:31 
AnswerRe: Ho can set date and time value in excel by excel automation? Pin
FilipKrnjic17-Oct-11 22:15
FilipKrnjic17-Oct-11 22:15 
Hi,
with this Excel .NET component you can easily do this:
Here is a sample Excel C# code (managed C++/CLI shouldn't be much different):
C#
var ef = new ExcelFile();

var cell = ef.Worksheets.Add("Sheet 1").Cells[0, 0];
cell.Value = new DateTime(2010, 12, 16, 18, 17, 00);
cell.Style.NumberFormat = "mmm dd, yyyy hh:mm:ss AM/PM";

ef.SaveXls(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "DateTime.xls"));

QuestionHow Inline and MACRO function are work? Pin
GAJERA16-Dec-10 16:42
GAJERA16-Dec-10 16:42 
AnswerRe: How Inline and MACRO function are work? Pin
Maximilien16-Dec-10 16:53
Maximilien16-Dec-10 16:53 
GeneralRe: How Inline and MACRO function are work? Pin
GAJERA16-Dec-10 17:03
GAJERA16-Dec-10 17:03 
GeneralRe: How Inline and MACRO function are work? Pin
David Crow16-Dec-10 17:44
David Crow16-Dec-10 17:44 
AnswerRe: How Inline and MACRO function are work? Pin
Richard MacCutchan16-Dec-10 21:27
mveRichard MacCutchan16-Dec-10 21:27 
AnswerRe: How Inline and MACRO function are work? Pin
Aescleal16-Dec-10 22:00
Aescleal16-Dec-10 22:00 
AnswerRe: How Inline and MACRO function are work? Pin
yu-jian17-Dec-10 3:54
yu-jian17-Dec-10 3:54 
QuestionShortcut key source code Pin
AK7758116-Dec-10 9:48
AK7758116-Dec-10 9:48 
AnswerRe: Shortcut key source code Pin
«_Superman_»16-Dec-10 12:28
professional«_Superman_»16-Dec-10 12:28 
QuestionWhich project Template for STL coding? Pin
Software200716-Dec-10 7:33
Software200716-Dec-10 7:33 
AnswerRe: Which project Template for STL coding? Pin
CPallini16-Dec-10 7:53
mveCPallini16-Dec-10 7:53 
GeneralRe: Which project Template for STL coding? Pin
Software200716-Dec-10 8:19
Software200716-Dec-10 8:19 
GeneralRe: Which project Template for STL coding? Pin
Maximilien16-Dec-10 9:07
Maximilien16-Dec-10 9:07 
AnswerRe: Which project Template for STL coding? Pin
Maximilien16-Dec-10 8:26
Maximilien16-Dec-10 8:26 
AnswerRe: Which project Template for STL coding? PinPopular
Richard MacCutchan16-Dec-10 9:51
mveRichard MacCutchan16-Dec-10 9:51 
GeneralRe: Which project Template for STL coding? Pin
Software200716-Dec-10 9:56
Software200716-Dec-10 9:56 
GeneralRe: Which project Template for STL coding? Pin
Ajay Vijayvargiya16-Dec-10 18:25
Ajay Vijayvargiya16-Dec-10 18:25 

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.