Search found 59 matches: byval

Return to advanced search

AYUDA Validacion LRC para datafono

... en valores hexadecimales. Ej: 02006236303030303030303030313030302020301C 'Retorna el LRC en valor Hexadecimal. Ej. 5D Private Function CheckLCR(ByVal s As String) As String Dim checksum As Integer = 0 'Este valor lo reemplazé por 2 y todo salió de maravillas. For Each c As Char In GetStringFromHex(s) ...
by russimicro
Sat Mar 30, 2024 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA Validacion LRC para datafono
Replies: 2
Views: 488

Re: Small Question about Word and FWH

... ' You can display an error message or prompt the user to close the document manually End If End If End Sub Private Function GetJWordDocumentState(ByVal hWnd As IntPtr) As Boolean Dim cds As New CopyDataStruct() cds.dwData = IntPtr.Zero cds.lpData = String.Empty cds.cbData = 0 Dim result As IntPtr ...
by Antonio Linares
Mon Jul 17, 2023 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Question about Word and FWH
Replies: 29
Views: 1151

Webservice de .NET a Fivewin

... RETU .T. ///////////////////////////////////////////////////////////////////////////////////////// [b]Public Function buscarRespuesta(ByVal sXmlIda As String, ByVal sTipo As String, ByVal nIdTran As Long, ByVal sTipoVal As String, ByVal sRootSwitch As String) As String [/b] ''sXmlIda= ...
by mterraz
Wed Jul 12, 2023 4:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webservice de .NET a Fivewin
Replies: 2
Views: 585

Re: Copying a file

... As StringDim ShortFileName As StringPrivate Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (ByVal longPath As String, ByVal shortPath As String, ByVal shortBufferSize As Int32) As Int32 I understand that you can get the alias of a file using ...
by Natter
Thu Sep 02, 2021 7:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copying a file
Replies: 17
Views: 1193

Como cargar funciones desde una Dll?

Buen dia Amigos del Foro En .NET tenemos una funcion como esta para abrir un puerto de impresora Public Function AbrirPuerto(ByVal wPuerto As UShort, ByVal dwBaudios As UInteger) As UInteger [Ejemplo] Dim iRet As UInteger iRet = DFiscal.AbrirPuerto(1, 9600) Me pueden indicar como lo ...
by Erick Almanza
Fri Oct 30, 2020 5:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como cargar funciones desde una Dll?
Replies: 1
Views: 347

DigitalPersona SDK

... requested FAR set by the FARRequested property. Syntax Dim oVerificationResult As DPFPVerificationResult Set oVerificationResult = object.Verify( ByVal oVerificationFeatureSet As Object, ByVal oFingerprintTemplate As Object) Could you help me ?
by vilian
Thu Feb 06, 2020 12:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DigitalPersona SDK
Replies: 25
Views: 3362

Creando Objetos desde un OCX

... Class FormIFH2G Dim hasar As HasarArgentina.ImpresoraFiscalRG3561 = New HasarArgentina.ImpresoraFiscalRG3561 Private Sub ButtonRepZeta_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonRepZeta.Click Dim cierre As HasarArgentina.RespuestaCerrarJornadaFiscal Dim ...
by mterraz
Tue Jun 06, 2017 2:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creando Objetos desde un OCX
Replies: 16
Views: 2789

DLL32 type object...

... comandos básicos...copiándome del ejemplo que trae de VB6.0 VB Public Declare Function BiOpenMonPrinter Lib "EpsStmApiWrapper.dll" (ByVal nType As Integer, ByVal pName As String) As Long FWH DLL32 FUNCTION BiOpenMonPrinter(TYPE_PRINTER AS _INT, PRINTER_NAME AS STRING) AS _INT PASCAL ...
by Tatoo
Tue Apr 12, 2016 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 type object...
Replies: 1
Views: 505

Re: Calculating or controling IBAN numbers

hello, Anyone who can "translate" this VB code please. Public Function BBANtoIBANint(ByVal ISOcountry As String, ByVal banknumber As String, ByVal Account As String) As String Dim xd As Object Set xd = CreateObject("msxml2.domdocument.4.0") xd.Load ...
by bart
Wed Feb 25, 2015 1:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculating or controling IBAN numbers
Replies: 5
Views: 6032

Re: VBS GetObject("LDAP://RootDSE")

... de converter esta função em VbScript para xHarbour, a minha necessidade é validar o usuário pelo Active Directory Function AuthenticateUser(ByVal strUser, ByVal strPW) Const ADS_SECURE_AUTHENTICATION = 1 Const ADS_SERVER_BIND = 512 strPath = "LDAP://RootDSE" Set LDAP = GetObject(strPath) ...
by joaosolution
Thu Feb 19, 2015 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: VBS GetObject("LDAP://RootDSE")
Replies: 7
Views: 1940

Re: Leer en un get oculto

... Talvez alguien que lo traduzca a FWH. Con la Api HideCaret puedes ocultar el cursor: Private Declare Function HideCaret Lib "user32" (ByVal hwnd As Long) As Long El siguiente ejemplo oculta el cursor de Text1 al hacer clic sobre el Private Sub Text1_Click() HideCaret Text1.hwnd End ...
by FranciscoA
Thu Jan 01, 2015 2:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Leer en un get oculto
Replies: 10
Views: 1126

Re: Send EPL Command to a USB printer

... is how to declare the DOCINFO type Private Declare Function StartDocPrinter Lib "winspool.drv" Alias _ "StartDocPrinterA" (ByVal hPrinter As Long, ByVal Level As Long, _ pDocInfo As DOCINFO) As Long Is there any idea?
by JimTheo
Thu Jul 04, 2013 6:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Send EPL Command to a USB printer
Replies: 14
Views: 4360

Re: Harbour Ole syntax

2 arguments first one date and the second boolean (default to set) Public Sub ShowDay( _ ByVal Day As Date, _ Optional ByVal Select As Boolean = True _ ) Parameters Day [in] Date\DteTime object specifying the date to show in the current view. Select [in] True to select\highlight ...
by Richard Chidiak
Mon Jun 03, 2013 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour Ole syntax
Replies: 34
Views: 6560

Re: Cover Flow

... the code that we need to port is: FUNCTION FreeImage_LoadDIBFromHandle( BYVAL hDC AS LONG, BYVAL fHandle AS DWORD ) AS LONG Its not difficult. We can work on that from next week on.
by Antonio Linares
Fri Aug 24, 2012 5:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cover Flow
Replies: 10
Views: 5585

Como cargar funciones de una libreria en FWH?

Buen dia compañeros del foro

Como puedo realizar esta instrucción en fwh ?

Declare Function OpenFpctrl Lib "tfhkaif.dll" (ByVal lpPortName As String) As Long

el resultado debe ser TRUE O FALSE

Desde ahora gracias por su apoyo.



Saludos,
Erick Almanza
FWH 8.6
by Erick Almanza
Tue Jul 03, 2012 4:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como cargar funciones de una libreria en FWH?
Replies: 1
Views: 762
Next

Return to advanced search