Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > C# code needed to open the windows "Open with" dialog

Reply
Thread Tools

C# code needed to open the windows "Open with" dialog

 
 
Shilpa
Guest
Posts: n/a
 
      03-22-2006
Hi All,

I need C# code needed to open the windows "Open with" dialog

Regards,
Shilpa

 
Reply With Quote
 
 
 
 
Anubhav Jain
Guest
Posts: n/a
 
      03-22-2006
Hi Shilpa,
Here is the code snippet --

FolderBrowserDialog dialog = new FolderBrowserDialog();

try

{

if (!String.IsNullOrEmpty(path))

{

dialog.SelectedPath = path.Trim();

}


DialogResult result = dialog.ShowDialog();

if (result == DialogResult.OK)

{

this.path= dialog.SelectedPath;

parameters.ClassesOutputPath = dialog.SelectedPath;

}

}

finally

{

dialog.Dispose();

}

Thanks and Regards,
Anubhav Jain
MTS
Persistent Systems Pvt. Ltd.
Ph:+91 712 2226900(Off) Extn: 2431
Mob : 094231 07471
www.persistentsys.com
Persistent Systems -Software Development Partner for Competitive Advantage.
Persistent Systems provides custom software product development services.
With over 15 years, 140 customers, and 700+ release cycles experience, we
deliver unmatched value through high quality, faster time to market and
lower total costs.



"Shilpa" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Hi All,
>
> I need C# code needed to open the windows "Open with" dialog
>
> Regards,
> Shilpa
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open file dialog in Ruby, and get open FileName? :-( iMelody Ooo Ruby 5 10-21-2010 04:02 PM
Eclipse 3.5.1: "Open Project" dialog pops up when I open a certain class in the Visual Editor Steve Sobol Java 0 07-01-2010 04:46 AM
On Clicking on Open button in asp download dialog it open two copy ofexcell file?? chandan ASP .Net Web Controls 0 11-17-2008 08:46 AM
On Clicking on Open button in asp download dialog it open two copy ofexcell file?? chandan ASP .Net 0 11-17-2008 08:44 AM
Excel open automatically without giving a dialog box option to Open/Save/Cancel using filesys.create eddie wang ASP General 0 10-03-2003 04:05 PM



Advertisments