Click here to Skip to main content
16,007,814 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: EventSync for lockdown in Windows XP Professional Pin
Joshua Boyle21-Sep-06 10:28
Joshua Boyle21-Sep-06 10:28 
GeneralRe: EventSync for lockdown in Windows XP Professional Pin
Dave Kreskowiak21-Sep-06 10:40
mveDave Kreskowiak21-Sep-06 10:40 
QuestionDataRow Access Problem Pin
nlindley721-Sep-06 7:17
nlindley721-Sep-06 7:17 
AnswerRe: DataRow Access Problem Pin
Kschuler21-Sep-06 8:05
Kschuler21-Sep-06 8:05 
GeneralRe: DataRow Access Problem Pin
nlindley721-Sep-06 8:26
nlindley721-Sep-06 8:26 
GeneralRe: DataRow Access Problem Pin
Kschuler21-Sep-06 8:33
Kschuler21-Sep-06 8:33 
GeneralRe: DataRow Access Problem Pin
nlindley721-Sep-06 8:43
nlindley721-Sep-06 8:43 
GeneralRe: DataRow Access Problem Pin
Kschuler21-Sep-06 8:49
Kschuler21-Sep-06 8:49 
When you say that you are checking for nothing, are you checking just the DataRow object? I think your code should look something like this:

dtCustomersUpdate = DsNameandAddress.Tables.Item("NameandAddress")

drCustomersSearch = dtCustomersUpdate.Rows.Find(txtSearch.Text)

If drCustomersSearch Is Nothing Then
    MessageBox.Show("Customer could not be found.")
Else

    If drCustomersSearch("MortgageNumber") Is DBNull.Value Then
        MessageBox.Show("Your entry is not a valid Mortgage number." & Chr(13) & Chr(13) & "Try search again.", "Input Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
        txtSearch.Focus()
        txtMortgageNumber.Text = ""

    Else : txtMortgageNumber.Text = drCustomersSearch("MortgageNumber")
    End If
End If

AnswerRe: DataRow Access Problem Pin
Dave Kreskowiak21-Sep-06 8:54
mveDave Kreskowiak21-Sep-06 8:54 
GeneralRe: DataRow Access Problem Pin
nlindley721-Sep-06 9:12
nlindley721-Sep-06 9:12 
QuestionHow I can get the text from x,y coordinates? Pin
Marco225021-Sep-06 7:09
Marco225021-Sep-06 7:09 
AnswerRe: How I can get the text from x,y coordinates? Pin
Dave Kreskowiak21-Sep-06 8:17
mveDave Kreskowiak21-Sep-06 8:17 
QuestionRe: How I can get the text from x,y coordinates? Pin
David Crow21-Sep-06 8:41
David Crow21-Sep-06 8:41 
AnswerRe: How I can get the text from x,y coordinates? Pin
Marco225021-Sep-06 8:54
Marco225021-Sep-06 8:54 
GeneralRe: How I can get the text from x,y coordinates? Pin
David Crow21-Sep-06 9:06
David Crow21-Sep-06 9:06 
QuestionHow to capture the higlighted text in axbrowser? Pin
Kenneth Villasenor21-Sep-06 5:57
Kenneth Villasenor21-Sep-06 5:57 
AnswerRe: How to capture the higlighted text in axbrowser? Pin
Dave Kreskowiak21-Sep-06 6:29
mveDave Kreskowiak21-Sep-06 6:29 
GeneralRe: How to capture the higlighted text in axbrowser? Pin
Kenneth Villasenor21-Sep-06 16:35
Kenneth Villasenor21-Sep-06 16:35 
GeneralRe: How to capture the higlighted text in axbrowser? Pin
Dave Kreskowiak22-Sep-06 2:18
mveDave Kreskowiak22-Sep-06 2:18 
QuestionParameter Field Value .NET Pin
netnest21-Sep-06 5:10
netnest21-Sep-06 5:10 
QuestionEvent Logging fails on windows 2000 Pin
manish2421-Sep-06 3:46
manish2421-Sep-06 3:46 
AnswerRe: Event Logging fails on windows 2000 Pin
Dave Kreskowiak21-Sep-06 5:55
mveDave Kreskowiak21-Sep-06 5:55 
GeneralRe: Event Logging fails on windows 2000 Pin
manish2421-Sep-06 6:05
manish2421-Sep-06 6:05 
GeneralRe: Event Logging fails on windows 2000 Pin
Dave Kreskowiak21-Sep-06 6:26
mveDave Kreskowiak21-Sep-06 6:26 
QuestionWhere is my data? Pin
Rashar21-Sep-06 3:10
Rashar21-Sep-06 3:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.