Click here to Skip to main content
15,913,854 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help for Filtering Database by Date !! Pin
jeshra27911-Oct-09 18:10
jeshra27911-Oct-09 18:10 
GeneralRe: Help for Filtering Database by Date !! Pin
dan!sh 11-Oct-09 18:37
professional dan!sh 11-Oct-09 18:37 
AnswerRe: Help for Filtering Database by Date !! Pin
Luc Pattyn12-Oct-09 0:31
sitebuilderLuc Pattyn12-Oct-09 0:31 
Questionwriting a timestamp to a xml file. Pin
malcomhfc11-Oct-09 4:15
malcomhfc11-Oct-09 4:15 
AnswerRe: writing a timestamp to a xml file. Pin
dan!sh 11-Oct-09 6:07
professional dan!sh 11-Oct-09 6:07 
GeneralRe: writing a timestamp to a xml file. Pin
malcomhfc11-Oct-09 7:58
malcomhfc11-Oct-09 7:58 
GeneralRe: writing a timestamp to a xml file. Pin
dan!sh 11-Oct-09 15:32
professional dan!sh 11-Oct-09 15:32 
GeneralRe: writing a timestamp to a xml file. Pin
freakyit11-Oct-09 23:57
freakyit11-Oct-09 23:57 
hi, here i have some code for you.

System.Xml.XmlTextWriter xtw = new System.Xml.XmlTextWriter("C:\\timestamp.xml",System.Text.Encoding.UTF8);

// XmlFormatting			
xtw.Formatting == Formatting.Indented;
xtw.Indentation = 4;

xtw.WriteStartDocument();

// write into a element as inner text
xtw.WriteStartElement("TimeStamp");
xtw.WriteString(DateTime.Now.ToOADate());
xtw.WriteEndElement();
			
// Write into a element as attribute
xtw.WriteStartElement("TimeStampAttribute");
xtw.WriteAttributeString("DateTime",DateTime.Now.ToOADate())
xtw.WriteEndElement();
			
xtw.WriteEndDocument();
xtw.Close();

GeneralRe: writing a timestamp to a xml file. Pin
malcomhfc12-Oct-09 10:44
malcomhfc12-Oct-09 10:44 
QuestionExport Data to Excel Pin
Puffsss10-Oct-09 23:22
Puffsss10-Oct-09 23:22 
AnswerRe: Export Data to Excel Pin
Andy_L_J10-Oct-09 23:28
Andy_L_J10-Oct-09 23:28 
AnswerRe: Export Data to Excel Pin
The Man from U.N.C.L.E.12-Oct-09 4:18
The Man from U.N.C.L.E.12-Oct-09 4:18 
QuestionNumerical accuracy in calculation Pin
A.Najafi10-Oct-09 21:55
A.Najafi10-Oct-09 21:55 
AnswerRe: Numerical accuracy in calculation Pin
Andy_L_J10-Oct-09 23:11
Andy_L_J10-Oct-09 23:11 
GeneralRe: Numerical accuracy in calculation Pin
A.Najafi11-Oct-09 0:13
A.Najafi11-Oct-09 0:13 
GeneralRe: Numerical accuracy in calculation Pin
Andy_L_J11-Oct-09 0:34
Andy_L_J11-Oct-09 0:34 
GeneralRe: Numerical accuracy in calculation Pin
A.Najafi11-Oct-09 1:42
A.Najafi11-Oct-09 1:42 
GeneralRe: Numerical accuracy in calculation Pin
Dave Kreskowiak11-Oct-09 6:57
mveDave Kreskowiak11-Oct-09 6:57 
GeneralRe: Numerical accuracy in calculation Pin
Luc Pattyn11-Oct-09 8:13
sitebuilderLuc Pattyn11-Oct-09 8:13 
Questioninserting input into matlab and run m-file from vb Pin
waiting 4 some110-Oct-09 21:17
waiting 4 some110-Oct-09 21:17 
QuestionHow to add headings to a dataset Pin
Dhruva Hein10-Oct-09 9:27
Dhruva Hein10-Oct-09 9:27 
AnswerRe: How to add headings to a dataset Pin
Henry Minute10-Oct-09 11:18
Henry Minute10-Oct-09 11:18 
GeneralRe: How to add headings to a dataset Pin
Dhruva Hein10-Oct-09 12:49
Dhruva Hein10-Oct-09 12:49 
GeneralRe: How to add headings to a dataset Pin
Henry Minute10-Oct-09 13:38
Henry Minute10-Oct-09 13:38 
GeneralRe: How to add headings to a dataset Pin
Dave Kreskowiak10-Oct-09 16:15
mveDave Kreskowiak10-Oct-09 16:15 

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.