Search found 202 matches

by hmgchang
Sun May 20, 2018 9:54 pm
Forum: Language Related
Topic: How to check user permissions
Replies: 8
Views: 386

Re: How to check user permissions

Dear Apais,
No program is alowed to write to the root folder since win 7
but I can copy/paste files to the c:\ with win explorer

Dear Bpd2000,
Thanks for the tips
1. Can we set the Administrators rights to the hmg Exe ?
2. Wil the rights remain if we rebuild the Exe ?

TIA

best rgds,
Chang
by hmgchang
Sat May 19, 2018 9:33 pm
Forum: Language Related
Topic: How to check user permissions
Replies: 8
Views: 386

Re: How to check user permissions

Yes and thanks KDJ,
what I don't understand is, I may copy files to my c:\, but
within hmgExe, I can not save a text file by hb_Memowrit to my c:\

any suggestion ?
TIA

best rgds,
Chang
by hmgchang
Thu May 17, 2018 10:52 pm
Forum: Language Related
Topic: How to check user permissions
Replies: 8
Views: 386

How to check user permissions

Dear Frens,
Marhaban ya Ramadhan

How to code for checking user permission for a folder in order to create/write a file/s....
Is there anyway to change/get the write permission on a folder.
It's on win10 os
TIA

Best rgds
Chang
by hmgchang
Thu May 17, 2018 10:44 pm
Forum: Language Related
Topic: How to check user permussions
Replies: 0
Views: 64

How to check user permussions

Dear Frens,
Marhaban ya Ramadhan

How to code for checking user permission for a folder in order to create/write a file/s....
Is there anyway to change/get the write permission on a folder.
It's on win10 os
TIA

Best rgds
Chang
by hmgchang
Mon May 14, 2018 8:45 pm
Forum: General Discussions
Topic: Program writing
Replies: 17
Views: 711

Re: Program writing

Dear Sir,
Pls try...
Form Main Menu, choose
- Language, Define your Language, Import


Hope this help

TIA

best rgds,
Chang
by hmgchang
Fri May 11, 2018 9:03 pm
Forum: HMG General Help
Topic: program lockup
Replies: 4
Views: 351

Re: program lockup

Dear Franco,

Pls attach your code in order for us to understand the situation

TIA

best rgds
Chang
by hmgchang
Wed May 09, 2018 11:29 pm
Forum: Others
Topic: Extract IP address
Replies: 1
Views: 860

Re: Extract IP address

maybe this may help, // extract first single IP address from text // bpd2000 Function Main LOCAL cRegEx :="[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+" LOCAL cText := "Kindly note my IP Address: 192.168.1.1 " LOCAL nStart, nLen LOCAL cIP cText += HB_EOL() + "other IP is : 192.169.1.100" aIp := hb_regexAll( cRegE...
by hmgchang
Wed May 09, 2018 11:00 pm
Forum: Language Related
Topic: Trap error with Begin Sequence
Replies: 6
Views: 382

Re: Trap error with Begin Sequence

Thank you very much Sir,
:D
by hmgchang
Sun May 06, 2018 9:40 pm
Forum: Language Related
Topic: Trap error with Begin Sequence
Replies: 6
Views: 382

Re: Trap error with Begin Sequence

Thanks Sir,

in my case, should I REQUEST all available functions at the beginning of the program ?
or can I do the REQUEST at runtime ( when the function name is clicked/List onChange) ?

TIA

best rgds
Chang
by hmgchang
Sun May 06, 2018 6:25 am
Forum: Language Related
Topic: Trap error with Begin Sequence
Replies: 6
Views: 382

Re: Trap error with Begin Sequence

Thank you KDJ...
It works

:D

Next question :
Why is hb_dskspacd() not recognise as a build in function while hb_eol() works ?

Best rgds
chang