Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 4th, 2006, 03:27 PM
Registered User
 
Join Date: Apr 2006
Location: , , .
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

Reply With Quote
  #2 (permalink)  
Old April 4th, 2006, 03:31 PM
Registered User
 
Join Date: Apr 2006
Location: , , .
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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:07 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.