Can anyone please tell me how to delete WebBrowser control's cookie? Suppose I visited www.gmail.com through my application using webbrowser control. Now after visiting I want to delete the cookies stored by www.gmail.com .
I want to know how to sort out this problem? I have searched the net a lot, but no help, all methods like webbrowserCtl.Document.Cookies = "" or null doesnot serve the purpose at all.
i have a C# windows application form with various controls such as textbox ,combo box,date time picker etc. i want that on clicking a button PRINT the data entered by the user in the controls should be added to particular cells of an existing Excel sheet (for e.g. i have to add the data in textBox1 to a particular cell of sheet1.xls saved on desktop)and then the sheet should be printed..i don't want the data to be saved on the sheet as i want that the next time i click the PRINT button the new data should be entered to the same cell. ...plz help and thanks in advance
I have a string stored in a variable, say
I want to extract the text between <link> and </link> and also the text between <title> and </title> in two different arrays.
How to do this, please help me. if anyone have code or any helpfull link please reply back.
string sFull = "this the is test for the true";
string sToSearch = "the";
int iFirst = sFull.IndexOf(sToSearch);
int iSecond = sFull.IndexOf(sToSearch, iFirst + sToSearch.Length);
string sText = sFull.Substring(iFirst + sToSearch.Length, iSecond - iFirst -sToSearch.Length);
I have a form that can optionally display several MDI children forms. I have a toolbar that when clicked, I'd like to make the child visible and bring it to the front. If the child is already visible but not in the front, I'd like to bring it to the front. Finally, if the child is visible and in the front I would like to hide the child until the button is pressed again.
I have no problem showing/hiding or bringing the form to the front, but I don't know how to determine which form is on top. Any ideas on how to do this?
modified 12-Jul-20 21:01pm.
Last Visit: 31-Dec-99 18:00 Last Update: 10-Apr-21 4:45