Anyone here good with

3 replies
Found 27th Apr 2009
Im writing a little web browser program.

I want all web pages entered into the combobox to be wrote to a history.txt file.

Im not sure which way to go about this

  1. Misc
  1. Misc


well rick, the first thing you need to do is trawl the net for answers. search engines are your friends. i wasnt gonna go ahead with this...but what the hey.

i found this in under two minutes...hope it helps you some :-)

Private Sub Command1_Click()
Open "d:\test.txt" For Append As #1 ' will add data to existing file
'if you want to clear the existing records each time then
'use the word 'Output' instead of 'Append'

Dim i As Integer
For i = 1 To 9
'Print #1, i, i + 1
Print #1, i & "," & i + 1
'choose the option that fits you
Close #1
End Sub

Ok i know this is for a command button (text box entry me thinks) and not a combo box. But trial and error old dog and lemme know how you get on.

give me html codes anyday, lol


you any good with oracle?
Post a comment
    Top Discussions
    1. Topcashback Trick or Treat competition77883
    2. Win an all-inclusive holiday to Antigua, including flights!77
    3. Win a villa holiday for two in Portugal with Four Seasons Fairways @ Sunday…1111
    4. Win a trip to Dublin, with via Classic FM23

    See more discussions