LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Editing the Summary or Comments Fields using Labview

Highlighted
Does anyone have any ideas if it is possible to edit the "Comments" or
"Summary" fields (that appear in Windows when you right click on a file and
look at properties) using LabVIEW? I've found a utility library called
cppsum15.dll, but it seems to be only able to read these fields. I would
like the functionality of writing to these fields (perhaps with ActiveX?).
Any clues?

Paras Patel.
MIT Lincoln Laboratory
0 Kudos
Message 1 of 3
(995 Views)
Highlighted
Paras,

I know that this operation you are trying to do, if possible, must be done through MFC, WinAPI. I am not having any luck searching through my MSDN to find what you need to do.

If you have the source for cppsum15.dll, you can derive what to do. But it sounds like you don't, and that the dll is only for viewing. I believe that this information is somehow attached to the file.

I have to believe, given that there is a windows UI for this information, that it can be done programmatically. Search MSs website, or perhaps an MFC system book on the functions that do this. If you find the dll that allows you to make these modifications, you can then simply call this dll in LabVIEW.


Good luck. Please let us know how you make out.
0 Kudos
Message 2 of 3
(995 Views)
Highlighted
Actually the source for cppsum15.dll is available. I'm not all that familiar
with Windows API programming and it's been a while since I programmed in
C++. I'll follow your suggestion though and take a look through Windows
reference manuals. And I'll break out the books and start to program again.

Paras.

"Labviewguru" wrote in message
news:506500000005000000235C0000-1011517314000@exchange.ni.com...
> Paras,
>
> I know that this operation you are trying to do, if possible, must be
> done through MFC, WinAPI. I am not having any luck searching through
> my MSDN to find what you need to do.
>
> If you have the source for cppsum15.dll, you can derive what to do.
> But it sounds like you don't, and that the dll is only for viewing. I
> believe t
hat this information is somehow attached to the file.
>
> I have to believe, given that there is a windows UI for this
> information, that it can be done programmatically. Search MSs
> website, or perhaps an MFC system book on the functions that do this.
> If you find the dll that allows you to make these modifications, you
> can then simply call this dll in LabVIEW.
>
>
> Good luck. Please let us know how you make out.
0 Kudos
Message 3 of 3
(995 Views)