Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 4th, 2007, 05:25 PM
313 Games
Guest
 
Posts: n/a
Default SavePicture problem

hey,

i need some help with the savepicture function. i do not have an help of
vb6, so i might ask it here.

when i call the function like this:

SavePicture Picture1.Picture, "c:\BeeldWebCam.bmp"

it will return in an error like this:

Run-time error '380':

Invalid property value

What im doing wrong?


  #2  
Old January 4th, 2007, 05:35 PM
Dean Earley
Guest
 
Posts: n/a
Default Re: SavePicture problem

313 Games wrote:
Quote:
hey,
>
i need some help with the savepicture function. i do not have an help of
vb6, so i might ask it here.
>
when i call the function like this:
>
SavePicture Picture1.Picture, "c:\BeeldWebCam.bmp"
>
it will return in an error like this:
>
Run-time error '380':
>
Invalid property value
>
What im doing wrong?
If that is failing then no *picture* has been loaded into that picturebox.
How is the image getting into that picturebox?
If it's being drawn by VB, then you may be able to try saving .Image
property instead.

--
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems
  #3  
Old January 4th, 2007, 05:35 PM
Rick Rothstein \(MVP - VB\)
Guest
 
Posts: n/a
Default Re: SavePicture problem

i need some help with the savepicture function. i do not have an help of
Quote:
vb6, so i might ask it here.
>
when i call the function like this:
>
SavePicture Picture1.Picture, "c:\BeeldWebCam.bmp"
>
it will return in an error like this:
>
Run-time error '380':
>
Invalid property value
Use the Image property instead of the Picture property...

SavePicture Picture1.Image, "c:\BeeldWebCam.bmp"

Rick


  #4  
Old January 4th, 2007, 05:45 PM
313 Games
Guest
 
Posts: n/a
Default Re: SavePicture problem

thanks, this solved my problem.

"Rick Rothstein (MVP - VB)" <rickNOSPAMnews@NOSPAMcomcast.netschreef in
bericht news:iZ-dnSc8nZrYpwDYnZ2dnUVZ_ruknZ2d@comcast.com...
Quote:
Quote:
>i need some help with the savepicture function. i do not have an help of
>vb6, so i might ask it here.
>>
>when i call the function like this:
>>
> SavePicture Picture1.Picture, "c:\BeeldWebCam.bmp"
>>
>it will return in an error like this:
>>
> Run-time error '380':
>>
> Invalid property value
>
Use the Image property instead of the Picture property...
>
SavePicture Picture1.Image, "c:\BeeldWebCam.bmp"
>
Rick
>

  #5  
Old January 4th, 2007, 05:45 PM
313 Games
Guest
 
Posts: n/a
Default Re: SavePicture problem

rick has already solved my problem ;-) but thanks anyways :-) this is more
information than rick gave me.

"Dean Earley" <dean.earley@icode.co.ukschreef in bericht
news:459d39e5$0$2442$db0fefd9@news.zen.co.uk...
Quote:
313 Games wrote:
Quote:
>hey,
>>
>i need some help with the savepicture function. i do not have an help of
>vb6, so i might ask it here.
>>
>when i call the function like this:
>>
> SavePicture Picture1.Picture, "c:\BeeldWebCam.bmp"
>>
>it will return in an error like this:
>>
> Run-time error '380':
>>
> Invalid property value
>>
>What im doing wrong?
>
If that is failing then no *picture* has been loaded into that picturebox.
How is the image getting into that picturebox?
If it's being drawn by VB, then you may be able to try saving .Image
property instead.
>
--
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team
>
iCode Systems

 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles