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
> 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