Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image Viewer
Message
From
25/07/2003 07:44:33
 
 
To
24/07/2003 21:57:41
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00812640
Message ID:
00813443
Views:
10
Hi Teo,

>Could you Please show me an example.

Create a form (I use to do it programatically) and add the Explorer control:
Add Object oleBrowserWin  as oleControl  with Top       =  15               , ;
                                              Left      =  15               , ;
                                              Height    = 345               , ;
                                              Width     = 540               , ;
                                              Name      = "oleBrowserWin"   , ;
                                              OLEClass  = "Shell.Explorer.2"
Below are some methods you might use:
        Procedure ExplorerLoadImage   &&  Called whenever you want Explorer to show cLoadFileName
*                 -----------------
                  ThisForm.oleBrowserWin.Navigate (cLoadFileName)
        EndProc

        Procedure oleBrowserWin.Refresh  &&  This is due to a problem with the control
*                 ------------- -------
                  NoDefault
        EndProc

        Procedure oleBrowserWin.Init
*                 ------------- ----
                  cLoadFileName = "about:blank"

                  This.Navigate (cLoadFileName)
        EndProc
Try it and if you need further help, please let me know.

Regards,

Fernando
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform