hi,
under Xbase++i have AppName() to get "Name" of App
how under Fivewin :?:
under Xbase++i have AppName() to get "Name" of App
how under Fivewin :?:
greeting,
Jimmy
Jimmy
How to keep a appl. on top of the dlg on resize ? (solved)---
? ExeName()nageswaragunupudi wrote:so there are 3 Solution? ExeName()
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.
This lib is automatically linked in build?..
Please note that this returns the exename with full path.
   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.ahh, i begin to remember ...
This is available in CT.LIB for xHarbour and hbct.lib for Harbour.