What do you want to save?
Add Code snippet
New code examples
-
-
Other 2021-11-14 07:09:13
Save and load richedit to mdb
//Get the data from the database as AnsiString rtfString := sql.FieldByName('rtftext').AsAnsiString; //Write the string into a stream stream := TMemoryStream.Create; stream.Clear; stream.Write(PAnsiChar(rtfString)^, Length(rtfString)); stream.Position :=... Add solution -
TypeScript 2021-11-13 12:48:12
maticons .svg
import { Component } from "@angular/core"; import { MatIconRegistry } from "@angular/material/icon"; import { DomSanitizer } from "@angular/platform-browser"; @Component({ selector: "app-root", templateUrl: &qu... Add solution -
Lua 2021-11-12 20:23:31
dice roll to add total to array lua
local function comp(ndice1, nsides1, ndice2, nsides2) local function throws(ndice, nsides) local sums = {} for i = 1, ndice*nsides do sums[i] = 0 end local function throw(ndice, nsides, s) if (ndice==0) then sums[s] = s... Add solution -
Javascript 2021-11-12 12:30:14
org.json.simple.JSONobject get integer
public static Update fromString(String json) { try { // Read json string JSONObject obj = (JSONObject) new JSONParser().parse(json); int buildNumber = ((Long) obj.get("buildNumber")).intValue(); URL download = new U... Add solution