Search found 283 matches
- Wed Nov 25, 2009 8:54 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Date & Time adjust
- Replies: 3
- Views: 578
Date & Time adjust
Dear friends, This code work well: Function TimeAdj( cNtpServer ) DEFAULT cNtpServer := "ntp1.inrim.it" WinExec( "net time /setsntp:"+cNtpServer, SW_HIDE ) ThreadSleep( 500 ) WinExec( "net stop w32time", SW_HIDE ) ThreadSleep( 500 ) WinExec( "net start w32time"...
- Wed Nov 25, 2009 8:34 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Date & Time adjust
- Replies: 3
- Views: 578
Date & Time adjust
Dear friends, I need to adjust the time on windows, if i run this batch: net time /setsntp:ntp1.inrim.it net stop w32time net start w32time the time is correctly updated. But this code don't work: WinExec( "net time /setsntp:ntp1.inrim.it", SW_HIDE ) WinExec( "net stop w32time", ...
- Wed Nov 25, 2009 7:42 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Process is running?
- Replies: 10
- Views: 1753
Re: Process is running?
Antonio, Are you able to find the window of the task using ? The process is in background! hWnd := FindWindow( 0, cWindowTitle ) MsgInfo( hWnd ) I tested without result! I tested also with GetTasks and GetWindow but nothing. In case that the task does not has a window, then you have to find its proc...
- Tue Nov 24, 2009 5:18 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Process is running?
- Replies: 10
- Views: 1753
Process is running?
Dear friends, I need to found if a process is running. I test GetTasks and GetWindow without result. The process is visible in process folder of task manager and, for example, with pslist.exe of sysinternals freeware utility. pslist -e <ProcessName> that return: This solution is not very professiona...
- Tue Nov 10, 2009 6:25 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: To know obj Hide/Show state
- Replies: 1
- Views: 261
To know obj Hide/Show state
Dear all,
I need to know the dialog's object hide/show state.
Is possible?
Many thanks in advance.
I need to know the dialog's object hide/show state.
Is possible?
Many thanks in advance.
- Thu Mar 19, 2009 1:09 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Debug
- Replies: 26
- Views: 8110
Re: Debug
WinDebug http://rapidshare.com/files/209798998/windebug.zip Things to be taken care for winDebug to work properly 1 . Compile your PRG's with /b (Debug parameter) 2 . Instead of the xHarbour lib DEBUG.LIB, WDEBUG.LIB (Which comes along with WinDebug) should be linked to the exe 3 . The CT.LIB also ...
- Thu Mar 19, 2009 12:32 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Debug
- Replies: 26
- Views: 8110
Re: Debug
Dear friends,
wow!!!!
thank you for all suggestions!
I'm going to do the tests!
wow!!!!
thank you for all suggestions!
I'm going to do the tests!
- Fri Mar 13, 2009 4:04 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Debug
- Replies: 26
- Views: 8110
Re: Debug
Dear friends,
How to make debugging of your applications?
How to make debugging of your applications?
- Sun Mar 08, 2009 1:38 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: About UNICODE
- Replies: 6
- Views: 1218
Re: About UNICODE
Dear Antonio,Antonio Linares wrote:We are implementing many changes to have full unicode support soon, but it is not fully available yet.
this is a big notice.
There is a prevision for the release this features?
- Sun Mar 08, 2009 1:32 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Debug
- Replies: 26
- Views: 8110
Debug
Dear friends, how to debug the fivewin applications? For now I put the msginfo/msgstop or other functions to know me the situation of some variables or only for to know if this piece of code is used. But I am not happy, this approach takes too long to solve. :( Are there other methods? I remember de...
- Wed Mar 04, 2009 10:03 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Preview
- Replies: 6
- Views: 956
Re: Preview
Ugo, if you want the behavior Fivewin had before you must change rpreview.prg and link in the changed one. Search for MDICHILD and comment it out. DEFINE WINDOW ::oWnd ; TITLE cTitle ; COLOR CLR_BLACK,CLR_LIGHTGRAY ; ICON oIcon ; VSCROLL HSCROLL //MDICHILD Dear Otto, now I understood, many thanks, ...
- Wed Mar 04, 2009 9:44 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Preview
- Replies: 6
- Views: 956
Re: Preview
Dear Otto,Otto wrote:Ugo,
maybe this thread can help you.
http://forums.fivetechsupport.com/viewt ... mdi#p75810
I read that post, but I did not understand what must change!
- Wed Mar 04, 2009 9:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Preview
- Replies: 6
- Views: 956
Re: Preview
Dear all, this is the a reduced and self-contained sample: FUNCTION Main() LOCAL oWnd DEFINE Window oWnd MDI ACTIVATE WINDOW oWnd ON INIT ( /*oWnd:Hide(),*/ Start( oWnd ) ) // MINIMIZED RETURN Nil STATIC FUNCTION start( oWnd ) LOCAL oDlg, oBtt DEFINE DIALOG oDlg OF oWnd @ 1,1 BU...
- Wed Mar 04, 2009 9:35 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Preview
- Replies: 6
- Views: 956
Preview
Dear all,
when start the print preview from a dialog, it is open into the main windows, under the dialog.
I need open it in another window, or that the printer open up the dialog.
when start the print preview from a dialog, it is open into the main windows, under the dialog.
I need open it in another window, or that the printer open up the dialog.
- Wed Mar 04, 2009 8:34 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: BTNGET vs GET..ACTION..BITMAP
- Replies: 8
- Views: 1239
Re: BTNGET vs GET..ACTION..BITMAP
Antonio,Enrico Maria Giordano wrote:It is not supported yet. You have to modify CreateButton() method for this. Antonio?Ugo wrote:There is also the RESOURCE
How to use the resource instead bitmap image?
can you help me?