hi,
under Xbase++i have AppName() to get "Name" of App
how under Fivewin
How to keep a appl. on top of the dlg on resize ? (solved)
? ExeName()
nageswaragunupudi wrote:
- Code: Select all Expand view
? ExeName()
cOrigPath := "C:\DATA\ADDRESS.EXE"
IF ExeName() <> cOrigPath
? "Program name or directory have been changed!"
QUIT
ENDIF
cOrigPath := "C:\DATA\ADDRESS.EXE"
IF HB_ProgName() <> cOrigPath
? "Program name or directory have been changed!"
QUIT
ENDIF
? HB_ArgV( 0 )
? GetModuleFileName( GetInstance() )
Example:
// If command line is : C:\temp>test.exe p1 p2
? HB_ArgV() // C:\temp\test.exe
? HB_ArgV( 0) // C:\temp\test.exe
? HB_ArgV( 1 ) // p1
? HB_ArgV( 2 ) // p2
? HB_ArgV( 3 ) // ( Null String )
nageswaragunupudi wrote:This is a function from Clipper Tools functions, available from the good old Clipper days.
This is available in CT.LIB for xHarbour and hbct.lib for Harbour.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 66 guests