473,664 Members | 3,066 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1573
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******** ******@TK2MSFTN GP12.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******@onlin e.excite.com> wrote in message
news:uM******** *****@tk2msftng p13.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******** ******@TK2MSFTN GP12.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
13824
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. --------------------- 'rqstupl.asp contents <HTML>
11
3072
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 look for the first three chars and import rows into separate tables. E.g. if the first three chars begin with CCC, then this row goes into the CCC_table, if it is TTT then into the TTT_table etc... 2. Once I have my tables built up, I need to do...
1
1101
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 out a way as t how to get the properties such as Title, Name, Last Author, Date o creation etc. Can anyone tell me as to how should i achieve this, any API tha provides me such functionality?? Thanks in advance
3
2726
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
3739
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. The error message on the web page i get is Action Cancelled. I do see the left panel of help file that has the contents. The right panel is the one that is not appearing. Also this help file does display and work well when i browse it from the...
2
4211
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 .NET. I could not debug using breakpoints, breakpoints are not getting hit, but the application is working fine with out any issue.
6
10994
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> <FRAMESET ROWS="75,*">
12
13427
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 file was built by draging tables from the Data Sources pane. Auto-generated code created the files associated wtih the XSD file (xss,
4
11049
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 2005 DB. The files are of a fixed length format which map to certain elements of data that my database will exploit. If i can learn to read 1 file and put the contents into the DB then I can do the other 3 on my own. So far I can connect to the...
0
8437
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8348
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8861
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8778
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8549
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5660
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4185
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4351
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2764
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.