Paradox Community

Items in pnews.paradox-programming

Subject:Re: Sessions
Date:Wed, 18 Oct 2017 22:25:25 -0700
From:Peter <peter@whiteknight.email>
Newsgroups:pnews.paradox-programming
I was thinking of writing a private dir key/value each time the program 
starts. Point taken, I'll concentrate on the form. Thank you for the tip.

Peter

Just learned something else.
Couldn't get this reply to go through then noticed the "To" was to 
Leslie and address was designed for anti-spam. After some digging I 
finally figured out that when I hit the "reply" button the email is 
going to the person I am responding to. Finally saw a "reply to List" 
option.

I apologize to all those that got email replies to their addresses.

P

On 10/18/2017 04:37 PM, Leslie wrote:
> Peter,
>
> Do NOT look to the registry to solve this problem, that is the wrong
> approach. I have explained many times why people using the Registry
> eventually can screw up the BDE and even if you find a Paradox specific
> setting you will run into the same trouble.
>
> The golden rule has always been to set your session "variables" at run
> time - do not expect "static" settings to live forever in case something
> occurs to change things - like someone else changing the registry to
> some other value.
>
> Leslie.
>
>
> On 19/10/2017 7:30 AM, Peter wrote:
>> Thank you for the reply.
>>
>> That is also the approach I have been using but I am running into other
>> complications so I would like to do it when opening the program
>>
>> I did make something up yesterday in a form, putting the SetPrivDir() in
>> the open method and trap for MenuChangingPriv in the menuaction (to
>> prevent closing.)It is working okay
>>
>> I tried doing it in a script but the script has no menuaction. So the
>> SetPrivDir() works but adding any other code (even a "view(PrivDir())")
>> will result in not working.
>>
>> I am now looking at the registry and seeing if there is something I
>> could there instead, via script writing data to the keys. Dangerous area
>> for me.
>>
>> Peter
>>
>>
>> On 10/17/2017 03:05 PM, modridirkac wrote:
>>> In a shortcut you can define which private to use.
>>>
>>> c:\app\runtme\pdxwin32.exe -p x:\app\priv1 -w x:\app\db  start.fsl
>>>
>>> Something like that.
>>>
>>> "Peter"  je napisal v sporońćilo news:59e67435$1@pnews.thedbcommunity.com
>>> ...
>>>
>>> It seems each computer has different disk/directory structures. Is it
>>> unwise to make a directory on the server and a folder for each station
>>> to serve as the private directory?
>>>
>>>
>>> On 10/17/2017 02:04 PM, Peter wrote:
>>>> I have an app running on a small network. I want each computer to run 2
>>>> sessions (on separate screens) of Pdox and am wondering the best way of
>>>> accomplishing that.
>>>>
>>>> The current method right now is defining two different private
>>>> directories in the desktop shortcuts. Is there a better way? Thank you
>>>> for any ideas.
>>>>
>>>>
>>>> Peter
>>>
>
> ---
> This email has been checked for viruses by AVG.
> http://www.avg.com
>


Copyright © 2004 thedbcommunity.com