Page 1 of 2

HMG4 dialogs (some functions)

Posted: Wed Mar 02, 2011 11:25 pm
by l3whmg
Hello everyone,
since I have updated some of the functions relating to directory functions, I tested some parts of the source dialogs.prg.
I refer to the functions HMG: GetFile, PutFile, GetFolder and consequently the basic function GetSetFile.
I found some little problems.

Preserving compatibility with HMG3, I tried to write the code a little differently, especially for the function GetSetFile which reduced the number of parameters (less than before) and placed them otherwise.

Also, I tried to pay attention to the presence or absence of certain parameters as well as their consistency or value.

Another example of action: I use the function GetUserHomeFolder() to establish, in the absence of the parameter value, from which directory to start looking.

Finally, with regard to selecting a file to update, I used the correct configuration for DialogBox, activating the button "SAVE" instead of "OPEN". In this way, by selecting an existing file, automatically gives a further QT DialogBox which asks the question "Do you want to replace ..." and has two buttons: "Yes" and "No " (but read comment inside source, please)

Since the function GetSetFile is different , let me know if you think this version should be published or not.
In my version the functions are called "L_GetFile", "L_PutFile", "L_GetFolder" and "L_GetSetFile" to avoid conflicts.

Cheers

Re: HMG4 dialogs (some functions)

Posted: Thu Mar 03, 2011 11:26 pm
by Carlos Britos
Hi
I'm trying to download the code and I can't. I get this file with message:
You are not authorised to download this attachment.
I tried with 2 browser deleting al cookies.
Any idea about this.
Am I punished ? :shock:

Re: HMG4 dialogs (some functions)

Posted: Fri Mar 04, 2011 4:01 am
by Rathinagiri
Hi,

I have tested out your permissions and I can download the file pretending to be you.

Does anybody else have the same problem?

I don't understand why this happens. Sorry for the inconvenience.

Re: HMG4 dialogs (some functions)

Posted: Fri Mar 04, 2011 8:29 am
by esgici
rathinagiri wrote:...
Does anybody else have the same problem?
Hi

From my side, no. Downloaded without any problem.

Hi Carlos,

Did you verified your privileges regarding OS settings ?

Regards

--

Esgici

Re: HMG4 dialogs (some functions)

Posted: Fri Mar 04, 2011 4:09 pm
by Carlos Britos
esgici wrote:
rathinagiri wrote:...
Does anybody else have the same problem?
Hi

From my side, no. Downloaded without any problem.

Hi Carlos,

Did you verified your privileges regarding OS settings ?

Regards

--

Esgici
Hi
Normally I don't have problems to download files from the forum, just the last ones

Re: HMG4 dialogs (some functions)

Posted: Fri Mar 04, 2011 4:21 pm
by l3whmg
Hi Carlos,
I've downloaded without problems, but I don't know if my test it's important: I've uploaded this file.

Cheers

Re: HMG4 dialogs (some functions)

Posted: Fri Mar 04, 2011 11:20 pm
by Carlos Britos
l3whmg wrote:Hi Carlos,
I've downloaded without problems, but I don't know if my test it's important: I've uploaded this file.

Cheers
Luigi can you send it to me at bcd12a(a_t)yahoo.com.ar
l3whmg wrote: I have tested out your permissions and I can download the file pretending to be you.
Does anybody else have the same problem?
I don't understand why this happens. Sorry for the inconvenience
Ratinagiri donĀ“t worry about this

I will upload a dummy file to check something, please Ignore this file

Re: HMG4 dialogs (some functions)

Posted: Sat Mar 05, 2011 11:20 am
by l3whmg
Hi Carlos,
I sent to you a zip file. Sometime I have same problems when downloading files from internet. I'm not sure, but I think about two problems: FF (normally I use this browser) and/or MsWin system. But I don't find a good solution: simply close browser or change folder destination....

Cheers

Re: HMG4 dialogs (some functions)

Posted: Sun Mar 06, 2011 5:29 am
by dhaine_adp
Hi Rathi,

I also encountered this problem. But it seems to me that it is a connection timed-out. Means if the browser is idle looks the forum software disconnects the connection or closes the connection.

If I right click on IE and open in new tab several links within the forum, although I was logged on on the first window but on the other tabs it says it shows login. Looks like that when we are not logon to HMG4 related links download is restricted. Well it is based on my observation but might also an O/S issue.

Regards,

Danny

Re: HMG4 dialogs (some functions)

Posted: Sun Mar 06, 2011 7:58 am
by Rathinagiri
It might be a problem related to cookie.

Have you enabled cookie for our forum?