|
Can you tell us what version of .Net the dll is compiled against, as .Net 4.0 assemblies get posted to C:\Windows\Microsoft.Net\assembly\GAC_MSIL, while earlier .Net dlls are still posted to assembly folder.
...and I have extensive experience writing computer code, including OIC, BTW, BRB, IMHO, LMAO, ROFL, TTYL.....
|
|
|
|
|
Ok. Thanks very much. I think I am using VS 2010, which is .Net 4.0. Let us confirm
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Thanks a lot!!!! It's there in MSIL folder. A great help.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
It's a pleasure.
...and I have extensive experience writing computer code, including OIC, BTW, BRB, IMHO, LMAO, ROFL, TTYL.....
|
|
|
|
|
hello , read pst file and PST file and convert into DBX, Live, Thunderbird.
how I do this ,please help me
thanks in advance
modified on Thursday, April 14, 2011 6:39 AM
|
|
|
|
|
Well, you're going to have to understand the PST file format, completely. You can find the docs on it here[^].
Then you'll have to write your own object model to parse up and represent the parts of the PST file you want to handle. I figure, you've got about 6 months worth of work to do this.
No, there is no API to do this for you, that is, without installing Outlook.
Good Luck!
|
|
|
|
|
but how, give me some example
|
|
|
|
|
There's no way you're going to get an example. The project you've picked is HUGE. When I said you've got 6 months of work to do, I meant reading and understanding the file format. You haven't written a single line of code by then, other than small projects to test how you're going to do this.
If you can't write an object model to wrap a small binary file of you're own chosing and format, you've got not hope of completeing a project on the scale of an extremely complicated PST file.
There are no tutorials on this stuff and what you're asking would encompass entire books. That's FAR more information than you're ever going to receive in a few forum posts.
About the best information you're going to get that applies to what you want to do is by studying serialization and writing your own formatters. Google for "Binary Serialization" and start reading. Start experimenting with writing/reading binary files. Write you're own files, add information such as dates, times, data of your chosing, lists of things, whatever, ... Then write the code that's going to read that data and create objects out of it. If you can't do that, forget your requirement of not having Outlook installed.
|
|
|
|
|
If you're comfortable with C++, then have a review of this[^] and this[^]. And before you ask, no I can't convert this to C# for you - that would take me far too long.
|
|
|
|
|
And if i just find pst file and read it and also convert it into DBX, Live, Thunderbird.
how i do this . give me some example
|
|
|
|
|
situ21 wrote: how i do this
By writing code.
situ21 wrote: give me some example
No.
Did you even bother reading my reply where I told you I wasn't going to do it for you?
|
|
|
|
|
Instead of pleading for other people to tell you how to do it, you could have found these links[^] to get you started.
|
|
|
|
|
Hi,
I have a string 'Name' to be shown on auto-complete of Text-box, which is filled with company name from Data-Set. This field could be 5 characters long to 50 Characters long. I have do some string formatting, so that i could restrict its length to 20 characters.
so, as a result "Hello" will occupy 20 characters with rest as space:
"Hello "
Also, "ThereIsSomeTextHereInThisPost" will also occupy only 20 characters after trim as:
"ThereIsSomeTextHereI"
How do i achieve this in C# language.
Please reply. Thanks.
|
|
|
|
|
|
I think what the OP is asking is restricting it to a max of 20 characters in length specifically for the auto-complete, so PadLeft and PadRight I think may not be appropriate in this circumstance.
You could use the System.Math.Min function like so:
string forAutoCompleteBox = Name.Substring(0, System.Math.Min(20, Name.Length));
This will give you either the first 20 characters of the Name, or the whole Name, whichever is shorter. Did I understand your question correctly?
|
|
|
|
|
Rather than post processing of a text box, which will truncate user input, consider limiting it at the point of entry. This generally feels more natural to users as they do not get typing "thrown away" without them being aware in advance. You can set the TextBox.MaxLength property to 20 characters.
To pad the string to 20 characters, use
string paddedToTwentyChars = String.Format("{0,-20}", myTextBox.Text);
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
Ravi,
The following does the job simply.
Hope this helps,
Rob
string TwentyChar(string orig)
{
int len = orig.Length;
if (len < 20)
return orig.PadRight(20);
else if (len > 20)
return orig.Substring(0, 20);
else
return orig;
}
|
|
|
|
|
without conditionals:
orig.PadRight(20).Substring(0, 20)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Anyone know how to do this in C#? Same as this but programmatically?
Everything makes sense in someone's mind
|
|
|
|
|
|
Hi,
I am deploying a win app using a setup file which downloads and runs from a website.
1 How can I check for new version from withing the application and if possible to force the user to take this version?
2 I am using the settings.settings file to store user values. These are overwritten when a user takes an upgrade. How do I keep these settings? .
I have tried click once but found that if a user does not take an update he does not get another chance and I would have to recompile every time
milenalukic
|
|
|
|
|
ClickOnce[^]
You can code to check for updates each time the application is started and not run until the user updates.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Hello Experts,
I have an Object of Polygon Which I am Drawing In A Rectangle. It Works Successfully.
But i have generate a problem While I want to Shift This Polygon to Left or Top.
So please help me for doing this operation.
Thanks
If you can think then I Can.
|
|
|
|
|
What is the problem?
How are you drawing it? Where are you drawing it? In the Paint event? Or somewhere else?
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|