Search found 35 matches: getobject

Return to advanced search

Re: ID of the new process

... class to get the owner of the process. This information might help you identify the user who created the process. ```vbscript Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") Set colProcesses = objWMIService.ExecQuery("Select * from Win32_Process Where Name = 'winword.exe'") ...
by Antonio Linares
Tue Nov 14, 2023 2:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ID of the new process
Replies: 2
Views: 321

Re: Excel se queda abierto en el administrador de tareas

... ser fuente de problemas. Pero tampoco, porque antes de abrir hago copia del libro excel por cada usuario. Uso siempre CreateObject() y nunca GetObject() para intentar aislar los problemas de una instancia excel de otra instancia excel Para evitar que los errores durante el procesamiento del ...
by hmpaquito
Fri Dec 24, 2021 9:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Excel se queda abierto en el administrador de tareas
Replies: 5
Views: 689

Re: Trouble with GetObject / CreateObject

have you tried:

hb_Run( "Reset-VM -Name "Windows 10_04_New" -Force" )
by Antonio Linares
Fri Aug 20, 2021 9:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trouble with GetObject / CreateObject
Replies: 1
Views: 358

Trouble with GetObject / CreateObject

All, I am using some code I found on the web to reset a VM on Hyper-V. VBScript: Set sService = GetObject("winmgmts:\\.\root\virtualization") FWH: oWinMgmt := CreateObject("winmgmts:\\.\root\virtualization") oWinMgmt := GetActiveObject("winmgmts:\\.\root\virtualization") ...
by byron.hopp
Fri Aug 20, 2021 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trouble with GetObject / CreateObject
Replies: 1
Views: 358

Re: FW user login to authenticate from windows active directory

... Thank's Baxajaun, the code must be: oRootDSE := CreateObject("LDAP://") I forgot to remove those parameter's, but all you get from GetObject or CreateObject is NIL :( .
by hebert_j_vargas
Tue Nov 17, 2015 6:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW user login to authenticate from windows active directory
Replies: 31
Views: 10034

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

Karinha

Obrigado pela resposta já havia baixado este código, mas não consigo validar a senha por ele.

Att
João Bosco
by joaosolution
Thu Feb 19, 2015 7:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: VBS GetObject("LDAP://RootDSE")
Replies: 7
Views: 1940

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

... strUser, ByVal strPW) Const ADS_SECURE_AUTHENTICATION = 1 Const ADS_SERVER_BIND = 512 strPath = "LDAP://RootDSE" Set LDAP = GetObject(strPath) Set strAuth = LDAP.OpenDSObject(strPath, strUser, strPW, ADS_SECURE_AUTHENTICATION Or ADS_SERVER_BIND) If Err.Number <> 0 Then ...
by joaosolution
Thu Feb 19, 2015 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: VBS GetObject("LDAP://RootDSE")
Replies: 7
Views: 1940

Re: Help on authenticating user thru windows domains

en foxpro este codigo funciona, pero aca la funcion getobject es capaz de crear el objeto com. parece ser que [x]harbour no es capaz de crear este tipo de objetos. esto en la prueba que he realizado && Supprimer un usagerProcedure DeleteUser(tcUser)lcUserId ...
by carlos vargas
Mon Nov 24, 2014 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help on authenticating user thru windows domains
Replies: 4
Views: 813

Re: StringFromCLSID

... Not rs.EOF    ' Bind to the object to make changes     ' to it because ADO is currently read-only.    MyUser = GetObject(rs.Fields(0).Value)    MyUser.AccountDisabled = True    MyUser.SetInfo    rs.MoveNextWend here: http://msdn.microsoft.com/en-us/library/aa746471%28v=vs.85%29.aspx ...
by frose
Thu Sep 18, 2014 11:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: StringFromCLSID
Replies: 15
Views: 2956

Tengo un mensqje de error en bcc582

Amigos Estoy intentando reconstruir el easyreport y esto es el resultado que estoy obteniendo: MAKE Version 5.2 Copyright (c) 1987, 2000 Borland c:\fwh1302\bcc582\bin\brc32.exe -r -Ic:\fwh1302\bcc582\include ereport.rc Borland Resource Compiler Version 5.40 Copyright (c) 1990, 1999 Inprise Corporati...
by Armando Picon
Thu Aug 14, 2014 12:08 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Tengo un mensqje de error en bcc582
Replies: 2
Views: 1560

Problemas al crear la libreria TWBROWSE

... == 10) && bSelect ) { rct->bottom-- ; bFlag = TRUE ; } wWidth = rct->right - rct->left ; wHeight = rct->bottom - rct->top ; GetObject( hBmp, sizeof( BITMAP ), ( LPSTR ) &bm ); if ( wHeight > bm.bmHeight ) { wRow = rct->top + ( ( wHeight - bm.bmHeight ) / 2 ) ; wHeight ...
by ander7319
Fri Jan 04, 2013 9:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al crear la libreria TWBROWSE
Replies: 6
Views: 2855

Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01

... == 10) && bSelect ) { rct->bottom-- ; bFlag = TRUE ; } wWidth = rct->right - rct->left ; wHeight = rct->bottom - rct->top ; GetObject( hBmp, sizeof( BITMAP ), ( LPSTR ) &bm ); if ( wHeight > bm.bmHeight ) { wRow = rct->top + ( ( wHeight - bm.bmHeight ) / 2 ) ; wHeight ...
by alex_cyr
Sat Jul 09, 2011 2:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01
Replies: 7
Views: 2631

Funcion PrepareInfoHeader

... bmiD; LPBITMAPINFOHEADER lpSrcBits, lpDesBits; DWORD dwSizeScr; HANDLE hDibSrc; HDC dc, dcDes; BITMAP bm; HBITMAP hbmDes, hbmOldDes; INT j,i; GetObject( hbm, sizeof( BITMAP ), &bm ); // source bmiS = PrepareInfoHeader( ( WORD ) bm.bmWidth, ( WORD ) bm.bmHeight ); dwSizeScr = ( ( bm.bmWidth ...
by softruz
Thu May 19, 2011 11:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funcion PrepareInfoHeader
Replies: 7
Views: 1127

Re: Posición de Tcalendar en un Dialogo

... #pragma BEGINDUMP #include "Windows.h" #include "hbapi.h" HB_FUNC( GETDEFAULTFONTNAME ) { LOGFONT lf; GetObject( ( HFONT ) GetStockObject( DEFAULT_GUI_FONT ) , sizeof( LOGFONT ), &lf ); hb_retc( lf.lfFaceName ); } HB_FUNC( GETDEFAULTFONTHEIGHT ) ...
by Silvio
Wed Apr 27, 2011 8:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Posición de Tcalendar en un Dialogo
Replies: 9
Views: 1646
Next

Return to advanced search