|
Hi,
I have been searching for help on this issue since many days.
I have a video on my desktop and it has some properties assgned to it through summary.
this can be done by right clicking the video and going into properties and then to summary tab.
Now the requiremnt is to get these details from c# code .
Any amount of help will be appreciated.
Thanks
Sama
|
|
|
|
|
You need to do a search on extracting the metadata from video files.
|
|
|
|
|
Read this article[^]
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
Hi Mircea,
Thanks a ton for the article.
It helped me in solving a major part of my problem.
But i have seen the the code doesnt work for .mov,etc kinds of files.
my req was to take metadata including comments,keywords from video files.
if you could provide me more help , i would be very grateful to you.
Thanks,
Sama
|
|
|
|
|
you'll need to google other formats to find how they store thier meta data. Info on the .mov format can probably be found on apples website somewhere.
|
|
|
|
|
Hello all,
I made one project in VS 2005 C# in which i use on dll file. I also make setup for that. So when i install this it will copy all sll files.
Now error is that when one dll i use it will error that LoadLibrary(DLL Difile)fail. Reinstall application will fix it.
Now a computer which has VS 2005 the error is not come for this PC. & a PC which has no VS2005 only FrameWork 2.0 it will give error.
Rearads,
Divyang Mithaiwala
|
|
|
|
|
I have a form based application , i overrided the Form1_Closing event in order to perform a minimize instead of closing and i let the form close only in case of menu close (don't ask me why I did this), anyway since usually the application runs in the system tray area i cannot shutddown or logoff without first closing the app.
How can i intercept if the window is closing because tehre's a system shutdown in progress, or logoff?
I downloaded the SystemEventsHandler on this site but it didn't work.
|
|
|
|
|
If you remove the control box for closing then the user have to use the menu to close the application. If a closing-event occurs without calling the menu, the user will probably logoff or shutdown.
sterenzi wrote: and i let the form close only in case of menu close (don't ask me why I did this)
Why are you doing this?! I wouldn't have asked but now I'm curious.
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
1st thank for suggestion but unfortunately it doesn't work, ...
OK, i have to tell why iI did this....
My application uses the closing button (and system menu but whoever used it?) only to minimize and a custom menu on the system tray to close(set a flag and do a test in the form_closing), I did this because should be very easy and quick to minimize my window, the window is vey small so that the minimize box is not shown.
So that i cannot distinguish if the x was pressed or a shutdown is in progress.
I know i could show the minimize box and disable the close box but now is a question between me and C#, I want to do like this!
Regards Stefano
|
|
|
|
|
Add the following method in your main form and evaluate the variable allowClosing in the event handler of the closing event.
protected override void WndProc(ref Message m)
{
if (m.Msg == 0x0011)
this.allowClosing = true;
}
www.troschuetz.de
|
|
|
|
|
Don't forget to add the base.WndProc(ref m) at the end, or your application will stop receiving events (windows messages).
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
-- modified at 10:12 Thursday 2nd March, 2006
|
|
|
|
|
Ups, I've forgot to copy this very important line cause i had some more stuff in my override of WndProc.
Thanks for your comment
www.troschuetz.de
|
|
|
|
|
I assumed you forgot it, I just wanted the guy not to be lost if he forgot it also. That could be a nasty one to figure out.
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
No my friends,
this is just what I was looking for and i already put the base.WndProc so that couldn't tell you it was working since finally my computer was shutting down and logging off!!!!
Really thanks to both of you!
Now the question could be (but I won't ask) : HOW TO DEBUG A SYSTEM SHUTDOWN?
Stefano
|
|
|
|
|
You could use the System.Diagnostics.Debug class and companions, since you cannot use a debugger in a system shutdown.
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
Can anyone tell me what's software have that function.
Nothing
-- modified at 8:43 Thursday 2nd March, 2006
|
|
|
|
|
Just write your C# the way you write English. No need for any more obfuscation.
|
|
|
|
|
Hey! That's not nice! Perhaps English is you mother tongue, for others (like me) it's hard work to write here because we don't have anybody to talk or write English with. I want to see the text you write in Spanish, German or French.
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
You're absolutely correct. What I wrote was not intended to be serious.
|
|
|
|
|
You may wish to include some smilies next time. Then the intent is clearer.
ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?
|
|
|
|
|
Unless your Vietnamese is better than his English you've no right to talk.
|
|
|
|
|
VS2003 and VS2005 contain DotFuscator Community Edition as a third-party obfuscator, for example.
Regards,
mav
--
Black holes are the places where god divided by 0...
|
|
|
|
|
While reading through msdn and debugging concept code I've confirmed that events don't synchronize automatically across threads, but according to the msdn guidelines at http://msdn2.microsoft.com/en-us/library/ms228966.aspx apparently they do:
"Additionally, the event-based pattern is less efficient than the IAsyncResult pattern because it creates more objects, especially EventArgs[^], and because it synchronizes across threads."
I would like to know in what way does the event-based pattern synchronize itself across threads because as far as I've understood the event is always raised in the context of the thread that called it. Is this refering to the method employed by the PostOperationCompleted of AsyncOperation ?
Thank You
|
|
|
|
|
They're using the term 'pattern' to mean a recognised structure for class design. See this article[^] for their overview of the "Event-based Asynchronous Pattern".
Basically what they're saying is that the class implementer should consider, for lengthy operations, making available a methodAsync routine which begins an asynchronous operation, and a methodCompleted event to signal that the asynchronous operation completed. The class implementer is responsible for getting the event to fire on the thread that started the operation. You'd normally do this using Control.Invoke or similar.
None of this is a requirement, but it is a design guideline that the framework generally follows and that users of your classes may come to expect.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi all,
I want some help in Crystal Report for Vs 2005.
I am doing Globalization on Crystal Report using Asp.Net(Vs 2005).
On that Crystal Report I can Get Every data fields in Localized
language (By help of Buisness Object Sapmples)
except Number Fields, Date Fields & Crrency Fields.
Can any one help me to do these fields in Localiaized foramt........
chakkara
|
|
|
|