Re: Can you edit file properties using Labview?

This technique is platform dependent. So if you want to do this for windows,you'll have to use windows API's.

It is probably a Windows Shell thing. If you want to know about this, youcan ask about it in a windows programming newsgroup, e.g. VC++. We can helpyou with the calling of API's in LabVIEW if you show us the C code...

And when you're done, I'm sure people in this newsgroup are interrested inthe VI's (and you'll get eternal fame)!

Regards,

Wiebe.

"blimpie boy" wrote in messagenews:50650000000500000099C20000-1031838699000@exchange.ni.com...> I looked around a bit and as far as I know there is not a way to do> this, at least not a straightforward method to changing these> properties in LabVIEW.

Re: Can you edit file properties using Labview?

Looks like that Win32_API.llb file has calls to the Kernel32.dll file. Of course, it has the File Attributes working in it, but no File Properties. Unfortunately as that is what I was looking for, but oh well. If I get it working, I will post something here.

And it would be a bitch to implement. Basically those properties are implement using propertysheet handlers. That are shell extensions that can be installed in Windows and in the registry added to one or more file types. On loading the property dialog the shell (basically only an Explorer thing) sees that for that specific file type there are property sheet handlers registered and then loads them as an extra property sheet into the dialog.There is no common API to retrieve and lets forget about changing the information those property sheet handlers deal with programmatically. And every property sheet handler retrieves the actual properties according to his own private information, such as image properties in JPG files but possible also extra information in the meta data of a file on advanced files systems such as NTFS (the security property sheet for instance). So you would have to create a Windows dialog, load the according property sheet handlers into it and then have the user deal with that interactively. I doubt that this is what you want.