On Oct 10, 2006, at 14:57 UTC, Long Huynh wrote:

> I recompile my code in RB r4, I've got an error.
> It expects an Int32 instead of Picture object.
> 
> Dim thumb As Picture
>  :
>  :
> thumb = New Picture( w, h, 32)
> 
>  :
>  :
> 
> return thumb

Show us the definitions of w and h.  Show us a bit of the surrounding
code, too, in case the error isn't actually on the New Picture line. 
Finally, try changing the names of thumb, w, and h, in case one of
these is actually defined somewhere else that you're just not thinking
about at the moment.

In short, the code above is correct as shown, so something else is
going on that you haven't yet realized, and you'll probably go "doh!"
when you find it.

HTH,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to