Sythe     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe  
  Cheap RS Gold Store
Omegle Auto Talker
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-30-2010, 01:00 PM
Forum Addict
 
Join Date: Mar 2007
Location: The Grand Exchange
Referrals: 1
Posts: 481
Send a message via MSN to i am foolish
 
Default Omegle Auto Talker

Ok, the idea of this project was to have the Omegle chat screen loaded in from the web and then 10 text boxes on the left of that with 2 buttons, start and stop. 5 text boxes would be for the messages, and the other 5 would be for intervals.

When the start button is clicked, I have it as:
Code:
WebBrowser1.Document.GetElementById("textbutton").InvokeMember("click")
I get an error:
Quote:
NullReferenceException was unhandled
Not the best at debugging. Any help would be appreciated :]
Copy this message to clipboard Reply With Quote
  #2  
Old 08-30-2010, 04:23 PM
Blupig's Avatar
butts
Zombie Visual Basic Programmers Retired Global Moderator
 
Join Date: Nov 2006
Location: Canada
Referrals: 15
Posts: 5,396
Send a message via MSN to Blupig Send a message via Skype™ to Blupig
 
MushyMuncher
Default Re: Omegle Auto Talker

There's no element in the webpage that has the name you're searching for

NullReferenceException = No reference = You're talking to something that doesn't exist

Last edited by Blupig : 08-30-2010 at 04:24 PM.
Copy this message to clipboard Reply With Quote
  #3  
Old 08-30-2010, 08:39 PM
cp's Avatar
an cat
Mudkips Java Programmers Visual Basic Programmers Retired Global Moderator
 
Join Date: Jan 2007
Location: [+]
Referrals: 6
Posts: 3,276
 
Default Re: Omegle Auto Talker

I took a look at the page, and it seems it's in an iframe. The actual button is not on omegle.com, but on http://cardassia.omegle.com/ (that's the url for me, at least)

Try running the same code on that url and you should be fine.
__________________
Do you like bitcoins? Do you want to buy or sell bitcoins? PM me or check out this thread.
Ex-programming mod, Ex-market mod, Ex-Head User Educator, Ex-Global Mod
Copy this message to clipboard Reply With Quote
  #4  
Old 08-30-2010, 08:48 PM
Forum Addict
 
Join Date: Mar 2007
Location: The Grand Exchange
Referrals: 1
Posts: 481
Send a message via MSN to i am foolish
 
Default Re: Omegle Auto Talker

Same thing. :/
Copy this message to clipboard Reply With Quote
  #5  
Old 08-30-2010, 08:58 PM
Guru
 
Join Date: Jun 2005
Location: Canada
Posts: 1,843
 
Default Re: Omegle Auto Talker

On the page cp suggested but button is done weirdly.

Code:
<td id="chattypetextcell"><img src="/static/textbtn.png" alt="" id="textbtn"></td>
Did you try:

Code:
WebBrowser1.Document.GetElementById("textbtn").InvokeMember("click")
or

Code:
WebBrowser1.Document.GetElementById("chattypetextcell").InvokeMember("click")
__________________

Copy this message to clipboard Reply With Quote
  #6  
Old 08-30-2010, 09:41 PM
Forum Addict
 
Join Date: Mar 2007
Location: The Grand Exchange
Referrals: 1
Posts: 481
Send a message via MSN to i am foolish
 
Default Re: Omegle Auto Talker

Quote:
Originally Posted by blindkilla View Post
On the page cp suggested but button is done weirdly.

Code:
<td id="chattypetextcell"><img src="/static/textbtn.png" alt="" id="textbtn"></td>
Did you try:

Code:
WebBrowser1.Document.GetElementById("textbtn").InvokeMember("click")
or

Code:
WebBrowser1.Document.GetElementById("chattypetextcell").InvokeMember("click")
Bah, I think textbtn is correct. Testing now.
Copy this message to clipboard Reply With Quote
  #7  
Old 08-30-2010, 09:42 PM
Forum Addict
 
Join Date: Mar 2007
Location: The Grand Exchange
Referrals: 1
Posts: 481
Send a message via MSN to i am foolish
 
Default Re: Omegle Auto Talker

Worked! :] thanks
Copy this message to clipboard Reply With Quote
Reply



RS Legacy Mode Cheap RS Gold Store

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 04:41 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.1