Pesquisa resultou em 4256 ocorrências: +New

Termo pesquisado: +new

por Kapiaba
03 Dez 2025 15:44
Fórum: [x]Harbour
Tópico: enviar arquivo via http multipart/form-data
Respostas: 2
Exibições: 2706

Re: enviar arquivo via http multipart/form-data

Algo assim?


#include "fivewin.ch"

FUNCTION Main()

LOCAL oHTTP := HTTPRequest():New()
LOCAL cURL := "http://your-server.com/upload" // Replace with your target URL
LOCAL cBoundary := "----WebKitFormBoundary7MA4YWxkTrZu0gW" // A unique boundary string

// Set the Content-Type header for ...
por alxsts
20 Nov 2025 03:46
Fórum: Bate Papo
Tópico: Configurando o forum!
Respostas: 32
Exibições: 1015

Re: Configurando o forum!

... Manage extensions".
Find "Recent Topics" in the list of Disabled Extensions and click "Enable".
Configure the Extension:
Once enabled, a new section for the extension should appear in the ACP (e.g., under "Extensions" or "General").
Here you can customize various settings:
Number of ...
por jelias
14 Out 2025 17:36
Fórum: [x]Harbour
Tópico: Importar de planilha do EXCEL
Respostas: 1
Exibições: 4377

Importar de planilha do EXCEL

