Click here to Skip to main content
15,902,492 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralHI, how I can refresh a datagrid Pin
jlizardo18-Dec-03 11:21
jlizardo18-Dec-03 11:21 
GeneralConnection Pin
Anonymous18-Dec-03 7:01
Anonymous18-Dec-03 7:01 
GeneralRe: Connection Pin
VickyMD27-Dec-03 4:36
sussVickyMD27-Dec-03 4:36 
GeneralRe: Connection Pin
mikasa27-Dec-03 5:30
mikasa27-Dec-03 5:30 
Generaloverride a rich text box draw function Pin
Zipadie Doodah18-Dec-03 5:03
Zipadie Doodah18-Dec-03 5:03 
GeneralClient area / Non-client area Pin
cnurse18-Dec-03 2:32
cnurse18-Dec-03 2:32 
GeneralWindows Message Queue Service (VB.NET) Pin
Nic Rowan17-Dec-03 20:31
Nic Rowan17-Dec-03 20:31 
GeneralAdd a new line to a text File Pin
Bondtje17-Dec-03 8:57
Bondtje17-Dec-03 8:57 
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles opslaan.Click
FileOpen(1, "C:\Documents and Settings\Jurgen\Mijn documenten\Visual Studio Projects\Data test1\Data Testje 1\Log_uren_bijhouden.txt", OpenMode.Output) ' Open file for output.
Print(1, TimeOfDay, Today) ' Print text to file.
PrintLine(1) 'sluit 1ste regel af
PrintLine(1)
PrintLine(1, nummer.Text, naam.Text, achternaam.Text)
PrintLine(1, "Begonnen om", TAB(1), beginuur.Text) ' Print in two print zones.
PrintLine(1, "Beeindigd om", TAB(1), eindeuur.Text) ' Separate strings with space.
PrintLine(1)
PrintLine(1, TAB(10), "END", TAB(20), "END") ' Print word at column 10.
PrintLine(1, "-------------------------------------------------------------------")
FileClose(1) ' Close file.
End Sub

I want to add every time I klik a Button a new line with these text in the file.
now when i try to do that he overwrites every time the existing Data.
It has to somthing like a log file.
I use Visual Basic.net, this because i can't work very wel with C++

Sombody a hint or a Solution,

Thanks
Jurgen De Bondt

Thats ........ Me
GeneralRe: Add a new line to a text File Pin
Dave Kreskowiak17-Dec-03 11:18
mveDave Kreskowiak17-Dec-03 11:18 
GeneralRe: Add a new line to a text File Pin
Bondtje17-Dec-03 12:24
Bondtje17-Dec-03 12:24 
QuestionHow make a picturebox public to forms?VB.net Pin
MJay17-Dec-03 7:52
MJay17-Dec-03 7:52 
AnswerRe: How make a picturebox public to forms?VB.net Pin
Zipadie Doodah18-Dec-03 6:22
Zipadie Doodah18-Dec-03 6:22 
Questionhow to set bmp format setting??VB.net Pin
MJay17-Dec-03 2:57
MJay17-Dec-03 2:57 
AnswerRe: how to set bmp format setting??VB.net Pin
Dave Kreskowiak17-Dec-03 5:52
mveDave Kreskowiak17-Dec-03 5:52 
GeneralDistributed Application. Pin
srieen17-Dec-03 2:54
srieen17-Dec-03 2:54 
GeneralRe: Distributed Application. Pin
Colin Angus Mackay17-Dec-03 3:19
Colin Angus Mackay17-Dec-03 3:19 
QuestionHow can I with Tabcontrol select/focus any TabPage Pin
jlizardo17-Dec-03 2:50
jlizardo17-Dec-03 2:50 
AnswerRe: How can I with Tabcontrol select/focus any TabPage Pin
Dave Kreskowiak17-Dec-03 5:13
mveDave Kreskowiak17-Dec-03 5:13 
GeneralRe: How can I with Tabcontrol select/focus any TabPage Pin
Member 76608420-Dec-03 18:49
Member 76608420-Dec-03 18:49 
GeneralRe: How can I with Tabcontrol select/focus any TabPage Pin
Dave Kreskowiak21-Dec-03 6:32
mveDave Kreskowiak21-Dec-03 6:32 
GeneralContext menu windows and combo box windows Pin
cnurse17-Dec-03 1:45
cnurse17-Dec-03 1:45 
GeneralPersisting properties of child controls contained in USER CONTOLS Pin
cnurse17-Dec-03 0:03
cnurse17-Dec-03 0:03 
GeneralRe: Persisting properties of child controls contained in USER CONTOLS Pin
steff kamush17-Dec-03 22:02
steff kamush17-Dec-03 22:02 
GeneralRe: Persisting properties of child controls contained in USER CONTOLS Pin
cnurse18-Dec-03 2:29
cnurse18-Dec-03 2:29 
GeneralDrawing our Own Charts on Forms with out using the MSChart Control Pin
EmanAli16-Dec-03 22:26
EmanAli16-Dec-03 22:26 

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.