Dear All,
I'm not sure where to ask such questions, because I'm a beginner...
I'm trying to use the example SelectFolder.vee, because it's exaclty what I want to have in my program.
The example runs, but when I try to include it in my program (which is already rather long) I get the following error:
Error number 756
Assembly named System.Windows.Forms has not been referenced.
Could you recommend me what to do or how to let a user select a folder in another way?
I'm not sure where to ask such questions, because I'm a beginner...
I'm trying to use the example SelectFolder.vee, because it's exaclty what I want to have in my program.
The example runs, but when I try to include it in my program (which is already rather long) I get the following error:
Error number 756
Assembly named System.Windows.Forms has not been referenced.
Could you recommend me what to do or how to let a user select a folder in another way?
I'm afraid that doing it without understanding will be quite difficult.
When I did what you said there where Cautions:
"Failed to obtain a .NET interop assembly for the COM type library ... " System and System.Windows.Forms
etc.
The needed .tlb files exist in the directories it writes about.
But nevertheless the error on the program run has changed
Variable not found: Environment
Error number: 603
Object title: SetfolderBrowserDialog = CreateInstance("System.Windows.Forms", "System.Windows.Forms.FolderBrowserDialog")
What should I do now?
But for the error... check that you selected the System namespace. And/or modify the expression in the failing object to:
folderBrowserDialog.RootFolder=System.Environment.SpecialFolder.Desktop;
It helped, and now everything is working.