473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Getting file contents properties

Hello:

In ASP.NET, how can one get the properties (length of audio clip, length of
video clip, dimensions of gif or jpg, etc.) for any given file?
I am primarily interested in media files. One can see these properties in
Windows Explorer's File properties (Summary tab).

TIA,
Val
Nov 18 '05 #1
2 1556
Hi,
Check this MSDN article:
http://msdn.microsoft.com/library/de...asp?frame=true

Though I haven'y tried, it says using Windows Media SDK, you can retrieve
these media file info.

Take a look at this one also:
http://blogs.msdn.com/tims/articles/100730.aspx

"Valerian John" <vj***@shentel.net> wrote in message
news:Oe**************@TK2MSFTNGP12.phx.gbl...
Hello:

In ASP.NET, how can one get the properties (length of audio clip, length of
video clip, dimensions of gif or jpg, etc.) for any given file?
I am primarily interested in media files. One can see these properties in
Windows Explorer's File properties (Summary tab).

TIA,
Val

Nov 18 '05 #2
Thanks for that info, Shiva.
I will try that approach for Window Media files. I wonder if that SDK will
do other media formats.

I still need to find a way to get metadata on gif/jpg and other graphics
formats. Have seen info on EXIF information that can be retrieved from such
files. Perhaps there is a class library/SDK for graphics formats.

Thank,
Val

"Shiva" <sh******@online.excite.com> wrote in message
news:uM*************@tk2msftngp13.phx.gbl...
Hi,
Check this MSDN article:
http://msdn.microsoft.com/library/de...asp?frame=true

Though I haven'y tried, it says using Windows Media SDK, you can retrieve
these media file info.

Take a look at this one also:
http://blogs.msdn.com/tims/articles/100730.aspx

"Valerian John" <vj***@shentel.net> wrote in message
news:Oe**************@TK2MSFTNGP12.phx.gbl...
Hello:

In ASP.NET, how can one get the properties (length of audio clip, length
of
video clip, dimensions of gif or jpg, etc.) for any given file?
I am primarily interested in media files. One can see these properties in
Windows Explorer's File properties (Summary tab).

TIA,
Val

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jake | last post by:
Hi group, I am trying to build a page that allows uploading My ISP only supports Smartupload I am testing on a small hubbed local network, with PWS Any help is appreciated....
11
by: Skc | last post by:
I have a .txt which has been exported as a .csv from an external source. What i need to do is to import this into SQL2000 (into a table) but I need to do special things on the data: 1. I need to...
1
by: vbvjain | last post by:
I am developing an application that requires me to read MS EXCEL file and get its properties and contents. I could read only the contents i a dataset by creating an object, but i could not figure...
3
by: Sabri AKIN | last post by:
Hi, I want to send ascx file's html code as email.this ascx file is summary of customer sale.and at last iwant to send email to customer.how can i get and past ascx file's html code to mail body.
6
by: Sushil Prasad | last post by:
I am having problem in displaying the compiled help file. In asp.net app I have link button labeled help. On the users click of this button i do the respose.redirect to the url of the .chm file....
2
by: MSK | last post by:
Hi, Continued to my earlier post regaring "Breakpoints are not getting hit" , I have comeup with more input this time.. Kindly give me some idea. I am a newbie to .NET, recently I installed...
6
by: DRS.Usenet | last post by:
When I run alert("page contents:" + content.document.documentElement.innerHTML); I am able to pull the content. I see something like this page contents:<head><title>A Title</title>...
12
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
4
by: Mr Gray | last post by:
Hi Guys, My requirement is to scan an FTP directory for the presence of 4 files and if a specific file exists I can begin to GET those files, read the contents and save the contents into an SQL...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.