LoadPicture method

saif009972

Registered User.
Local time
Tomorrow, 05:12
Joined
Jan 15, 2008
Messages
26
Hello guys I wish your days are going better. Can you help me how to define size in the LoadPicture method. It's syntex is as follow

LoadPicture([FileName],[Size],[ColorDepth],[x],[y])

I require help only for size
 
Where in the world did you get this LoadPicture methd?
As far as I know, there is no Size parameter for the VBA LoadPicture method. As a matter of fact, there is no ColorDepth or X and Y either. There is a single parameter to the LoadPicture method.....FileName.

Of course I may be wrong, I just never seen such a thing.

If I'm not then what you have is a Function someone developed to enhance the existing LoadPicture Function but then again, that doesn't make any sense since it's named the same as an already existing function of the same name which would be taboo.

For the heck of it, just enter any one of these numbers where is specifies Size:

16 or
32 or
48 or
64

.
 
Must be referring to VB I think.

The online help is here which includes the possible values for size.

But I agree with Cyberlynx about LoadPicture in VBA (at least according to the help documentation)

hth
Chris
 
Well...there you go. It is indeed a VB6 function and all those additional parameters apply to that environment - not the VBA environment.

The link stopher has supplied tells it all :)
.
 

Users who are viewing this thread

Back
Top Bottom