|
-
Jul 18th, 2005, 06:44 AM
#1
Thread Starter
Junior Member
Basis of a Program, just two questions.
Well, Im kinda new to VB, in the past I have coded Web Based languages, PHP, JavaScript.. Anyways im looking to make this program.. heres what it is.
First, there will be two list boxes, you will load the names from a txt file in user,password form.. I can do that on my own. Right, then there will be a start button or something and it will start from the top of the two list boxes, login the first account, and click three links, I was thinking for this part, 2 inet gotourl ( login and going to one page) and two inet.execute ( for clicking the the two butttons that have subbmit buttons) and finially a logout button, inet.gotourl will work for that... right, i suppose ill need a few timers in there and all... I think i can manage doing this on my own, the only thing(s) i need to know are, how, when you logout do you make it automaticially go to the next username/password on the list, and also, ive tried this before but when i have 2 inets right next to eachother, i get an error like still evecuting last request.. so i just got mad and gave up, but i want to try again, you know...
If anyone has the time, it would be cool to write like a really rough pseudo code, nothing in detail.. or just answer my questions, anything would be good really
Last edited by Josh2022; Jul 18th, 2005 at 07:15 AM.
-
Jul 18th, 2005, 07:15 AM
#2
Re: Basis of a Program, just two questions.
you might want to look into the webbrowser control...
then the timer wont be needed.. there are events for when the "document" completes
each time the doc completes you can go to the next step. you'll have to loop through the anchors to find your links etc.. but it should work better than relying on timers
just my opinion...
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jul 18th, 2005, 09:13 AM
#3
Thread Starter
Junior Member
Re: Basis of a Program, just two questions.
winsock? right.. hmm ill give that a try, i really dont care what i use, i just heard that inet was faster.. doesnt really matter to me, the only thing i need to know how to do is just like make it automatic, like go down the list.. i know it will have to be in a do while / loop but i dont know how to make it go down the list and all... :-]
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
|