C# -- invoke Microsoft Internet Explorer in web folder view

I

imranisb

Hi,

I apologies if this type of question was posted before.

I am invoking internet explorer and open the HTTPS website from my c#
application like this:

System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = false;
System.Diagnostics.Process.Start("IEXPLORE.EXE", "https://
10.206.207.208/abc/xyz");

I have 2 questions that are mention below:

1. How can i programmatically give username and password before
invoking IE opening an HTTPS website?

2. In IE, we can see the folder view by going File -> Open -> Open as
Web Folder. How can i invoke this programmatically directly in IE?

Thanks in advance.
 
C

Collin

I don't know about your first question but on the second I would try the
following:

Start the process:
System.Diagnostics.Process.Start("IEXPLORE.EXE", "about:blank");
Which will open a blank page and give you a process id.
With the process id, use SendKeys to perform the File -> Open dialog box
when you then sent the url and check "Open as Web Folder."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top