gribble
09-20-2004, 12:37 AM
I have written a user defined action that calls a c# .NET windows form, displaying a GUI so the user may select options for whatever build or deployment they are running
everything has been working great for ages, however i did discover an unusual thing...
on one of my GUI forms, there is a field for a target folder. I have a browse (...) button which when pressed will show a FolderDialog control (standard inbuilt .NET control to browse the computer or network for a folder and return the foldername they have selected)
when i run my windows natively in Visual Studio, the FolderDialog form works fine, however when the form is shown through the custom action in VBPro, the "guts" of the FolderDialog control is all blank and the user cant browse for a folder.
The FileDialog control works fine it is only the FolderDialog control that is having this problem.
Im not sure really what is causing the problem except that it happens when being called from VBPro and not when being run as a normal windows forms .exe
any ideas what i can do, as forcing a user to browse to a file (then stripping the filename off to get the folder path) is annoying. In some cases the directory they may want to select doesnt have any files in it, thus no way to select it in the FileBrowser dialog
everything has been working great for ages, however i did discover an unusual thing...
on one of my GUI forms, there is a field for a target folder. I have a browse (...) button which when pressed will show a FolderDialog control (standard inbuilt .NET control to browse the computer or network for a folder and return the foldername they have selected)
when i run my windows natively in Visual Studio, the FolderDialog form works fine, however when the form is shown through the custom action in VBPro, the "guts" of the FolderDialog control is all blank and the user cant browse for a folder.
The FileDialog control works fine it is only the FolderDialog control that is having this problem.
Im not sure really what is causing the problem except that it happens when being called from VBPro and not when being run as a normal windows forms .exe
any ideas what i can do, as forcing a user to browse to a file (then stripping the filename off to get the folder path) is annoying. In some cases the directory they may want to select doesnt have any files in it, thus no way to select it in the FileBrowser dialog