I want to open webDAV folder from inside VC++ code (in the same manner like
it is done, for instance in: IE6.0 - you select open, check open as a web
folder and simply type some address and you have network place available
inside your system).
I though that I can use WNetAddConnection2 function but it works only for
path like: \\computer_name\directory and does not works for
http://192.168.0.224/user_dir/dir (in IE it works perfectly... :( ).
Do you know any solution how to do it in simple programmatically way which
means supported by system? I know that connection by OLE DB is possible but
it takes to much effort to be realized...
Thanks in advice for every simple answer.
regards
Jacek
Try putting a web browser control on the form and Navigate to the desired
URL.
If you want to open IE outside your application with the URL, then use
ShellExecute using the URL.
HTH
- Tim
"Jacek Centkowski" <ja...@fake.pl> wrote in message
news:bc6m2v$2rjs$1...@news2.ipartners.pl...
Could you specify more this web browser control? Have you been using anyone?
Regards
Jacek
Użytkownik "Tim" <Tim@NoSpam> napisał w wiadomości
news:eGmikxAM...@TK2MSFTNGP11.phx.gbl...
Control Double Click on the new Web Browser control and it will ask if you
want the controll inserted & for wrapper code to be to be created. Click OK
and then specify a name for your control variable EG m_web ...
You will then have a new member variable in your dialog and a new class
CWebBrowser2 (the wrapper) in your project. To go to an URL, do
m_web.Navigate(_T(" enter your URL here "), ....);
- Tim
"Jacek Centkowski" <ja...@fake.pl> wrote in message
news:bc773h$63g$1...@news2.ipartners.pl...