|
Hello
In your original post you mentioned Summary and title which are called metadata and are specific to audio/video files only. I thought you were talking about them -sorry!:->-. If you want to get the versions info of exe files only you should use FileVersionInfo class instead.
Regards
|
|
|
|
|
I believe that what you are looking for are called "Extended File Properties". I think you can get some useful info on Google.
I used to have a VB6 program that (I didn't write it) that would extract the extend file properties. I looked, but couldn't find it. Google had many hits. If you find something good, please post the link.
Best regards-
Squeaker
|
|
|
|
|
Thanks for the FileVersionInfo Tip. I think that will do the trick. It also returns the coments and other info I'm looking for. Right click on any file->proporties->summery and this class gives you access to all that. That was what i'm looking for. I woldn't have thought to look at FileVersionInfo FileInfo seemed like the right one
Oh well
Thanks again
Ronald Hahn, CNT - Computer Engineering Technologist
New Technologies Analyst
HahnTech Affiliated With Code Constructors
Edmonton, Alberta, Canada
Email: rhahn82@telus.net
|
|
|
|
|
I have next problem.
In my grid there are two types of rows.First are large and second small.
Large row height takes more then half of grid.When I try to scroll grid tried scroll to next row.
Is any way to make scrolling more smooth exists?
-- modified at 17:54 Tuesday 5th September, 2006
|
|
|
|
|
Leksey wrote: When I try to scroll grid tried scroll to next row.
Could you try to explain this in a different way? I don't think it's clear what you are trying to ask.
|
|
|
|
|
Ok. Will try.
On scrollbar we have button with arrow down. I putted in grid two types of rows small and large(height).
After I click button with arrow down on scroll first row (small) become invisible. Then after I again click second row become invisible. Bu second row is large and it looks like not smooth.
-- modified at 14:11 Wednesday 6th September, 2006
|
|
|
|
|
I have the 2005 version and the setup/installer template is not included with the program. Can anyone send the template to me or give me a link to download it? I really need this.
|
|
|
|
|
if i have a array
string[] myArray = {"Wes","Josh","Dave"};
and i want to rotate the order ever so often programmically what is the best way to do that? The program will know when it wants dave to be first but then wes needs to be second and so forth.
|
|
|
|
|
Then retreive the values using the index in the order you would like
only two letters away from being an asset
|
|
|
|
|
Hello
string[] MyArray = {"Wes","Josh","Dave"};
private void Rearrange(byte OldIndex, byte NewIndex)
{
string Temp = MyArray[OldIndex];
MyArray[OldIndex] = MyArray[NewIndex];
MyArray[NewIndex] = Temp;
}
Regards
|
|
|
|
|
Hi,
In SQL Server Everywhere, there is no support for keyword "TOP" for selecting
limited number of rows. Can you give me any idea how can I perform similar task with this limitation ?
Thanks in advance
|
|
|
|
|
Perhaps it would be better to ask this question in the SQL forum
only two letters away from being an asset
|
|
|
|
|
Hi,
I have Form A who is the MDI container, Form B and Form C children. Now, In order to call a method
of parent MDI Container from Form B, I have a delegate which trigger event in Form A (MDI Container) and Form A call a Background worker of Form C as
response of that event (Event Handler). Now while the background worker is working, can I close the calling child form (Form A) ? I was wondering, Do I need
to keep Form B active for the whole time when background worker is busy in Form C ?
Regards
|
|
|
|
|
Note the difference between the Windows Form object and the window it actually has opened. You could close the window, while keeping the form object alive. I think now you know what to do.
Best,
Jun
|
|
|
|
|
Hi Jun,
I got it from your clue..
Thank you very much for giving me the clue exactly in the right manner.
Regards
|
|
|
|
|
I am trying ot run this programm from a windows form application but at command line it stops with message:
"Reading passphrase from file descriptor 0 ..." and nothing happens.
Same program run fine on command line with follwoing line:
C:\Program Files\GNU\GnuPG>gpg --passphrase-fd 0 < c:\gnupg\passphrase.txt -o c:\HIF\Clock.swf -d c:\gnupg\Clock.gpg
This is a command to decrypt the file using GnuPG encryption and decryption program.
Any help is most welcome.
Code Snippet:
string strArg = @" --passphrase-fd 0 < c:\gnupg\passphrase.txt -o c:\HIF\Clock.swf -d c:\gnupg\abc.gpg";
process.StartInfo.FileName = @"C:\Program Files\GNU\GnuPG\gpg"; OR "gpg"
process.StartInfo.Arguments = strArg;
process.StartInfo.RedirectStandardInput = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.UseShellExecute = false;
try
{
process.Start();
process.WaitForExit(5000);
string str = process.StandardOutput.ReadToEnd();
}
catch(Exception ex)
{
string str = ex.Source + ex.Message + ex.StackTrace;
}
Bharat Gadhia
In life, failures teach you as much as — or perhaps more than — successes.
Thank you very much for the help.
|
|
|
|
|
process.WaitForExit(5000);
The first question I would have is, is this enough time for the process to complete? Have you tried to increase the timeout, or not use it at all?
only two letters away from being an asset
|
|
|
|
|
Thank you.
yes I have done that too. I increased time to 40000 but after process exits the cmd screen still shows
Reading passphrase from file descriptor 0 ...
and it waits there till one hits manually enter button and then it comes out and at
string str = process.StandardOutput.ReadToEnd();
value of str string is empty.
So it seems that same command which reads passphrase.txt and passes to passphrase in command line operation does not do the same in windows form application.
By the way there was a small mistake in strArg value, It is as follows:
string strArg = @" --passphrase-fd 0 < c:\gnupg\passphrase.txt -o c:\HIF\Clock.swf -d c:\gnupg\Clock.gpg";
Bharat.
In life, failures teach you as much as — or perhaps more than — successes.
Thank you very much for the help.
|
|
|
|
|
Try reversing the calls
string str = process.StandardOutput.ReadToEnd();
process.WaitForExit(5000);
rather than
process.WaitForExit(5000);
string str = process.StandardOutput.ReadToEnd();
only two letters away from being an asset
|
|
|
|
|
Thank you.
I did that but the cmd screen waits with followong message at the call to the function process.StandardOutput.ReadToEnd()
Reading passphrase from file descriptor 0 ...
Bharat.
In life, failures teach you as much as — or perhaps more than — successes.
Thank you very much for the help.
|
|
|
|
|
please tell me if there is a way to run my project in c#.net 2005 on Linux platform
i heard about grasshopper and mono
1--> which one is better
2--> what i should do to make that happen
(any intigration with visual studio.net or recompile the code)
|
|
|
|
|
Use Mono
You can first try to compile it on both Windows and Linux. If it compiles and runs on Windows, check if it compiles and properly runs on Linux, too.
The mcs compiler is for .NET 1.1 and the gmcs for .NET 2.0 as far as I remember
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
thanks Greeeg
you seem to have a better knowledge of the topic will you please mind to put some more information so that everybody reading this get the benefit
|
|
|
|
|
There are already some articles on this site that explain it very well. Just type "Mono" into the search box at the top.
Here are two vey good ones:
Number 1
Number 2
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|