|
exactly......I want to read first 1000lines so that entire file is not loaded in memory....
Is there any mechanism to read excel file itself through some binary reader line by line?
|
|
|
|
|
Hi,
I am working on apop3 application. In this I connected to gmail and retrieved the selected number of mails. After this I closed the connection using "Quit" command. Then the number of emails that I selected are deleted from the pop3.
To solve this I used "RSET" command before "QUIT". But even then the emails are deleted.
If anyone have any idea to solve this please reply me.
Thanks in Advance.
Note:I didn't found any correct forum to post this. So I posted it here. If this is not the correct forum please suggest me the correct forum to post this.
|
|
|
|
|
this has nothing to with the application but the way you have configured the Email Server.
Especially, gmail has this option When messages are accessed with POP [^]where you can define what to once the email is accessed through POP3.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi all,
I have one windows service made in C#. I want My service to create CSV file every two minutes... but it should overwrite the existing file every two minutes. but whenever I try - it says file is already open - while I am sure that file is processed during those elapsed two minutes.. How do i programmatically close the file or overwrite the same. My file creation is through windows utility CSVDE (so have no control over creation except for the time and name!)
please suggest, thanks,
Jeet
|
|
|
|
|
I think you forgot to close the stream or something like that if you send the code, maybe i can have better ideas.
|
|
|
|
|
hi all,
came across to wonderful code, i am deleting older files now!
protected void CleanImageFolder()
{
string imgFolder = Server.MapPath("~/lab/maskemail/img/");
string[] imgList = Directory.GetFiles(imgFolder, "*.jpg");
foreach (string img in imgList)
{
FileInfo imgInfo = new FileInfo(img);
if (imgInfo.LastWriteTime < DateTime.Now.AddMinutes(-3))
{
imgInfo.Delete();
}
}
}
thanks
jeet
|
|
|
|
|
Can anybody tell me the parameter values for OFNHookProc Procedures..
|
|
|
|
|
What did you try to find the params yourself?
A simple google search [^]gave me these reults.
And the first one [^]seems to answer your questions.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Have a look at this[^].
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
Hi Experts
i using Visual Studio 2005.
I Fill a grid using Dataview in C#.NET winForms.
I Filter it with Dataview RowFilter then the result Come After Row Filter
Show in Different Grid now i want to Filter The Data from Second Grid not from first grid.
I mean to say that suppose e.g I Have Grid Result first Time
ID Name
1 Hello How R
2 i am fine
3 this is my book
4 this is C# Book
5 this is C# Example
6 Book is black
now i apply Row Filter on the 'this is'
dvs.RowFilter =Name like '%this is %'
now Result Come
ID Name
3 this is my book
4 this is C# Book
5 this is C# Example
Now i am again apply Row Filter not on the first case but apply on the second case.
now i apply Row Filter on the 'this is'
dvs.RowFilter =Name like '%Book%'
now Result Come this
I want this result set
ID Name
3 this is my book
4 this is C# Book
but result come
ID Name
3 this is my book
4 this is C# Book
6 Book is black
then how to fix this problem
this search within search in n time untill zero result is come....
Thank u
Dinesh
modified on Friday, July 3, 2009 7:14 AM
|
|
|
|
|
Sharma Dinesh Kumar wrote: dvs.RowFilter =Name like '%Book%'
dvs.RowFilter = Name Like '%Book%' AND Name like '%this is%'
Another options is that, use the CopyTo method of the dataview after the fisrt operation and now use this datatable to filter the results for the next datagridview
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
how to write a code/class for searching for a name from a database in c#
|
|
|
|
|
What you already done for this, if you don't know how to retrieve data from database, just buy a book and go through it.
I just give some hits to retrieve data from database for searching
1.write a sql query for searching
2.Execute with sqldatareader or dataset
3.display the result using grid view.
|
|
|
|
|
What have you tried so far???
himanshu
|
|
|
|
|
himanshu2561 wrote: What have you tried so far???
1) Waded through the internet ocean to arrive at CP Shores
2) Wandered a bit in the shore
3) Dumped the crap in C# forum
4) Set on another voyage again!
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
yup and still gives 1 to other.
himanshu
|
|
|
|
|
i haz codz for you goto www.viagradeals.com and type in your email address i willz emailz u codez
please use pay pal u come often yes no
|
|
|
|
|
Hi,
Could you please suggest me some good open source automated testing tool (like WinRunner but freeware/open source).
Thanks
|
|
|
|
|
Try AutoHotKey[^], it's a free macrorecorder
I are troll
|
|
|
|
|
|
Am checking on server the type of string inside a text box if it was only character i allow it to save on the database. I use JS but i have to check on server in case the user has disabled the JS.
|
|
|
|
|
Use Regular expression like
bool b=Regex.IsMatch(TextBox1.Text, "^[a-zA-Z]{1,}$");
himanshu
|
|
|
|
|
I Will try it but am also searching for a regular expression tha would allow alphabatical charachters only and Arabic Charachters.
|
|
|
|
|
Try this link for RegularExpression(use search option for string and Arabic words)
Regular Expression[^]
|
|
|
|
|
I still was not able to know what is the regular expression that allows alphabatical characters and arabic letters
|
|
|
|