... C:\filesold\report\PIX_" + strzero(HB_RandomInt(1, 99999999),8,0) +'.PDF'
hPDF := FCreate(cFileName, 0)
FWrite(hPDF, sPDF)
FClose(hPDF)
WAPI_ShellExecute( NIL, "OPEN", cFileName ,"",NIL,5 )
RETURN Nil
Pra mim, nao ficou claro qual o conteudo dessa variavel ::qrcodeImage
Na primeita ...
Pesquisa resultou em 1640 ocorrências: +Wapi
Termo pesquisado: +wapi
- 14 Jul 2025 18:48
- Fórum: [x]Harbour
- Tópico: Pix Gerar QRCode
- Respostas: 8
- Exibições: 7137
- 17 Jun 2025 19:16
- Fórum: [x]Harbour
- Tópico: Pix Gerar QRCode
- Respostas: 8
- Exibições: 7137
Pix Gerar QRCode
... C:\filesold\report\PIX_" + strzero(HB_RandomInt(1, 99999999),8,0) +'.PDF'
hPDF := FCreate(cFileName, 0)
FWrite(hPDF, sPDF)
FClose(hPDF)
WAPI_ShellExecute( NIL, "OPEN", cFileName ,"",NIL,5 )
RETURN Nil ...
hPDF := FCreate(cFileName, 0)
FWrite(hPDF, sPDF)
FClose(hPDF)
WAPI_ShellExecute( NIL, "OPEN", cFileName ,"",NIL,5 )
RETURN Nil ...
- 15 Mai 2025 14:41
- Fórum: FiveWin
- Tópico: Novo mingw 15.1
- Respostas: 52
- Exibições: 5708
Novo mingw 15.1
... NumToHex(), TOleAuto(), Occurs(), HEval(),
TXMLIterator(), TXMLDocument()
hbmk2: Hint: Add option 'hbwin.hbc' for missing function(s):
wapi_OutputDebugString(), win_axGetControl(), wapi_CreateWindowEx(),
win_axInit(), __oleVariantNew()
hbmk2: Hint: Add option 'hbct.hbc' for missing ...
TXMLIterator(), TXMLDocument()
hbmk2: Hint: Add option 'hbwin.hbc' for missing function(s):
wapi_OutputDebugString(), win_axGetControl(), wapi_CreateWindowEx(),
win_axInit(), __oleVariantNew()
hbmk2: Hint: Add option 'hbct.hbc' for missing ...
- 23 Fev 2025 19:59
- Fórum: [x]Harbour
- Tópico: RestScreen() falhando com UTF8
- Respostas: 34
- Exibições: 18593
RestScreen() falhando com UTF8
... da API Windows, na lib hbwin do harbour.
FUNCTION MsgYesNo( cText )
LOCAL lValue
//hb_ThreadStart( { || PlayText( cText ) } )
lValue := wapi_MessageBox( wapi_GetActiveWindow(), cText, AppEmpresaApelido() + " Confirmação", WIN_MB_YESNO + WIN_MB_ICONQUESTION + WIN_MB_DEFBUTTON2 + WIN_MB ...
FUNCTION MsgYesNo( cText )
LOCAL lValue
//hb_ThreadStart( { || PlayText( cText ) } )
lValue := wapi_MessageBox( wapi_GetActiveWindow(), cText, AppEmpresaApelido() + " Confirmação", WIN_MB_YESNO + WIN_MB_ICONQUESTION + WIN_MB_DEFBUTTON2 + WIN_MB ...
- 21 Fev 2025 19:45
- Fórum: Contribuições, Dicas e Tutoriais
- Tópico: Configuração de compilação
- Respostas: 14
- Exibições: 14548
Configuração de compilação
... or EXE not signed" )
IF .F.
SignEXE( cFileName )
ENDIF
ENDIF
RETURN lOk
FUNCTION ShellExecuteOpen( cFileName, cParameters, cPath, nShow )
wapi_ShellExecute( Nil, "open", cFileName, cParameters, cPath, hb_DefaultValue( nShow, 1 ) )
RETURN Nil
FUNCTION Reorganize( hSetup )
LOCAL dDatIni ...
IF .F.
SignEXE( cFileName )
ENDIF
ENDIF
RETURN lOk
FUNCTION ShellExecuteOpen( cFileName, cParameters, cPath, nShow )
wapi_ShellExecute( Nil, "open", cFileName, cParameters, cPath, hb_DefaultValue( nShow, 1 ) )
RETURN Nil
FUNCTION Reorganize( hSetup )
LOCAL dDatIni ...
- 17 Fev 2025 15:50
- Fórum: Contribuições, Dicas e Tutoriais
- Tópico: Configuração de compilação
- Respostas: 14
- Exibições: 14548
Configuração de compilação
... GR*" )
? cText
SetColor( cSetColor )
stErro := .T.
Inkey(2)
RETURN Nil
FUNCTION ShellExecuteOpen( cFileName, cParameters, cPath, nShow )
wapi_ShellExecute( Nil, "open", cFileName, cParameters, cPath, hb_DefaultValue( nShow, 1 ) )
RETURN Nil
PROCEDURE HB_GTSYS
REQUEST HB_GT_WVG_DEFAULT ...
? cText
SetColor( cSetColor )
stErro := .T.
Inkey(2)
RETURN Nil
FUNCTION ShellExecuteOpen( cFileName, cParameters, cPath, nShow )
wapi_ShellExecute( Nil, "open", cFileName, cParameters, cPath, hb_DefaultValue( nShow, 1 ) )
RETURN Nil
PROCEDURE HB_GTSYS
REQUEST HB_GT_WVG_DEFAULT ...
- 29 Jan 2025 20:27
- Fórum: [x]Harbour
- Tópico: PRECISO DE AJUDAR URGENTE !!! NÃO COMPILA MAIS OS PRGS
- Respostas: 31
- Exibições: 13210
PRECISO DE AJUDAR URGENTE !!! NÃO COMPILA MAIS OS PRGS
... ISVISTAORLATER()
d:\harbour\addons>hbmk2 -find getsystemmetrics
addons\hmge_main.hbc (not installed):
GETSYSTEMMETRICS()
hbwin.hbc (installed):
wapi_GetSystemMetrics()
d:\harbour\addons>hbmk2 -find installeventhandler
addons\hmge_main.hbc (not installed):
INSTALLEVENTHANDLER()
d:\harbour ...
d:\harbour\addons>hbmk2 -find getsystemmetrics
addons\hmge_main.hbc (not installed):
GETSYSTEMMETRICS()
hbwin.hbc (installed):
wapi_GetSystemMetrics()
d:\harbour\addons>hbmk2 -find installeventhandler
addons\hmge_main.hbc (not installed):
INSTALLEVENTHANDLER()
d:\harbour ...
- 28 Jan 2025 07:31
- Fórum: [x]Harbour
- Tópico: Abrir arquivo do excel
- Respostas: 44
- Exibições: 32022
Abrir arquivo do excel
... l, c + 1 ) + ")", fNum2 )
// Close the workbook.
workbook_close( oBook )
?
set( _SET_ALTERNATE, .F. )
set( _SET_ALTFILE , "" )
// wapi_ShellExecute( nil, "open", BM_FILE_OUT )
wapi_ShellExecute( nil, "open", BM_FILE_XLSX )
// wait
return
// Tools functions common.
// Convert the ...
// Close the workbook.
workbook_close( oBook )
?
set( _SET_ALTERNATE, .F. )
set( _SET_ALTFILE , "" )
// wapi_ShellExecute( nil, "open", BM_FILE_OUT )
wapi_ShellExecute( nil, "open", BM_FILE_XLSX )
// wait
return
// Tools functions common.
// Convert the ...
- 20 Dez 2024 19:17
- Fórum: Contribuições, Dicas e Tutoriais
- Tópico: DICA: Codificar em Base64 direto do Prompt.
- Respostas: 4
- Exibições: 2289
DICA: Codificar em Base64 direto do Prompt.
... Documentos\' + cOutFileName )
//FWrite( hOutput, cDecode)
//FClose( hOutput )
hwg_Shellexecute(cOutFileName,"open",,cDirSist + "Documentos",1)
//wapi_shellexecute(,"Open",cOutFileName)
RETURN .T.
Zero DLL, 100% Harbour Full compatible with Android/OSX/Linux...Colocar em "ingrez", pq li numa ...
//FWrite( hOutput, cDecode)
//FClose( hOutput )
hwg_Shellexecute(cOutFileName,"open",,cDirSist + "Documentos",1)
//wapi_shellexecute(,"Open",cOutFileName)
RETURN .T.
Zero DLL, 100% Harbour Full compatible with Android/OSX/Linux...Colocar em "ingrez", pq li numa ...
- 26 Nov 2024 00:09
- Fórum: MiniGui
- Tópico: include\i_MsgBox.ch(20) Warning W0002 Redefinition or dupli
- Respostas: 59
- Exibições: 22989
include\i_MsgBox.ch(20) Warning W0002 Redefinition or dupli
... w64-mingw32/bin/ld.exe: C:/Users/MICROV~1/AppData/Local/Temp/hbmk_8q1xoq.dir/pci10000.o:pci10000.c:(.data+0x1d18): undefined reference to `HB_FUN_WAPI_SETMENU'
f:/programasinstalados/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/MICROV~1 ...
f:/programasinstalados/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/MICROV~1 ...
- 07 Nov 2024 17:56
- Fórum: Contribuições, Dicas e Tutoriais
- Tópico: Usar Thunderbird e enviar email via linha de comando
- Respostas: 3
- Exibições: 3294
Usar Thunderbird e enviar email via linha de comando
... conforme o email ele já configura imap(gmail), smtp, etc...
Apenas o que é mais importante, a linha de comando, para chamar do nosso .exe
wapi_ShellExecute( 0, 'open', 'thunderbird', '-compose "to=' + "'" + AllTrim(cEmail) + "'," + ;
"subject='"+cSubject+"',preselectid='id1',body='"+cBody ...
Apenas o que é mais importante, a linha de comando, para chamar do nosso .exe
wapi_ShellExecute( 0, 'open', 'thunderbird', '-compose "to=' + "'" + AllTrim(cEmail) + "'," + ;
"subject='"+cSubject+"',preselectid='id1',body='"+cBody ...
- 18 Mar 2024 23:54
- Fórum: HwGui
- Tópico: Abertura de outro programa console via hwgui
- Respostas: 32
- Exibições: 19248
Abertura de outro programa console via hwgui
... HB_GtInfo( HB_GTI_ISFULLSCREEN, .F. )
HB_GtInfo( HB_GTI_MAXIMIZED, .T. )
Está dando erro: Variable does not exist: HB_GTI_ISFULLSCREEN
wapi_ShellExecute(oMainWindow:handle, "open", "c:/caminho/arquivo.exe")
Não está aparecendo a tela console, embora, aparentemente, esteja abrindo ...
HB_GtInfo( HB_GTI_MAXIMIZED, .T. )
Está dando erro: Variable does not exist: HB_GTI_ISFULLSCREEN
wapi_ShellExecute(oMainWindow:handle, "open", "c:/caminho/arquivo.exe")
Não está aparecendo a tela console, embora, aparentemente, esteja abrindo ...
- 18 Mar 2024 12:12
- Fórum: HwGui
- Tópico: Abertura de outro programa console via hwgui
- Respostas: 32
- Exibições: 19248
Abertura de outro programa console via hwgui
Não testei, mas talvez funcione com esta função da hbwin:
wapi_ShellExecute(oMainWindow:handle, "open", "c:/caminho/arquivo.exe")
O valor 'default' do sexto parâmetro já é SHOWNORMAL Sendo assim, a janela do programa deve aparecer corretamente.
Se houver parâmetros, devem ser passados no quarto ...
wapi_ShellExecute(oMainWindow:handle, "open", "c:/caminho/arquivo.exe")
O valor 'default' do sexto parâmetro já é SHOWNORMAL Sendo assim, a janela do programa deve aparecer corretamente.
Se houver parâmetros, devem ser passados no quarto ...
- 11 Mar 2024 13:46
- Fórum: [x]Harbour
- Tópico: Customizar mensagens advertencias ex: MsfInfo, MsgStop, etc.
- Respostas: 18
- Exibições: 4727
Customizar mensagens advertencias ex: MsfInfo, MsgStop, etc.
wapi_MessageBox( wvgSetAppWindow():hWnd, cText, "Atenção", WIN_MB_ICONASTERISK )
essa função wvgSetAppWindow() tem equivalente na lib wvw ??
essa função wvgSetAppWindow() tem equivalente na lib wvw ??
- 20 Fev 2024 21:09
- Fórum: [x]Harbour
- Tópico: ErrorSys com erro
- Respostas: 11
- Exibições: 1462
ErrorSys com erro
... ENDIF
cArguments += hb_Eol()
NEXT
ENDIF
RETURN cArguments
STATIC FUNCTION ShellExecuteOpen( cFileName, cParameters, cPath, nShow )
wapi_ShellExecute( Nil, "open", cFileName, cParameters, cPath, hb_DefaultValue( nShow, WIN_SW_SHOWNORMAL ) )
RETURN Nil
Basicamente salva em disco ...
cArguments += hb_Eol()
NEXT
ENDIF
RETURN cArguments
STATIC FUNCTION ShellExecuteOpen( cFileName, cParameters, cPath, nShow )
wapi_ShellExecute( Nil, "open", cFileName, cParameters, cPath, hb_DefaultValue( nShow, WIN_SW_SHOWNORMAL ) )
RETURN Nil
Basicamente salva em disco ...