05-19-2014 08:06 AM
Hello,
I am using LabWindows CVI v12.0 with Windows 7. I am using the file browser feature and want to be able to click on a shortcut to another folder, but the shortcut does not appear. Is there a way to use shortcuts with the file browser?
thanks,
Brent
05-20-2014 04:03 AM - edited 05-20-2014 04:07 AM
Hello there!
Unfortunately, the File Browser Intrument won't display shortcut links in the left folder tree. These are however listed and available in the right tree, where the directory contents are displayed.
The reason for this is that, internally, the File Browser Instrument explictly doesn't allow shortcuts to be listed in the right tree, due to the way in which the intrument is written.
However, you are free to change the behavior of the custom control. The source code is located under <CVI Installation>\toolslib\custctrl\FileBrowser.c, so you can modify it to fit your needs.
Here is a helpful hint about how you could modify this custom control:
Here are some options about how you could work around this limitation:
I hope this helps!
- Johannes