Hi
I have some coded files in folder. I want to extract the text data from the files in a sorted form according to date and time.
Guide me with some code in this project.
Thanks
Kritika
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
kritika RanaPosted Aug 7, 2013, 2:41 AM
Thanks
Iftikar HussainPosted Aug 7, 2013, 2:37 AM
Regards,
Iftikar
kritika RanaPosted Aug 7, 2013, 2:35 AM
Iftikar HussainPosted Aug 7, 2013, 2:32 AM
Regards,
Iftikar
kritika RanaPosted Aug 7, 2013, 2:25 AM
Iftikar HussainPosted Aug 7, 2013, 2:23 AM
Regards,
Iftikar
kritika RanaPosted Aug 7, 2013, 2:16 AM
If my requirement is possible without using outlook then please guide me with that also.
Kritika
kritika RanaPosted Aug 7, 2013, 2:14 AM
Because there are large number of files in a directory. First I have to sort the files according to date and time and then send as email . I just want to make this process automatic by clinking on a single button. If this is possible with c# then please assist me on this project.
Thanks for your assistance .
kritika
Iftikar HussainPosted Aug 7, 2013, 2:04 AM
Regards,
Iftikar
kritika RanaPosted Aug 7, 2013, 1:51 AM
How to link subject and body with that file.
void Inspectors_NewInspector(Microsoft.Office.Interop.Outlook.Inspector Inspector)
{
Outlook.MailItem mailItem = Inspector.CurrentItem as Outlook.MailItem;
if (mailItem != null)
{
if (mailItem.EntryID == null)
{
mailItem.Subject = "This text was added by using code";
mailItem.Body = "This text was added by using code";
}
}
}
Thanks
kritika
Iftikar HussainPosted Aug 7, 2013, 1:39 AM
http://msdn.microsoft.com/en-us/library/vstudio/cc668191.aspx
Regards,
Iftikar
kritika RanaPosted Aug 7, 2013, 1:35 AM
I want to make my own code for that. Is it possible with c# coding?
Kritika
kritika RanaPosted Aug 7, 2013, 1:33 AM
Iftikar HussainPosted Aug 7, 2013, 1:24 AM
Regards,
Iftikar
kritika RanaPosted Aug 7, 2013, 1:21 AM
The code you send is just reading the content but how to paste it in outlook express and send as email.
Thanks
Kritika
Iftikar HussainPosted Aug 7, 2013, 1:11 AM
string filename = @"C:\Test\R49-4002.041";
Regards,
Iftikar
kritika RanaPosted Aug 7, 2013, 12:56 AM
Hope you get it this time
Thanks
Kritika
Iftikar HussainPosted Aug 7, 2013, 12:48 AM
Regards,
Iftikar
kritika RanaPosted Aug 7, 2013, 12:41 AM
I hereby attach the file .I want to copy the complete data and paste it in MS office outlook express and send as email . This file is opened with any editor like wordpad
Thanks
Kritika
Iftikar HussainPosted Aug 7, 2013, 12:21 AM
Please share the file format and sample data.
Regards,
Iftikar
kritika RanaPosted Aug 7, 2013, 12:14 AM
They are the text files I want to extract some portion of the text which would the body of email from the files and paste it on the MS office outlook express and want to send the email automatically
Thanks
Kritika
VulpesPosted Aug 6, 2013, 8:49 AM