... FILE(cCaminho+"\"+cNomeArquivo)
MENSAGEM("Atenção, arquivo cClassTrib.xlxs NÃO encontrado da pasta "+cCaminho,8)
retu
end

oExcel := TOleAuto():New( "Excel.Application" )
oExcel:WorkBooks:Open( cCaminho+"\"+cNomeArquivo )
oExcel:Visible := .F.
oSheet := oExcel:Get( "ActiveSheet" )
oSheet:Cells ...
por alaminojunior
09 Out 2025 14:14
Fórum: CA-Clipper
Tópico: FTP COM ERRO
Respostas: 2
Exibições: 4403

FTP COM ERRO

... usava esta rotina , e tempos depois nao condigo mais.
cUrl := "ftp://" + cUser + ":" + cPassword + "@" + cServer
? "cUrl",cUrl
oUrl := tUrl():New( cUrl ) //// AQUI O SISTEMA TRAVA
? "tUrl..."
oFtp := TIPClientFtp():New( oUrl ,.T. )
? "TIPClientFtp..."

Minha função de download de arquivos ...
por ANDRIL
17 Set 2025 12:35
Fórum: [x]Harbour
Tópico: Rolagem de tela em monitor touch screen
Respostas: 6
Exibições: 5958

Rolagem de tela em monitor touch screen

Olá Fernando,

Estou usando gtWvg. Crio a janela com WvgCrt() defino alguns parametros:

oCrt := WvgCrt():New( , , { 0, 0 }, { 24, 79 }, , .T. )
oCrt:lModal := .T.
oCrt:resizable := .F.
oCrt:closable := .F.
oCrt:title := "SISTEMA"
oCrt:icon := ICONE_SISTEMA
oCrt:Create()

Não achei nenhum ...
por lucimauro
09 Set 2025 11:39
Fórum: [x]Harbour
Tópico: Atualização harbour 09.09.2025
Respostas: 0
Exibições: 3799

Atualização harbour 09.09.2025

2025-09-09 13:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbdefs.h
+ added new types HB_WCHAR16 and HB_WCHAR32, existing type HB_WCHAR
is mapped to HB_WCHAR16 (just like before)

* include/hbapicdp.h
* src/harbour.def
* src/rtl/cdpapi.c
+ added new C functions for ...
por Itamar M. Lins Jr.
01 Set 2025 13:01
Fórum: Sistemas Operacionais
Tópico: Unidade SSD/NVME no windows sumindo !
Respostas: 4
Exibições: 3341

Unidade SSD/NVME no windows sumindo !

... é criado por IA
Aposto que a Microsoft nem sabe o que tem nesta atualização...
https://www.pcworld.com/article/2768784/microsoft-ceo-claims-30-of-new-code-is-written-by-ai.html

https://www.pcworld.com/wp-content/uploads/2025/06/Person-using-Windows-11-laptop-on-lap.jpg?resize=1024%2C576&quality ...
por Itamar M. Lins Jr.
01 Set 2025 09:54
Fórum: [x]Harbour
Tópico: Atualização Harbour 29/08/2025
Respostas: 0
Exibições: 3819

Atualização Harbour 29/08/2025

... a geração do BMP.


/* and now much faster version */
cBitMap := hb_zebra_getbitmap( hZebra, nAlign, .T./*lBottomUp>*/, @nWidth, @nHeight, nLineWidth, nLineHeight, nX )
pBMP := hb_bmp_frombitmap( cBitMap, nAlign, nWidth, nHeight, nDepth, /*nDPI*/, /*aPalette*/, /*@nError*/ )
cFile := Lower ...
por JoséQuintas
22 Ago 2025 16:52
Fórum: [x]Harbour
Tópico: Atualizações Harbour 3.2 - 22/02/2025
Respostas: 2
Exibições: 4306

Atualizações Harbour 3.2 - 22/02/2025

... hbbmp/hbbmp.hbp
+ contrib/hbbmp/hbbmp.hbx
+ contrib/hbbmp/readme.txt
+ contrib/hbbmp/tests/hbbmptst.prg
+ contrib/hbbmp/tests/hbmk.hbm
+ added new BMP image library for Harbour
; HBBMP is small library for Harbour dedicated to create and modify
BMP images. It has not any 3rd party libs ...
por Itamar M. Lins Jr.
22 Ago 2025 07:41
Fórum: [x]Harbour
Tópico: Atualizações Harbour 3.2 - 22/02/2025
Respostas: 2
Exibições: 4306

Atualizações Harbour 3.2 - 22/02/2025

... 2025-08-22 12:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbzebra/coredraw.c
* contrib/hbzebra/hbzebra.hbx
+ added new PRG function:
hb_zebra_getsize( <hZebra>, @<nWidth>, @<nHeight> ) -> <nError>
it calculates size in points of the created barcode and returns 0 on ...
por JoséQuintas
21 Ago 2025 14:29
Fórum: Contribuições, Dicas e Tutoriais
Tópico: Como seria isto em xharbour ? sem o ...
Respostas: 3
Exibições: 1594

Como seria isto em xharbour ? sem o ...

... de preguiçoso.... kkkk

Como faria isso dar certo sem ... ou em xharbour ?


#include "hbclass.ch"

PROCEDURE Main

LOCAL oItem

oItem := Test():New()
oItem:One()
oItem:One( Nil )
oItem:Two()
oItem:Two( Nil )

Inkey(0)


RETURN

CREATE CLASS Test
METHOD One( ... ) INLINE ::Two ...
por JoséQuintas
18 Ago 2025 16:31
Fórum: MiniGui
Tópico: Só uma idéia que veio na cabeça pra OOP na HMG3
Respostas: 12
Exibições: 1593

Só uma idéia que veio na cabeça pra OOP na HMG3


/*
h_HmgApp
*/

#include "hbclass.ch"

MEMVAR _HMG_SYSDATA

THREAD STATIC oApp

INIT PROCEDURE Init_oApp

oApp := _hmg_AppClass():New()

RETURN

CREATE CLASS _Hmg_AppClass

VAR aList INIT {}
METHOD AddItem( xValue )
METHOD GetItemFromName( xValue )
METHOD GetItemFromHandle( xValue )
METHOD ...
por JoséQuintas
17 Ago 2025 16:32
Fórum: FiveWin
Tópico: O que falta no browse?
Respostas: 7
Exibições: 8365

O que falta no browse?

O erro é este:


SYSTEM ERROR
Error BASE/1100 Argument error: TRIM
Called from RTRIM(0)
Called from TDIALOG:NEW(0)
Called from BROWSE(0)
Called from CMDBROWSE(1727)
Called from PUTILDBASE(70)
Called from DO(0)
Called from DOPRG(171)
Called from (b)RUNMODULE(113)
(1) = Tipo: N Valor: 2 ...
por alxsts
10 Ago 2025 11:21
Fórum: [x]Harbour
Tópico: Compilar com -w3 -es2
Respostas: 7
Exibições: 5429

Compilar com -w3 -es2

... name. The private variable is
declared with the MEMVAR statement:

FUNCTION Example
MEMVAR amount, address
PRIVATE amount := 100
USE Customer NEW
//
? amount // Refers to amount private variable
? Customer->Amount // Refers to Amount field variable
//
RETURN NIL

Fonte: Norton Guides ...
por JUDSON ROSA
29 Jul 2025 12:23
Fórum: CA-Clipper
Tópico: FTP COM ERRO
Respostas: 2
Exibições: 4403

FTP COM ERRO

Boa tarde , preciso de uma ajuda , usava esta rotina , e tempos depois nao condigo mais.

cUrl := "ftp://" + cUser + ":" + cPassword + "@" + cServer


? "cUrl",cUrl

oUrl := tUrl():New( cUrl ) //// AQUI O SISTEMA TRAVA

? "tUrl..."

oFtp := TIPClientFtp():New( oUrl ,.T. )

? "TIPClientFtp..."