Search the web
Sign In
New User? Sign Up
AIL_Development · AIL Developer's Forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
IpicturetoImage   Message List  
Reply | Forward Message #102 of 125 |
Re: IpicturetoImage

hi kevin,

i got that class from the previous post, and it works perfectly in a
.net 2 project. I already had a reference to stdole.dll, however it's
from "VisualStudioTools for Office\PIA\office11\" folder.
not really sure of the difference. one shows it's type as an assembly,
the other an activex. should i definately use the one you mentioned?
it shows up as stdole1 in my project.

i am using like this -

Dim maxthumb As Image =
cStdOle.ConvertFrom_StdPicture(CType(DSOaccess.SummaryProperties.Thumbnail,
stdole.StdPicture), cStdOle.ReturnTypes.rt_Image)



one more question perhaps outside the realms of AIL support, but
would using these OLE com classes cause any issues with x64 environments?

thanks for the help, i really appreciate it.




Thu Oct 9, 2008 6:12 pm

bluescreenwe...
Offline Offline
Send Email Send Email

Forward
Message #102 of 125 |
Expand Messages Author Sort by Date

And another one! I am using a com object interop (DSOfile) in a VB.net project, and in order to extract the thumbnail property of a file, I am using another ...
bluescreenweasel
bluescreenwe...
Offline Send Email
Oct 8, 2008
10:31 pm

... The "Convert_PictureToBitmap" function takes an StdPicture object in VB5/VB6, and takes a System.Drawing.Image object in .NET... then converts it to a...
Kevin Wilson
kwilson1997
Offline Send Email
Oct 8, 2008
10:49 pm

what I needed was a "convert stdpicture to native dotnet image". The class you provided worked perfectly when i put it into my project. the thumbnail was...
bluescreenweasel
bluescreenwe...
Offline Send Email
Oct 9, 2008
5:36 pm

... If all you need to do is convert an StdPicture object to a System.Drawing.Image object, then don't bother with AIL. It's not designed to do that, nor does...
Kevin Wilson
kwilson1997
Offline Send Email
Oct 9, 2008
5:56 pm

hi kevin, i got that class from the previous post, and it works perfectly in a .net 2 project. I already had a reference to stdole.dll, however it's from...
bluescreenweasel
bluescreenwe...
Offline Send Email
Oct 10, 2008
8:51 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help