Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Exception Error
 

Exception Error

Why would the following line:

Dim dlResult As DataLayerResult = m_DataLayer.Login(txtUserName.Text, txtPassword.Text)

give me an exception error

System.NullReferenceException - Object reference not set to an instance of an object

when I'm sure I am passing a user name and password across?

Many thanks

Mark
MigrationUser 1  Thursday, May 01, 2003 11:15 AM
Thinking about it, I should explain further:  I'm using a similar structure to TaskVision in my app; when I try to log in I am receiving the exception error as explained in my last post.

Any help would be very much appreciated.

Mark
MigrationUser 1  Friday, May 02, 2003 8:26 AM

You can use google to search for other answers

Custom Search

More Threads

• Forms without icon
• Is FotoVision an ongoing development project?
• duplicate image finder
• email encode easy to thwart?
• Stuck at the first code line of the terrarium...
• Local Stats
• how to get the service "startup type" from an external windows application
• How to Set Tooltip to Combobox Item at Binding Time in vb.net
• antenna sample flaws
• Vacation form in outlook 2003, calculate time slot