p4p800 Posted March 2, 2004 Posted March 2, 2004 how do u make an access database file and how do u make a text file write on two lines? Dim writer As New System.IO.StreamWriter("C:\test.txt") writer.Write("test") writer.Write("test") writer.Flush() writer.Close() Quote
p4p800 Posted March 2, 2004 Author Posted March 2, 2004 and this does not work for two lines Dim writer As New System.IO.StreamWriter("C:\test.txt") writer.Write("test") writer.Flush() writer.Write("test") writer.Flush() writer.Close() Quote
*Experts* mutant Posted March 2, 2004 *Experts* Posted March 2, 2004 To make an Access DB use Access... To write text on two lines use the WriteLine method instead of Write. Quote
p4p800 Posted March 3, 2004 Author Posted March 3, 2004 no i mean how do u write a access file in vb .net Quote
*Experts* mutant Posted March 3, 2004 *Experts* Posted March 3, 2004 You mean accessing the database and inserting, updating, etc. records? Quote
*Experts* mutant Posted March 3, 2004 *Experts* Posted March 3, 2004 First you would need to create an Access database in Access then you can connect to the DB using classes inside System.Data.OleDb namespace. Quote
p4p800 Posted March 3, 2004 Author Posted March 3, 2004 that is way over my head i just started in vb.net. i know just a little about vb 6 Quote
*Experts* mutant Posted March 4, 2004 *Experts* Posted March 4, 2004 Databse access isn't very hard once you understand it. Look here for some tutorials: http://samples.gotdotnet.com/quickstart/howto/default.aspx?url=/quickstart/howto/doc/adoplus/adoplusoverview.aspx Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.