LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows Folder properties

Solved!
Go to solution

I want to know how to programmatically hide a folder in WIndows using LabView?

 

0 Kudos
Message 1 of 5
(2,650 Views)

Hi LabViewde...,

if you mean to set the hidden flag, you can use the SetFileAttributes function from the Kernel32.dll.

 

Mike

0 Kudos
Message 2 of 5
(2,638 Views)

hey mike

 

thanks for your reply,

i tried your solution, but unfortunately Labview crashes due to not enough memory space.

So what parameters should i give for the Set file attribute in the configure of dll in labview?

 

0 Kudos
Message 3 of 5
(2,618 Views)
Solution
Accepted by LabViewdeveloper

Hi LabVIEWde...,

see the attached picture please. It shows how to call the function. You will find all possible attributes here.

 

Mike

Message 4 of 5
(2,615 Views)

It works!!

 

thanx a ton mike 

0 Kudos
Message 5 of 5
(2,605 Views)