Search found 109 matches: getmodulefilename

Return to advanced search

Re: how to get "Name" of App ?

hi,

thx for Answer

the Link point to
How to keep a appl. on top of the dlg on resize ? (solved)


---

i got 2 Solution
1.) GetModuleFileName( GetInstance() )
2.) GetAppName()
where 2nd point to 1St
by Jimmy
Sat Apr 15, 2023 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get "Name" of App ?
Replies: 9
Views: 430

New Version of FiveWin 20.02

All, I just purchased a renew and received my copy of FiveWin 20.02 for Harbour. I am using Borland C++ 7.0. I tried using my mak file and got errors, I modified it based on build.bat and got errors. I replaced it with build.bat and got the following: Borland Resource Compiler Version 5.40 Copyright...
by byron.hopp
Thu Mar 31, 2022 8:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Version of FiveWin 20.02
Replies: 3
Views: 345

Re: Administrator operations

... therefore the user_check procedure must return a true or false logical variable of the type function test() local oDlt, lCont cDbfPath:=cFilePath(GetModuleFileName( GetInstance() )) + "2013\dbf\" cExePath:= cFilePath(GetModuleFileName( GetInstance() )) * SET DEFAULT TO &cDbfPath ...
by Silvio.Falconi
Mon Jun 07, 2021 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Administrator operations
Replies: 2
Views: 369

Re: New FTDN April/Abril 2021 (FWH 21.04)

... <b> ) ( <a> .LT. <b> ) Uso: if ( "FWH" .GT. "abc" ); <dosomething>; endif * Mejoras: Las funciones GetModuleFileName() y ShellExecute() ahora son Unicode compatibles, si FW_SetUnicode() está puesto a .T. * Nueva traducción: xtrim( <u> ) devuelve ...
by Antonio Linares
Fri Jun 04, 2021 2:15 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2021 (FWH 21.04)
Replies: 8
Views: 1959

New FTDN April/Abril 2021 (FWH 21.04)

... <b> ) ( <a> .LT. <b> ) Usage: if ( "FWH" .GT. "abc" ); <dosomething>; endif * Enhancements: functions GetModuleFileName() and ShellExecute() are now Unicode compatible, if FW_SetUnicode() is set to .T. * New translate: xtrim( <u> ) returns trim ...
by Antonio Linares
Mon May 31, 2021 3:53 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2021 (FWH 21.04)
Replies: 8
Views: 1959

Re: many bug about local file/directory when name is utf8

GetModuleFileName() and ShellExecute() are made Unicode compatible in the upcoming version of FWH to be released at any time.
by nageswaragunupudi
Fri May 28, 2021 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1401

Re: many bug about local file/directory when name is utf8

GetModuleFileName() is not Unicode compatible. Please do not use it. Instead, use ExeName() or HB_ARGV(0).
by nageswaragunupudi
Thu May 27, 2021 4:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1401

Re: many bug about local file/directory when name is utf8

cFilePath()、GetModulefileName() ?
by ssbbs
Thu May 27, 2021 3:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1401

Re: many bug about local file/directory when name is utf8

I will test point by point and answer one by one. b. GetModulefileName/cFilePath.... ExeName: #include "fivewin.ch"REQUEST HB_CODEPAGE_UTF8function Main()   HB_CDPSELECT( "UTF8" )   FW_SetUnicode( .t. )? ...
by nageswaragunupudi
Thu May 27, 2021 3:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1401

many bug about local file/directory when name is utf8

1. filename change from english to uft8, ex: 'abc.exe to ' 中文龍咙.exe'
2. directory is utf8 name, ex: 'c:\temp\中文龍咙\'

a. read/write .ini, GetPvProfString/WritePProfString....
b. GetModulefileName/cFilePath....
by ssbbs
Thu May 27, 2021 2:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: many bug about local file/directory when name is utf8
Replies: 19
Views: 1401

Re: change on line a combo

/ ??? Para que sirve, Silvio?
cIniFile := cFilePath( GetModuleFileName( GetInstance() ) ) + "tabledb.ini"


for save the state and other things
by Silvio.Falconi
Tue Nov 17, 2020 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 5336

Also for filename and subdir Resolved

... on record (dbf) only bitmaps\servizi\pattino.png I saw also filename.prg and not found a solution Function test() Local cIniFile := cFilePath( GetModuleFileName( GetInstance() ) ) + "Test.ini" Local cExePath := cFilePath( GetModuleFileName( GetInstance() ) ) Local cSerPath := GetIni( ...
by Silvio.Falconi
Sun Mar 15, 2020 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Also for filename and subdir Resolved
Replies: 4
Views: 925

Re: Show an gdi trasparency

Try this ( NO border ) c_path := cFilePath(GetModuleFileName( GetInstance() ) ) c_path1 := c_Path + "IMAGES\" FUNCTION DRAWIMAGE( oWnd ) LOCAL oGraphics1 := Graphics():New( oWnd:hDC ) LOCAL oGraphics2 := Graphics():New( oWnd:hDC ) LOCAL ...
by ukoenig
Thu Oct 17, 2019 2:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show an gdi trasparency
Replies: 5
Views: 693

Re: Problem with Tplan : Cargo Error

Nages, on Method New I add these lines local cInifile := TakeOffExt( GetModuleFileName( GetInstance() ) ) + ".ini" ::cDbfPath := GetIni( cIniFile, "Config", "DbfPath") this is the Main.ini [Config]YearPath=2013PdfPath=.\2013\Pdf\DbfPath=.\2013\Data\ZipPath=.\2013\Zip\DocPath=.\2013\Doc\XLsPath=.\2013\Xls\ImgPath=.\images\TempImg=.\temp\ ...
by Silvio.Falconi
Tue Jul 02, 2019 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2834

Re: Problem with Tplan : Cargo Error

... = NIL       endif    RETURN nil  line 495 oData:Cargo = {=>} this afternoon I add a new data to samplePlan class DATA cDbfPath init cFilePath(GetModuleFileName( GetInstance() )) + "Data\" // just for testing Now it seem run ok https://i.postimg.cc/tgX2N09q/right.png ...
by Silvio.Falconi
Mon Jul 01, 2019 6:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2834
Next

Return to advanced search

cron