Click here to Skip to main content
16,015,218 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: launching windows exploere in 'Film Strip' mode Pin
Sheng Jiang 蒋晟15-Nov-05 8:08
Sheng Jiang 蒋晟15-Nov-05 8:08 
GeneralRe: launching windows exploere in 'Film Strip' mode Pin
YaronNir15-Nov-05 22:12
YaronNir15-Nov-05 22:12 
GeneralRe: launching windows exploere in 'Film Strip' mode Pin
Sheng Jiang 蒋晟16-Nov-05 4:18
Sheng Jiang 蒋晟16-Nov-05 4:18 
GeneralRe: launching windows exploere in 'Film Strip' mode Pin
YaronNir14-Nov-05 21:42
YaronNir14-Nov-05 21:42 
QuestionRe: launching windows exploere in 'Film Strip' mode Pin
David Crow15-Nov-05 2:54
David Crow15-Nov-05 2:54 
AnswerRe: launching windows exploere in 'Film Strip' mode Pin
YaronNir15-Nov-05 3:11
YaronNir15-Nov-05 3:11 
GeneralRe: launching windows exploere in 'Film Strip' mode Pin
David Crow15-Nov-05 3:28
David Crow15-Nov-05 3:28 
GeneralRe: launching windows exploere in 'Film Strip' mode Pin
YaronNir16-Nov-05 0:17
YaronNir16-Nov-05 0:17 
Finally i've solved the problem


it appeared to be that if i launch web browser (using IWebBrowser2) and set it to my desire
folder, it presents the folder automatically in FilmStrip mode....

so all i had to do is this:


    CString szFilesDir(_T("c:\\windows\\system32\\MyDir"));
CComVariant vaURL( ( LPCTSTR) szFilesDir);
CComVariant vtEmpty;

IWebBrowser2Ptr spWB                    = NULL;

HRESULT hr = spWB.CreateInstance(CLSID_InternetExplorer);
hr = spWB->put_StatusBar(VARIANT_TRUE);
hr = spWB->put_ToolBar(VARIANT_TRUE);
hr = spWB->put_MenuBar(VARIANT_TRUE);
hr = spWB->put_Visible(VARIANT_TRUE);
hr = spWB->Navigate2(&vaURL,&vtEmpty,&vtEmpty,&vtEmpty,&vtEmpty);


thank you very much both of you, for all your help!!!

Yaron


Ask not what your application can do for you,
Ask what you can do for your application
QuestionCrash in my program when the screensaver is running Pin
André RB14-Nov-05 0:59
André RB14-Nov-05 0:59 
AnswerRe: Crash in my program when the screensaver is running Pin
ThatsAlok14-Nov-05 1:15
ThatsAlok14-Nov-05 1:15 
GeneralRe: Crash in my program when the screensaver is running Pin
André RB14-Nov-05 4:25
André RB14-Nov-05 4:25 
GeneralRe: Crash in my program when the screensaver is running Pin
normanS14-Nov-05 18:22
normanS14-Nov-05 18:22 
GeneralRe: Crash in my program when the screensaver is running Pin
André RB15-Nov-05 23:38
André RB15-Nov-05 23:38 
QuestionRe: Crash in my program when the screensaver is running Pin
David Crow15-Nov-05 3:53
David Crow15-Nov-05 3:53 
QuestionPassing structures using WM_COPYDATA between processes Pin
Axonn Echysttas14-Nov-05 0:05
Axonn Echysttas14-Nov-05 0:05 
AnswerRe: Passing structures using WM_COPYDATA between processes Pin
kakan14-Nov-05 2:12
professionalkakan14-Nov-05 2:12 
AnswerRe: Passing structures using WM_COPYDATA between processes Pin
Tim Smith14-Nov-05 3:01
Tim Smith14-Nov-05 3:01 
QuestionSHBrowseForFolder Pin
Rage13-Nov-05 23:37
professionalRage13-Nov-05 23:37 
AnswerRe: SHBrowseForFolder Pin
*Dreamz14-Nov-05 0:08
*Dreamz14-Nov-05 0:08 
AnswerRe: SHBrowseForFolder Pin
David Crow14-Nov-05 2:40
David Crow14-Nov-05 2:40 
AnswerA long standing favorite... Pin
jhwurmbach14-Nov-05 3:06
jhwurmbach14-Nov-05 3:06 
QuestionDraw arc algorithm Pin
gandalf198313-Nov-05 23:21
gandalf198313-Nov-05 23:21 
AnswerRe: Draw arc algorithm Pin
Rajesh R Subramanian13-Nov-05 23:30
professionalRajesh R Subramanian13-Nov-05 23:30 
Questioncaveats when exporting classes from a dll? Pin
WernerP13-Nov-05 22:48
WernerP13-Nov-05 22:48 
AnswerRe: caveats when exporting classes from a dll? Pin
Steen Krogsgaard14-Nov-05 2:24
Steen Krogsgaard14-Nov-05 2:24 

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.