How do you pass releasemin and releasemax to MovieBrowse

Apr 8, 2012 at 4:59 PM


I'm creating a movie database application using Visual Basic .NET 2010 and TheMovieDB.dll.  When I try to pass releasemin and releasemax values to the MovieBrowse method I receive the following error, Expecting State 'Element'..Encountered 'Text' with name '', namespace "."  I'm passing datetime values.  Other parameters of the MovieBrowse method works like page, perpage, query, and genres.  Is there something wrong with the dll's processing of releasemin and releasemax or am I passing the values incorrectly?  Could you tell me how to pass the values for those parameters or is there something that needs to be fixed in the dll?


I tried defining the values this way




Dim dReleaseMin As System.Nullable(Of DateTime) = CDate("01/01/2011 12:01:00 AM")



Dim dReleaseMax As System.Nullable(Of DateTime) = CDate("01/31/2011 11:59:00 PM")

 and this way





Dim dReleaseMin As DateTime = CDate("01/01/2011 00:01")



Dim dReleaseMax As DateTime = CDate("01/31/2011 23:59")