Categoria: Lógica

1

Delphi: Exportar StringGrid para CSV

Delphi: Exportar StringGrid para CSV Dica: Exemplo de função para Exportar StringGrid para CSV var csv: tstringlist; row, col: integer; s,fn: string; begin fn := ExtractFilePath(Application.ExeName) + ‘bkp\’ + FormatDateTime(‘ddmmyy-hhnnsszzz’,Now) + ‘.csv’; csv:= tstringlist.create;...

0

Delphi: Forçar criação de Diretório

Delphi: Forçar criação de Diretório       if not DirectoryExists(ExtractFilePath(Application.ExeName) + ‘/teste’) then       ForceDirectories(ExtractFilePath(Application.ExeName) + ‘/teste’);  

Delphi: Ler Arquivo texto de um endereço HTTP 0

Delphi: Ler Arquivo texto de um endereço HTTP

Delphi: Ler Arquivo texto de um endereço HTTP Ler Arquivo texto de um endereço HTTP Ler Arquivo texto de um endereço Online var   S: string;   IdHTTP: TIdHTTP; begin   IdHTTP := TIdHTTP.Create(nil);...

0

WordPress – Desfazer MultiSite

  Bom dia pessoal, Muitas pessoas habilitam a configuração de MultiSite no WordPress e depois não sabem como voltar, isso é bem simples de ser feito.   Abra o arquivo wp-config.php no diretório raiz...