|
-
Oct 27th, 2003, 10:09 AM
#1
Thread Starter
Addicted Member
auto poster source code
heres some code i wrote.... it works for vbulettin forums with the quick post box enabled, and with a bit of tweaking, will work for any forum.
VB Code:
Sub timeout(S%)
Dim Start
Start = now
While DateDiff("s", Start, now) <= S
DoEvents
Wend
End Sub
Private Sub CommandButton1_Click()
Dim i As Integer
Dim j As Integer
Dim k As Integer
WebBrowser1.Navigate (TextBox2.Text)
j = TextBox1.Text
k = TextBox3.Text
For i = k To j
ListBox1.AddItem (i)
Next i
On Error Resume Next
Do Until ListBox1.ListCount = 0
timeout (4)
On Error Resume Next
WebBrowser1.Document.all("message").Value = ListBox1.List(0)
On Error Resume Next
WebBrowser1.Document.all("SUBMIT").Click
On Error Resume Next
ListBox1.RemoveItem (0)
On Error Resume Next
timeout (31)
On Error Resume Next
Loop
If ListBox1.ListCount = 0 Then
MsgBox ("done")
End
End If
End Sub
Last edited by crptcblade; Oct 27th, 2003 at 11:12 AM.
-
Oct 27th, 2003, 10:19 AM
#2
Frenzied Member
well
try putting
[VBCode] at the start of your code
and
[/VBCode] at the end - it will make your syntax get highlighted.
*Edit - Changed what Si suggested*
Last edited by vbNeo; Oct 27th, 2003 at 10:57 AM.
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
-
Oct 27th, 2003, 10:39 AM
#3
Re: well

what vbNeo meant was:
try putting [VBCode] at the start of your code and [/VBCode] at the end - it will make your syntax get highlighted.
(neo - put [b][/b] inside tags you want to display as text, I used [VBCo[b][/b]de] )
-
Oct 27th, 2003, 10:56 AM
#4
Frenzied Member
Do'H
Do'H
Thanks Si! Nice tip =).
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
-
Nov 13th, 2003, 03:51 PM
#5
Conquistador
i think vb3 removes "dead" tags D:
-
Dec 1st, 2003, 11:48 AM
#6
Supreme User
What was the actual thread about again?
-
Dec 3rd, 2003, 05:41 PM
#7
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|