Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / August 2004

Tip: Looking for answers? Try searching our database.

custom app wizard question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
guysmiley - 23 Aug 2004 00:19 GMT
I have a custom app wizard I'm porting from vs6. One of the buttons in the
vs6 wizard allows the user to select a directory using SHBrowseForFolder. How
do I go about doing the same thing in a .NET custom app wizard?

Thanks
guysmiley
Michael He - 23 Aug 2004 03:27 GMT
> I have a custom app wizard I'm porting from vs6. One of the buttons in the
> vs6 wizard allows the user to select a directory using SHBrowseForFolder. How
> do I go about doing the same thing in a .NET custom app wizard?
>
> Thanks
> guysmiley
this JScript may help:

function GetNubiosTip()
{
        bBrowseDlg = true;
        try
        {
            var L_ChooseISAPIDirectory_Text = "Choose a Directory";
            var strDirectory =
window.external.GetDirectoryViaBrowseDlg(L_ChooseISAPIDirectory_Text,
TIP_DIR.value);
            if (strDirectory != "")
            {
                window.external.AddSymbol("ISAPI_DIRECTORY", strDirectory);
            }
        }
        catch(e)
        {
        }
        bBrowseDlg = false;
}

Thanks,
Mike
guysmiley - 23 Aug 2004 05:13 GMT
Thanks Michael, I missed that.

> > I have a custom app wizard I'm porting from vs6. One of the buttons in the
> > vs6 wizard allows the user to select a directory using SHBrowseForFolder. How
[quoted text clipped - 26 lines]
> Thanks,
> Mike

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.