drmadgr / imdb-api

Automatically exported from code.google.com/p/imdb-api
0 stars 0 forks source link

Compiler returning object not set error when searching by ID #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There is an error regarding searching by id, using the example program  the
compiler returns a object not set error  

searching around I have found that m_title is not set in IMDB.cs  adding
the following line resolves the error

public bool searchByID ( string ID )
        {
            m_title = String.Empty;  ***** New Line *****
            page = "";
            string url = "http://www.imdb.com/title/" + ID + "/";

Original issue reported on code.google.com by dse...@gmail.com on 23 Sep 2008 at 11:48

GoogleCodeExporter commented 8 years ago

Original comment by jpmassena@gmail.com on 13 Oct 2008 at 10:38