What do you want to save?
Add Code snippet
New code examples
-
C# 2021-10-18 01:51:04
c# web scraping get images from specific url
static void browser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { WebBrowser browser = (WebBrowser)sender; HtmlElementCollection collection; List<HtmlElement> imgListString = new List<HtmlElement>(); ... Add solution -
C# 2021-10-14 23:19:03
c# list to string replace last comma with and
var test = "Service Control Manager repeated 5 times, Microsoft-Windows-DistributedCOM repeated 2 times, Control Manager repeated 6 times."; var lastComma = test.LastIndexOf(','); if (lastComma != -1) test = test.Remove(l... Add solution -
VBA 2021-10-14 00:16:04
search in richtextbox vb.net
Dim index As Integer = 0 'TextBox1 = text to be searched in the rich text box 'RichTextBox1 = text being searched While index < RichTextBox1.Text.LastIndexOf(TextBox1.Text) RichTextBox1.Find(TextBox1.Text, index, RichTextBox1.TextLength, RichTextBox... Add solution -
C# 2021-10-11 18:31:05
vb.net rss picture safe
' Save the picture. Private Sub btnSavePicture_Click(ByVal sender As _ System.Object, ByVal e As System.EventArgs) Handles _ btnSavePicture.Click ' Compose the picture's base file name. Dim file_name As String = Application.ExecutablePath ... Add solution -
C# 2021-10-08 11:42:04
login to ftp server c#
public string[] GetDirectory() { StringBuilder result = new StringBuilder(); FtpWebRequest requestDir = (FtpWebRequest)WebRequest.Create("ftp://urserverip/"); requestDir.Method = WebRequestMethods.Ftp.ListDirectory; requestDir.Cr... Add solution