Problem with web service
I'm working through the code for using the Amazon.com search service and have run into a problem in the btnSearch_Click procedure. On the line
.Items(0).TotalResults = 0 Then
I get the following error:
Object reference not set to an instance of an object
If I try to evaluate awsitemsearchresponse.items(0).totalresults in the immediate window I get the following:
Referenced 'Items' has a value of nothing
I've looked very carefully at my code to make sure I haven't made a mistake entering it and it looks correct. Do you have an suggestions?
Ross
|