Search found 805 matches: michel

Return to advanced search

Re: Some problems with the FWH-debugger

Dear Michel,

Please go to FWH\samples and run this:

buildh tutor01 -b

The debugger shows and works fine. Please try it and let me know what you get

many thanks

Image
by Antonio Linares
Sun Sep 10, 2023 2:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Some problems with the FWH-debugger
Replies: 11
Views: 468

Re: Fontsizes in resources

Michel, For each SCREEN RESOLUTION, you must CREATE A DIFFERENT DIALOGUE and call the corresponding dialog for each SCREEN RESOLUTION.

Para cada RESOLUCIÓN DE PANTALLA, debe CREAR UN DIÁLOGO DIFERENTE y llamar al diálogo correspondiente para cada RESOLUCIÓN DE PANTALLA.

Regards, saludos.
by karinha
Sat Aug 19, 2023 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fontsizes in resources
Replies: 4
Views: 212

Re: Another Question about FWH and Word

Dear Michel, chatgpt proposes this code, not sure if it will work as expected. You can easily port it to FWH #include <stdio.h>#include <windows.h>int main() {    HKEY hKey;    const char *regPath = ...
by Antonio Linares
Fri Aug 11, 2023 4:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another Question about FWH and Word
Replies: 6
Views: 346

Re: How to read settings in Word

Dear Michel,

To save the current current position:

nStartPosition = oWordApp:Selection:Range:Start
nEndPosition = oWordApp:Selection:Range:End

To later restore the cursor position:
oWordApp:Selection:SetRange( nStartPosition, nEndPosition )
by Antonio Linares
Wed Aug 09, 2023 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read settings in Word
Replies: 14
Views: 637

Re: How to read settings in Word

Dear Michel,

Please review this:
https://learn.microsoft.com/en-us/office/vba/api/word.options.defaultfilepath
https://documentation.help/VBAWD10/woproDefaultFilePath.htm

It should work as the first try but Harbour syntax does not allows it
by Antonio Linares
Tue Aug 01, 2023 5:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read settings in Word
Replies: 14
Views: 637

Re: How to read settings in Word

Dear Michel,

Please try it this way:

cWord:Options:DefaultFilePath[8] = cNewPath
by Antonio Linares
Tue Aug 01, 2023 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read settings in Word
Replies: 14
Views: 637

Re: How to read settings in Word

Dear Michel,

Please try this:

cWord:Options:DefaultFilePath(8) = cNewPath
MsgInfo( cWord:Options:DefaultFilePath(8) )

and check if it works and changes the path or generates an error
by Antonio Linares
Tue Aug 01, 2023 5:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read settings in Word
Replies: 14
Views: 637

Re: How to read settings in Word

Dear Michel,

How are you finally reading the settings ?

Please post the code to see how to save them, thanks
by Antonio Linares
Mon Jul 31, 2023 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read settings in Word
Replies: 14
Views: 637

Re: Another Question about FWH and Word

Dear Michel, According to google Bard it can be done this way: #include <windows.h>int main() {  // Get the handle of the Word application.  HWND word_app = FindWindow(L"Word.Application", ...
by Antonio Linares
Mon Jul 31, 2023 5:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another Question about FWH and Word
Replies: 6
Views: 346

Re: Another Question about FWH and Word

Dear Michel,

What addon is it ?
by Antonio Linares
Mon Jul 31, 2023 4:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another Question about FWH and Word
Replies: 6
Views: 346

Re: Small Question about Word and FWH

Dear Michel,

Already sent to your email
by Antonio Linares
Wed Jul 19, 2023 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Question about Word and FWH
Replies: 29
Views: 1183

Re: Small Question about Word and FWH

Dear Michel, Please try it this way: STATIC PROCEDURE WordQuit    local nFWHApps := 0    EnumWindows( { | hWnd | If( GetClassName( hWnd ) $ "TWINDOW,OpusApp", nFWHApps++, ) ...
by Antonio Linares
Wed Jul 19, 2023 6:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Question about Word and FWH
Replies: 29
Views: 1183

Re: Small Question about Word and FWH

Dear Michel, Please use this code: STATIC PROCEDURE WordQuit    local nFWHApps := 0    EnumWindows( { | hWnd | If( GetClassName( hWnd ) $ "TWINDOW,OpusApp", nFWHApps++, ) ...
by Antonio Linares
Tue Jul 18, 2023 5:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Question about Word and FWH
Replies: 29
Views: 1183

Re: Small Question about Word and FWH

Dear Michel,

> would it be difficult to create a same function for other applications or files (Word- or Excel-documents)?

You simply apply the same logic:

if there is only one FWH app running then you can quit it, if not, you don't
by Antonio Linares
Mon Jul 17, 2023 8:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Question about Word and FWH
Replies: 29
Views: 1183

Re: Small Question about Word and FWH

Dear Michel, Please change your function this way: STATIC PROCEDURE WordQuit    local nFWHApps := 0    EnumWindows( { | hWnd | If( GetClassName( hWnd ) == "TWINDOW", nFWHApps++, ...
by Antonio Linares
Mon Jul 17, 2023 5:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Question about Word and FWH
Replies: 29
Views: 1183
PreviousNext

Return to advanced search