Drew Wutka
DWUTKA at marlow.com
Fri Jun 13 09:48:58 CDT 2003
Just an off the wall suggestion. Why not build either a custom form or web page, that does what you are trying to do? It would probably be easier then trying to modify something that's out there already. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, June 13, 2003 9:06 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Well, that code will launch Windows Explorer, but I'm tasked with actually integrating some type of image browser into the app. That's why I used ther WebBrowser in the first place. Good idea, though. -C- ---- Original Message ---- From: accessd at shaw.ca To: accessd at databaseadvisors.com, Subject: RE: [AccessD] VB6: Using the Webbrowser control to viewfiles-Thumbnail view? Date: Fri, 13 Jun 2003 00:29:22 -0700 >Hi Christopher: > >Yes there is: > >Option Explicit > >Public Declare Function ShellExecute Lib "shell32.dll" _ > Alias "ShellExecuteA" _ > (ByVal hwnd As Long, _ > ByVal lpOperation As String, _ > ByVal lpFile As String, _ > ByVal lpParameters As String, _ > ByVal lpDirectory As String, _ > ByVal nShowCmd As Long) As Long > >Public Const SW_SHOWNORMAL = 1 > > >Private Sub frmButton01_Click() > > Call ShellExecute(0&, "Open", _ > "explorer.exe", "/e,/n,c:\", _ > 0&, SW_SHOWNORMAL) > >End Sub > >Something like this would work. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Thursday, June 12, 2003 7:53 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files-Thumbnail view? > > >OK, let me ask this, then: > >Is there a way to embed Windows Explorer into a VB form? > >-C- > >---- Original Message ---- >From: accessd at shaw.ca >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] VB6: Using the Webbrowser control to view >files -Thumbnail view? >Date: Thu, 12 Jun 2003 19:37:11 -0700 > >>Hi Christopher: >> >>In order for the process to work you will need two copies of the >>picture, >>one the thumbnail and one the full-size version. They could he >named >>like >>'IDNumber + 'th.jpg and 'IDNumber + 'fu.jpg'. It is not advisable >to >>force a >>image to a specific size on a web page. Too much process and a poor >>quality >>images. Check out the <img> tag for html coding. >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Christopher >>Hawkins >>Sent: Thursday, June 12, 2003 7:05 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] VB6: Using the Webbrowser control to view files - >>Thumbnail view? >> >> >>So here's my dilemma. >> >>I have a form that is displaying data from a database. >> >>My client wants to see a thumnail of all the images that are related >>to the record being viewed - the images are stored in a folder with >>the same name as the record ID, so finding them is easy. >> >>I dropped a Webbrowser control on the form, fed it the appropriate >>path, and BAM! I'm looking at a list of files. Close, but I need >to >>see a thumbnail view, not a list view. >> >>I can right-click in the control and select View > Thumbnail, but my >>client wants the images to appear in thumbnail view without his >users >>having to do anything. >> >>I am thus far unable to find a property of the WebBrowser control >>that would allow this, and Google has failed me. Does anyone have >>any ideas? >> >>-Christopher- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com