Wrox Programmer Forums
|
BOOK: Wrox's Visual Basic 2005 Express Edition Starter Kit ISBN: 978-0-7645-9573-8
This is the forum to discuss the Wrox book Wrox's Visual Basic 2005 Express Edition Starter Kit by Andrew Parsons; ISBN: 9780764595738
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Wrox's Visual Basic 2005 Express Edition Starter Kit ISBN: 978-0-7645-9573-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 4th, 2006, 03:27 PM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

 
Old April 4th, 2006, 03:31 PM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Never mind. Right after I posted the topic I noticed that when I copied my subscriptionID I included a leading space.

Ross






Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Custom Objects Problem Amateur .NET Web Services 0 March 19th, 2006 11:52 AM
Terra Server Web service problem lkubler BOOK: Beginning Access 2003 VBA 2 October 10th, 2005 11:37 PM
Problem when downloading web service??? joan .NET Web Services 2 May 16th, 2004 06:39 AM
Urgent Web Service Problem DKillingsworth .NET Web Services 1 August 4th, 2003 12:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.