LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File Properties

How do I get/set the properties of a file (such as Author, Artist, etc)?
0 Kudos
Message 1 of 20
(5,063 Views)
You've already asked this question here.
0 Kudos
Message 2 of 20
(5,062 Views)

I am look for a solution in a different way.  I am running version 8.2 of LabVIEW, and I got an error when I tried to run the method that you mentioned.  The error was "Automation Open: Object specified is not creatable".

 

I want to know if there is another way to manipulate the properties without using a specific ActiveX method.

0 Kudos
Message 3 of 20
(5,058 Views)

In the future please stick to the original thread. As it is, your new message provides little information, and the first question someone would ask is "what are those properties", since it's not clear you're even referring to music files. Plus, you will prevent simply getting the same answers.

 

Did you create a Windows Media Player object? If you upload your code somebody can take a look at it.

 

Is there a non-ActiveX solution? Of course. Search the net and you'll find dozens of programs that can change that information. You may be able to find on that can be command-line driven so you can call it from LabVIEW using System Exec. I'll leave the search as an exercise for you. Smiley Wink

 

 

0 Kudos
Message 4 of 20
(5,052 Views)

Hi, i am trying to use wmp.dll but labview do not found any functions in the library.

 

http://msdn.microsoft.com/en-us/library/dd563847%28v=vs.85%29.aspx

 

0 Kudos
Message 5 of 20
(4,260 Views)

I am trying it with "Windows Media Player SDK" who contains "wmp.h" header.
But the assistant "Import Shared Library" do not show me any functions.

0 Kudos
Message 6 of 20
(4,251 Views)

I belive wmp.dll is a .net assembly, so you'll need dont need to import anything, just create the correct .net object and use invoke/property nodes.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 7 of 20
(4,248 Views)

I don´t understand you.

 

I can´t create a .Net constructor

 

I can´t create the .Net control

 

 

0 Kudos
Message 8 of 20
(4,221 Views)

NETSound.png

Try this.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 9 of 20
(4,181 Views)

Ok, thanks, but now, How do you do to use "Media.setItemInfo"???????

0 Kudos
Message 10 of 20
(4,172 Views)