473,323 Members | 1,537 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,323 software developers and data experts.

How to access and modify file properties in C#?

I have a program that automatically generate a file and I need to put some
information in the file properties.

Any ideas? Thanks

Nov 15 '05 #1
3 1826
What properties do you want to change, exactly?
--
C#, .NET and Complex Adaptive Systems:
http://blogs.geekdojo.net/Richard
"ywchan" <yw****@hkem.com> wrote in message
news:OV**************@TK2MSFTNGP10.phx.gbl...
I have a program that automatically generate a file and I need to put some
information in the file properties.

Any ideas? Thanks

Nov 15 '05 #2
I want to access and modify the following file properties
1. when you open an application e.g. word / acrobat reader, those
information in file -> properties.
2. when you right click the file, choose properties, the information stored
in summary

thanks

--
ftp://up:up@cywc.serveftp.com
IMS 3M
must mirror within 24 hrs
thanks
"Richard A. Lowe" <ch*****@yumspamyumYahoo.com> ¼¶¼g©ó¶l¥ó·s»D
:#V**************@TK2MSFTNGP12.phx.gbl...
What properties do you want to change, exactly?
--
C#, .NET and Complex Adaptive Systems:
http://blogs.geekdojo.net/Richard
"ywchan" <yw****@hkem.com> wrote in message
news:OV**************@TK2MSFTNGP10.phx.gbl...
I have a program that automatically generate a file and I need to put some information in the file properties.

Any ideas? Thanks


Nov 15 '05 #3
There is a class name FileInfo in System.IO , you may find what you want
with it.

"ywchan" <yw****@hkem.com> a écrit dans le message de
news:%2***************@TK2MSFTNGP12.phx.gbl...
I want to access and modify the following file properties
1. when you open an application e.g. word / acrobat reader, those
information in file -> properties.
2. when you right click the file, choose properties, the information stored in summary

thanks

--
ftp://up:up@cywc.serveftp.com
IMS 3M
must mirror within 24 hrs
thanks
"Richard A. Lowe" <ch*****@yumspamyumYahoo.com> ¼¶¼g©ó¶l¥ó·s»D
:#V**************@TK2MSFTNGP12.phx.gbl...
What properties do you want to change, exactly?
--
C#, .NET and Complex Adaptive Systems:
http://blogs.geekdojo.net/Richard
"ywchan" <yw****@hkem.com> wrote in message
news:OV**************@TK2MSFTNGP10.phx.gbl...
I have a program that automatically generate a file and I need to put some information in the file properties.

Any ideas? Thanks



Nov 15 '05 #4

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

Similar topics

3
by: Lauren Quantrell | last post by:
I'd like to use my Access 2K application to write some text in the file properties of a Windows file. The properties I'm talking about are the properties you see whn you right click on a Windows...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
2
by: ywchan | last post by:
I want to access and modify the following file properties 1. when you open an application e.g. word / acrobat reader, those information in file -> properties. 2. when you right click the file,...
12
by: MA | last post by:
Hi all! I created a webservice that check folder for incoming and outgoing files. If a file exists in my inbox (incoming file) I read it and want to delete it. It looks like this: ...
5
by: Raterus | last post by:
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions. I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about every 1 out of 10 times...
3
by: David Thielen | last post by:
Hi; I created a virtual directory in IIS 6.0 and my asp.net app runs fine. But when it tries to write a file I get: Access to the path is denied. - C:\Inetpub\wwwroot\RunReportASP\images ...
1
by: joshtichauer | last post by:
So i have an xml file, i'm grabbing it via dataset, then placing the data into a datagrid. everythings all good, but i'd like to edit the data. the coding grabs whats in the edit textboxes, and...
5
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callnetfrcom.asp The Joy of Interoperability Sometimes a revolution in programming forces you to abandon all...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.