5 Replies - 5179 Views - Last Post: 10 December 2009 - 09:01 AM Rate Topic: -----

#1 bigmatt267  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: -1
  • View blog
  • Posts: 55
  • Joined: 02-December 09

auto login bot in vb.net

Posted 09 December 2009 - 11:01 AM

demo of bot i'm trying to make> Youtube.com
hey all. nothing malicious about making this bot. i would like to write a app that sits on my desktop, and when i click a button, it would open up FF and go to youtube, or site of my choice, and auto-login for me. if you look at the code, i can show you where i am stuck
My.Computer.Audio.Play(My.Resources.FireFoxFILE, AudioPlayMode.Background)
My.Computer.Audio.Play(My.Resources.NewTAB, AudioPlayMode.Background)					 
My.Computer.Audio.Play(My.Resources.YouTubeTYPE,
AudioPlayMode.Background)					  
My.Computer.Audio.Play(My.Resources.ClickSignIN, << AudioPlayMode.Background)

i know how to add resources to my form, i already have the FF.exe in there.
i'm wondering if i need to create a new string, or is the file somewhere? i've looked in FF folder, cant find anything. can anybody help me? :blink:

This post has been edited by bigmatt267: 09 December 2009 - 11:04 AM


Is This A Good Question/Topic? 0
  • +

Replies To: auto login bot in vb.net

#2 kasbaba  Icon User is offline

  • D.I.C Head

Reputation: 28
  • View blog
  • Posts: 133
  • Joined: 03-November 08

Re: auto login bot in vb.net

Posted 09 December 2009 - 01:56 PM

View Postbigmatt267, on 9 Dec, 2009 - 10:01 AM, said:

demo of bot i'm trying to make> Youtube.com
hey all. nothing malicious about making this bot. i would like to write a app that sits on my desktop, and when i click a button, it would open up FF and go to youtube, or site of my choice, and auto-login for me. if you look at the code, i can show you where i am stuck
My.Computer.Audio.Play(My.Resources.FireFoxFILE, AudioPlayMode.Background)
My.Computer.Audio.Play(My.Resources.NewTAB, AudioPlayMode.Background)					 
My.Computer.Audio.Play(My.Resources.YouTubeTYPE,
AudioPlayMode.Background)					  
My.Computer.Audio.Play(My.Resources.ClickSignIN, << AudioPlayMode.Background)

i know how to add resources to my form, i already have the FF.exe in there.
i'm wondering if i need to create a new string, or is the file somewhere? i've looked in FF folder, cant find anything. can anybody help me? :blink:


There are a couple of approaches:
1. Let FF do the Password handling stuff for you. Click this link for more information.
2. Did you try what the guy said. I mean in his comments he mentioned a weblink to the code. Well incase you missed it here it is.
3. If it were not FF, you could have done that in your own WebBrowser application. [IE..]

Try it and let me know if this works...because it seems interesting.
Was This Post Helpful? 0
  • +
  • -

#3 kasbaba  Icon User is offline

  • D.I.C Head

Reputation: 28
  • View blog
  • Posts: 133
  • Joined: 03-November 08

Re: auto login bot in vb.net

Posted 09 December 2009 - 02:10 PM

View Postkasbaba, on 9 Dec, 2009 - 12:56 PM, said:

Try it and let me know if this works...because it seems interesting.


Okay, I tried it just now, and it seems that this code will work as long as:
1. The FireFox window is Maximized and has focus.
2. The screen resolution is set at 1024x768.

Any of the two settings change, or you accidentally click or select another window, then it wouldn't work.
There are six timers. Each fires at defined intervals and performs functions like mouse move and mouse click.

If the website loads slowly or gets stuck, the program has no way of knowing that and the timers continue to send periodic commands to the active window.

anyways...good luck !

This post has been edited by kasbaba: 09 December 2009 - 02:11 PM

Was This Post Helpful? 0
  • +
  • -

#4 bigmatt267  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: -1
  • View blog
  • Posts: 55
  • Joined: 02-December 09

Re: auto login bot in vb.net

Posted 09 December 2009 - 04:42 PM

View Postkasbaba, on 9 Dec, 2009 - 01:10 PM, said:

View Postkasbaba, on 9 Dec, 2009 - 12:56 PM, said:

Try it and let me know if this works...because it seems interesting.


If the website loads slowly or gets stuck, the program has no way of knowing that and the timers continue to send periodic commands to the active window.

anyways...good luck !



yeah, i downloaded the code. im deaf, so i cant hear audio well. thats my main problem, and thats where i get into trouble. im not new to vb, btw just so you know
http://i48.tinypic.com/27zdwmg.jpg

This post has been edited by bigmatt267: 09 December 2009 - 04:53 PM

Was This Post Helpful? 0
  • +
  • -

#5 nmgod  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 48
  • View blog
  • Posts: 233
  • Joined: 26-March 08

Re: auto login bot in vb.net

Posted 10 December 2009 - 04:16 AM

Why do you need to make this? I mean web browsers already have the capability to auto login and save passwords
Was This Post Helpful? 0
  • +
  • -

#6 bigmatt267  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: -1
  • View blog
  • Posts: 55
  • Joined: 02-December 09

Re: auto login bot in vb.net

Posted 10 December 2009 - 09:01 AM

View Postnmgod, on 10 Dec, 2009 - 03:16 AM, said:

Why do you need to make this? I mean web browsers already have the capability to auto login and save passwords

if you would watch the youtube video, you would see why.
besides, its a good exercise.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1