473,394 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

nullrefererence exception was unhandled

Prathap
37
nullrefererence exception was unhandled. I'm getting this error. could someone pls help
here is my code
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
WebBrowser1.Document.GetElementById("Email").SetAt tribute("value", TextBox1.Text)
WebBrowser1.Document.GetElementById("Password").Se tAttribute("value", TextBox1.Text)
WebBrowser1.Document.GetElementById("Signin").Invo keMember("Click")
End Sub
Nov 28 '11 #1
1 1120
Your WebBrowser1.Document does not exist or hasn't been properly defined as an object, or one of the elements (email,password,signin) don't exist... Or something along those lines
Dec 14 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Lou | last post by:
I can't track down this exception. If anyone has any ideas, please pass them on. I've been trying to kill this bug for days now. An unhandled exception of type 'System.NullReferenceException'...
1
by: Parag Mahajan | last post by:
Hello, I am using VS.Net 2003 1.1 framework. I have a VB.Net client project consuming Axis 1.1 web service. Whenever I try to create an instance of the WebService, I get the following...
3
by: NickP | last post by:
Hi there, Im experiencing an unhandled exception that seems to be impossible for me to catch. I am launching an assembly of mine from within another assembly using the Process object. Once the...
0
by: Amy L | last post by:
While stress testing an application we have I ran into a Com-Interop error that was unhandled. The actual error said that the pagefile was too small and gave me an HResult error. The odd part was...
8
by: jporter188 | last post by:
Hello, I am working on a project to manipulate XML files. All of the files, the code, and the output are on network drives. When I run my program I get an exception (see below). I tried giving...
8
by: amyl | last post by:
I have an application whose main function is encapsulated in encased in a try/catch block catching Exception. My application has crashed on several occasions with a CLR exception. CLR exception...
10
by: Penelope Dramas | last post by:
Hello, I am using following code to handle unhandled exceptions in Windows Forms. Shared Sub Main() Dim GlobalExceptionHandler As New GlobalExceptionHandler AddHandler...
6
by: swathi amireddy | last post by:
Currently im trying to migrate a project from .net 1.1 to 2.0.While running the application its giving an exception for the below code while doing the update operation: protected void...
5
by: sweety56 | last post by:
The error I get is Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index This points to using System; using...
7
BeemerBiker
by: BeemerBiker | last post by:
I am trying my hand at throwing custom exceptions. Unfortunately, while my code to catch them does work, all the other exceptions go thru my exception handler. How do I let the exception continue on...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.