Click here to Skip to main content
16,005,121 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionAny samples on System Configuration forms? Pin
Zakiro25-Jul-05 15:47
Zakiro25-Jul-05 15:47 
AnswerRe: Any samples on System Configuration forms? Pin
Dave Kreskowiak26-Jul-05 3:48
mveDave Kreskowiak26-Jul-05 3:48 
GeneralNeed help with VB Winsock & SNMP Pin
donjuane25-Jul-05 12:02
donjuane25-Jul-05 12:02 
GeneralRe: Need help with VB Winsock & SNMP Pin
progload25-Jul-05 13:42
progload25-Jul-05 13:42 
GeneralAccess methods in other interfaces on DLL/com-objets Pin
MaWeRic25-Jul-05 11:28
MaWeRic25-Jul-05 11:28 
GeneralRe: Access methods in other interfaces on DLL/com-objets Pin
progload25-Jul-05 13:52
progload25-Jul-05 13:52 
GeneralRe: Access methods in other interfaces on DLL/com-objets Pin
MaWeRic25-Jul-05 18:22
MaWeRic25-Jul-05 18:22 
GeneralRe: Access methods in other interfaces on DLL/com-objets Pin
progload25-Jul-05 18:54
progload25-Jul-05 18:54 
No I don't, Like I said in the last message, I haven't used the shimgvw.dll

It looks like a lot of folks are looking for Info on it, when I seached on google, but the functions are undocumented so without a lot of work it may be quite difficult to decode all that it can do. Just playing with it, I got VS to generate a wrapper, but it doesn't wrap the IPreview3 functions.

I did come across a microsoft post about it, on how to use it under the shell but it's not much:

'-------------------------------------
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
'Process.Start("c:\windows\explorer.exe", "C:\drums.jpg")
Process.Start("c:\windows\system32\rundll32.exe",
"C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen c:\drums.jpg")
End Sub

Please Apply My Suggestion Above And Let Me Know If It Helps Resolve Your
Problem.


Best regards,

Peter Huang
Microsoft Online Partner Support
'----------------------------------------------------------

and came across this reference for it, But absolutly no documentation what-so-ever.

'------------------------------------------------------------
PREVIEWLib reference for C# and VB.NET
Methods marked * are get/set properties.
PREVIEWLib Classes:

DPreviewEvents

Void OnActualSizePress
Void OnBestFitPress
Void OnClose
Void OnError
Void OnPreviewReady

DPreviewEvents_Event

Void add_OnActualSizePress
Void add_OnBestFitPress
Void add_OnClose
Void add_OnError
Void add_OnPreviewReady
Void remove_OnActualSizePress
Void remove_OnBestFitPress
Void remove_OnClose
Void remove_OnError
Void remove_OnPreviewReady

DPreviewEvents_EventProvider

Void add_OnActualSizePress
Void add_OnBestFitPress
Void add_OnClose
Void add_OnError
Void add_OnPreviewReady
Void Dispose
Void Finalize
Void remove_OnActualSizePress
Void remove_OnBestFitPress
Void remove_OnClose
Void remove_OnError
Void remove_OnPreviewReady

DPreviewEvents_SinkHelper

Void OnActualSizePress
Void OnBestFitPress
Void OnClose
Void OnError
Void OnPreviewReady

IImgCmdTarget

Void ActualSize
Void BestFit
Void GetMode (pdw)
Void GetPageFlags (pdw)
Void NextPage
Void PreviousPage
Void Rotate (dwAngle)
Void ZoomIn
Void ZoomOut

IPreview

Int32 cxImage *
Int32 cyImage *
Int32 printable *
Void Show (var)
Void ShowFile (bstrFileName,iSelectCount)
IPreview2

Void ActualSize
Void BestFit
Int32 cxImage *
Int32 cyImage *
Int32 printable *
Void Show (var)
Void ShowFile (bstrFileName,iSelectCount)
Void SlideShow
Void Zoom (iSelectCount)
IPreview3

Void ActualSize
Void BestFit
Int32 cxImage *
Int32 cyImage *
Void Rotate (dwAngle)
Void SaveAs (bstrPath)
Void SetWallpaper (bstrPath)
Void Show (var)
Void ShowFile (bstrFileName)
Void SlideShow
Void Zoom (iSelectCount)
PreviewClass

Void ActualSize
Void add_OnActualSizePress
Void add_OnBestFitPress
Void add_OnClose
Void add_OnError
Void add_OnPreviewReady
Void BestFit
Int32 cxImage *
Int32 cyImage *
Int32 printable *
Void remove_OnActualSizePress
Void remove_OnBestFitPress
Void remove_OnClose
Void remove_OnError
Void remove_OnPreviewReady
Void Show (var)
Void ShowFile (bstrFileName,iSelectCount)
Void SlideShow
Void Zoom (iSelectCount)

PREVIEWLib enumerated types:


DPreviewEvents_OnActualSizePressEventHandler
DPreviewEvents_OnBestFitPressEventHandler
DPreviewEvents_OnCloseEventHandler
DPreviewEvents_OnErrorEventHandler
DPreviewEvents_OnPreviewReadyEventHandler
'-----------------------------------------------------


Sorry I can't help you out more, But I'm in the middle of a large project now, when I have time, I'll try to check out some more of the functions.

In the meantime if you come across any documentation that would be of interest drop me a note.

progload








GeneralSorry disregard my message Pin
progload25-Jul-05 13:57
progload25-Jul-05 13:57 
GeneralPicture from video Pin
lespaul3625-Jul-05 10:11
lespaul3625-Jul-05 10:11 
GeneralRe: Picture from video Pin
progload25-Jul-05 11:15
progload25-Jul-05 11:15 
GeneralError Code 3021: Pin
amitranjanmishra25-Jul-05 3:43
amitranjanmishra25-Jul-05 3:43 
GeneralRe: Error Code 3021: Pin
Rob Graham25-Jul-05 4:48
Rob Graham25-Jul-05 4:48 
GeneralDatagrid - Select row Pin
directred25-Jul-05 1:22
directred25-Jul-05 1:22 
GeneralRe: Datagrid - Select row Pin
directred25-Jul-05 1:30
directred25-Jul-05 1:30 
GeneralRe: Datagrid - Select row Pin
Member 210009525-Jul-05 18:40
Member 210009525-Jul-05 18:40 
GeneralRe: Datagrid - Select row Pin
rudy.net26-Jul-05 6:22
rudy.net26-Jul-05 6:22 
Generalnewbie project help!!!! Pin
24-Jul-05 23:14
suss24-Jul-05 23:14 
GeneralRe: newbie project help!!!! Pin
Dave Kreskowiak25-Jul-05 5:51
mveDave Kreskowiak25-Jul-05 5:51 
GeneralRe: newbie project help!!!! Pin
26-Jul-05 1:40
suss26-Jul-05 1:40 
GeneralRe: newbie project help!!!! Pin
Dave Kreskowiak26-Jul-05 1:46
mveDave Kreskowiak26-Jul-05 1:46 
GeneralRe: newbie project help!!!! Pin
Member 213348426-Jul-05 2:19
Member 213348426-Jul-05 2:19 
GeneralRe: newbie project help!!!! Pin
Anonymous26-Jul-05 3:46
Anonymous26-Jul-05 3:46 
GeneralRe: newbie project help!!!! Pin
Member 213348429-Jul-05 8:22
Member 213348429-Jul-05 8:22 
GeneralCOM registration and PInvoke Pin
gxdata24-Jul-05 23:01
gxdata24-Jul-05 23:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.