Anyone here good with - HotUKDeals
We use cookie files to improve site functionality and personalisation. By continuing to use HUKD, you accept our cookie and privacy policy.
Get the HUKD app free at Google Play

Search Error

An error occurred when searching, please try again!

Login / Sign UpSubmit

Anyone here good with

matt3454 Avatar
7y, 8m agoPosted 7 years, 8 months ago
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
Other Links From Here:
matt3454 Avatar
7y, 8m agoPosted 7 years, 8 months ago

All Comments

(3) Jump to unreadPost a comment
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

You don't need an account to leave a comment. Just enter your email address. We'll keep it private.

...OR log in with your social account

...OR comment using your social account

Thanks for your comment! Keep it up!
We just need to have a quick look and it will be live soon.
The community is happy to hear your opinion! Keep contributing!