What do you want to save?
Add Code snippet
New code examples
-
Html 2022-01-30 11:21:42
c# load embedded html document and show in browser
1. Add HTML Page from C3 Add New Item 2. Put html inside 3. Drag and drop the html (e.g. HTMLPage1.html) file into your Resources tab in the project: 4. Use code below private void button1_Click_1(object sender, EventArgs e) { ... Add solution -
Other 2022-01-28 19:41:03
Export Sqlite Database as csv in android
public boolean exportDatabase() { DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, Locale.getDefault()); /**First of all we check if the external storage of the device is available for writing. * Remember that the ext... Add solution -
C# 2022-01-27 14:51:36
c# streamreader to file
// after .NET 4.0 using (var fileStream = File.Create("C:\\Path\\To\\File")) { myOtherObject.InputStream.Seek(0, SeekOrigin.Begin); myOtherObject.InputStream.CopyTo(fileStream); } // before .NET 4.0 public static void CopyStream(Stream ... Add solution -
C# 2022-01-22 03:45:23
C# Create new file
//File and path you want to create and write to string fileName = @"C:\Temp\Temp.txt"; //Check if the file exists if (!File.Exists(fileName)) { // Create the file and use streamWriter to write text to it. //If the file existence is not ch... Add solution -
Other 2021-11-16 06:02:10
TIdEmailAddressItem undeclared
Hello, If you use ShellExecute you use/start an external application to send your email. So, this application can not handle attachments in the execute parameters. (I wonder how you fill the body and the mail address details.. and if this is possible why... Add solution -
C# 2021-11-11 00:46:12
how to write audio file from byte array C#
// to access the audio files themselves in your computer, // you need to access the 'Name' property from the FileStream(s) using Microsoft.VisualBasic.Devices; using System.IO; public class AudioFileWAV { public static FileStream Create(byte[] audio,... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5