under Xbase++i have AppName() to get "Name" of App
how under Fivewin
![Question :?:](./images/smilies/icon_question.gif)
---How to keep a appl. on top of the dlg on resize ? (solved)
Code: Select all | Expand
? ExeName()
so there are 3 Solutionnageswaragunupudi wrote:Code: Select all | Expand
? ExeName()
Code: Select all | Expand
cOrigPath := "C:\DATA\ADDRESS.EXE"
IF ExeName() <> cOrigPath
? "Program name or directory have been changed!"
QUIT
ENDIF
Code: Select all | Expand
cOrigPath := "C:\DATA\ADDRESS.EXE"
IF HB_ProgName() <> cOrigPath
? "Program name or directory have been changed!"
QUIT
ENDIF
Code: Select all | Expand
? HB_ArgV( 0 )
Code: Select all | Expand
? GetModuleFileName( GetInstance() )
Code: Select all | Expand
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 )
ahh, i begin to remember ...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.