|
You need to install .NET framework on the client machine to get it work. Framework executable can be attached with the installation package of your application.
|
|
|
|
|
Yes, it can be done by this program: Xenocode Postbuild[^] but the generated executable is about 10MB in size
|
|
|
|
|
Hi all,
Does anyone know if it is possible to change PDF file metadata programmically using C#. Or for that matter is it possible to make/edit PDF files at all using C#?
Mark.
"The only good bug, is a dead bug!" - Starship Troopers 1999
|
|
|
|
|
MarkBrock wrote: Does anyone know if it is possible to change PDF file metadata programmically using C#. Or for that matter is it possible to make/edit PDF files at all using C#?
Yes.
|
|
|
|
|
Yes, but only if you write code to read the format, or get an external toolkit for working with PDFs
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I'm trying to make an application that will read several thousand PDF files and generate keywords that will be added to the title (metadata), based on the first few lines in the file.
Christian Graus wrote: Yes, but only if you write code to read the format
Does that mean I could do what i'm trying to achieve?
Regards,
Mark.
|
|
|
|
|
Absolutely, you could. But, you need a third party library to give you access to the PDF data.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Ok, thanks for your help Christian i'll look into it.
Mark.
|
|
|
|
|
Why it is said that Finalizers are performance costly. I heard that classes which have finalize method will be kept in a separate finalization queue by GC ? Is this making the performance problem ? Or any other reasons ?
|
|
|
|
|
|
They says it's costly, but why ? They have not given any convenient reason. I checked the same in plenty of sites, but no one gave a convincing reason.
|
|
|
|
|
Yes... as u said Classes with finalize method will be kept in Finalization queue which is performance overhead coz the Runtime checks the heap memory if there is any Object is out of scope, if the runtime find such which has finalize method then the Object is moved to Finalizing queue in that particular runtime cycle. So the Runtime on its next preceding cycle checks if there any Object is not referenced, if nothing found then it checks Finalizing queue and founds the Object there and clears the queue. So Objects with finalize method required two runtime cycles to get cleared obviously causing performance overhead. So instead u can use Dispose method. But in some cases u need to have Finalize method if the Object is referenced and dereferenced more frequently.
|
|
|
|
|
|
i am developing C#.NET application and i am facing a problem in converting website HTML page to XML format using C#.NET
|
|
|
|
|
|
If you simply want to parse it you could look at the SGML reader which is a managed C# library for reading the SMGL standard (i.e. old non-xml compliant html). I think it also has an option to export to xhtml strict.
|
|
|
|
|
|
|
Is there any easier/other way to deep copy a List<anyclass> other than serialize to memorystream and then deserialize into a new object?
The List comes from a method on a remoting server in singleton mode and fills a combobox on a UI. So i guess filling it directly with the ref would be bad practice.
If it' stuck, DO NOT pull harder!
|
|
|
|
|
Take a look at the Clone method.
|
|
|
|
|
List<t> does not interace iCloneable so i would have to
<br />
Foreach(someclass myobject in mylist){<br />
newlist.add(myobject.clone());<br />
}<br />
And the class of the list needs to interface ICloneable
am i right?
If it' stuck, DO NOT pull harder!
|
|
|
|
|
Yes, you will need to create a copy of the list yourself. While, List<T> does not implement ICloneable, ArrayList does. But even so, it's only a swallow copy.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
Hello, I'm new here and I've got a problem. I am working on my school project and it entails using a pda as an infrared remote control for TV's / hi-fi systems. I've gone through some of the previous posts here and they helped a little. But the problem now is that while i'm able to connect to the COM2 port and use it as serial communication with the System.IO.Ports namespace, my program keeps freezing when i try to perform a Read(byte[], offset, length) operation. Now i am not even sure if the Write() operation is actually working, however it doesn't freeze my system. Can anyone show me what to do? I need to learn the infrared codes from the remote control and then retransmit them when i need them. please any help is appreciated as time is running out for me. thanks
Emotu
|
|
|
|
|
Have you tried this[^]? It should give you a good example to work from and help you debug your issue.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
thanks a lot for the help Tom. however, i'm trying to control the IR port on a windows mobile, read infrared signals from a remote control and store them before retransmission. If you have something close to this, I'd be extremely grateful.
Take care,
Emotu
|
|
|
|