Search found 108 matches: wmi

Return to advanced search

Re: ID of the new process

Your approach of comparing the lists of processes before and after creating the OLE object using WMI (Windows Management Instrumentation) is a reasonable way to identify the new process associated with the OLE object. However, there are a few other potential approaches ...
by Antonio Linares
Tue Nov 14, 2023 2:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ID of the new process
Replies: 2
Views: 327

Re: WMI / FOR EACH / does "Property" Exist ?

hi,
nageswaragunupudi wrote:What about HMG?
ps: I am asking because I never used them

i did not know __Obj* Function until Antonio told me so i have not use it under HMG
i will ask in HMG Forum if they have a Solution
by Jimmy
Tue Jun 13, 2023 5:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WMI / FOR EACH / does "Property" Exist ?
Replies: 4
Views: 262

Re: WMI / FOR EACH / does "Property" Exist ?

i have to use it for every "Property" to CATCH Error

Yes.
Better we make a function with TRY/CATCH
under Xbase++ "Property" aof COM/ActiveX are same as Member VAR (DATA)

That's nice. Good to know.
What about HMG?
ps: I am asking because I never used them
by nageswaragunupudi
Tue Jun 13, 2023 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WMI / FOR EACH / does "Property" Exist ?
Replies: 4
Views: 262

Re: WMI / FOR EACH / does "Property" Exist ?

hi, thx for Answer under Xbase++ "Property" aof COM/ActiveX are same as Member VAR (DATA) Eigenschaft (engl.: Property) Instanzvariable einer COM/ActiveX-Komponente, entspricht einer Membervariablen (IVar) eines Xbase++-Objektes. thats why i try __ObjHasData but fail -   TRY      a := 1   ...
by Jimmy
Tue Jun 13, 2023 4:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WMI / FOR EACH / does "Property" Exist ?
Replies: 4
Views: 262

Re: WMI / FOR EACH / does "Property" Exist ?

__ObjHasData and __ObjHasMethod work only with Harbour classes. if i use TRY / CATCH / END than line after Error will not execute Suggested: TRY  speed := o:SpeedCATCH  speed := 0END? speed  so how to "ask" in FOR EACH if a "Property" Exist FOR EACH works with Harbour Arrays and ...
by nageswaragunupudi
Tue Jun 13, 2023 1:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WMI / FOR EACH / does "Property" Exist ?
Replies: 4
Views: 262

WMI / FOR EACH / does "Property" Exist ?

hi, i use WMI to ask for some Hardware Information like RAM   FOR EACH oMemory IN oWmi:ExecQuery( "SELECT * FROM Win32_PhysicalMemory" )       nSumRAM += VAL( oMemory:Capacity )       cFormFactor := GetFormFaktorText( ...
by Jimmy
Tue Jun 13, 2023 4:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WMI / FOR EACH / does "Property" Exist ?
Replies: 4
Views: 262

Re: Problem with OLE and Microsoft Word

You can find the process in Word memory (via WMI) as "OpusApp" and delete it
oProcess:Terminate()
by Natter
Fri Apr 07, 2023 1:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with OLE and Microsoft Word
Replies: 6
Views: 516

Re: Memory() under Fivewin

hi Antonio, i have now try MEMORY() with all "hbmemory.ch" Constant but still "Total Memory" (2,914 GB get by WMI) of 32 Bit OS is not shown https://i.postimg.cc/PxDv71Rc/Memory.jpg /* Parameters for Memory() function *//* Standard */#define HB_MEM_CHAR ...
by Jimmy
Mon Mar 27, 2023 9:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memory() under Fivewin
Replies: 4
Views: 396

Re: The more fancy Xbrowses the more slow they become ?

to use a "external" Graphic Card is much quicker that "build-in" Graphic also for "Desktop" (WMI Graphic Score, not Gaming Graphic) Interesting .... I knew that ram and ssd are important, but for business database app. and the graphics card, that is new ...
by Marc Venken
Thu Nov 03, 2022 7:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: The more fancy Xbrowses the more slow they become ?
Replies: 8
Views: 469

Re: The more fancy Xbrowses the more slow they become ?

... faster than 20 ROW --- to use a "external" Graphic Card is much quicker that "build-in" Graphic also for "Desktop" (WMI Graphic Score, not Gaming Graphic)
by Jimmy
Thu Nov 03, 2022 5:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: The more fancy Xbrowses the more slow they become ?
Replies: 8
Views: 469

Re: List of printers

Thank you, Rao! I completely forgot about this function :( and wrote everything through WMI. At the same time, I used the EnableBIDI option for control to cut off printers like Microsoft Print to PDF
by Natter
Thu Oct 20, 2022 6:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: List of printers
Replies: 7
Views: 660

Re: ¿cómo verificar la resolución de pantalla de Windows?

hi karinha, my Answer was about your Result of WMI which did not recognize "VIA Chrome9 HV IGP Family" as in other Thread was as for "real" Desktop Size i thought your "Problem" is to "switch back" to Original ...
by Jimmy
Mon Sep 05, 2022 9:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿cómo verificar la resolución de pantalla de Windows?
Replies: 16
Views: 916

Re: ¿cómo verificar la resolución de pantalla de Windows?

...   // (118) Horizontal width of entire desktop in pixels https://forums.fivetechsupport.com/viewtopic.php?t=41228&start=10 or WMI FUNCTION VideoCard()LOCAL oWmi, oVideoLOCAL cInfo  := REPLICATE( "-", 79 ) + CRLFLOCAL bError := ERRORBLOCK( { ...
by Jimmy
Sat Sep 03, 2022 6:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿cómo verificar la resolución de pantalla de Windows?
Replies: 16
Views: 916

Re: Coordinates of a browser page

Through Enum I get a list of visible application windows and through WMI the process name for each window. In the loop, I bring the windows to the foreground and maximize them. At this moment I am executing a PS script in which by means of the PS method .CopyFromScreen ...
by Natter
Sun Jun 19, 2022 8:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Coordinates of a browser page
Replies: 10
Views: 468

Re: How many time my application is run in memory

hi, Is it possible to read Open Files in Shared folders via WMI?. (My Computer, Manage, System Tools, Shared folder, Open Files) i need to know "Win32_xxx" to "generate WMI Code using "WMI Code Creator" https://www.microsoft.com/en-us/download/details.aspx?id=8572 ...
by Jimmy
Mon May 30, 2022 1:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How many time my application is run in memory (SOLVED)
Replies: 25
Views: 1212
Next

Return to advanced search