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

  • Thread starter Thread starter imranisb
  • Start date Start date
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.
 
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."
 
Back
Top