Subject |
Re: inno indexing problem? Sorta solved |
From |
Ken Mayer <dbase@nospam.goldenstag.net> |
Date |
Tue, 6 Aug 2024 09:35:38 -0700 |
Newsgroups |
dbase.getting-started |
On 8/6/2024 6:51 AM, Charlie wrote:
> Hi Ken... Thanks so much for all the information. I do have your books but I think I have a learning disability as I don't retain much if it isn't what I am trying to do while reading. That is why I love this forum!
>
> My bad for not studying inno more. I have learned a lot in this discussion though.
>
> What I am trying to avoid is publishing this program and someone is using it. Possibly I could miss an error that could pop up and the user gets the error which more or less makes the program break with multiple errors. And of course the user wouldn't have any clue how to fix it. I am thinking because I am using the programdata instead of the appdata. With an error it somehow confuses everything unless you delete the new folder in appdata.
>
> So I am thinking of using appdata instead of programdata.
>
> But since I don't know the user's folder name how would I set the bde? Would it be something like users\default\appdata\local\mydata?
>
> I am not sure if that would work on all windows computers.
You don't have to know the users' name, and for the BDE, I seriously
(VERY MUCH SO) recommend using User BDE Aliases, ones that are stored in
the .ini file. That way you avoid any issues with rights for the
IDAPI.CFG file (which can be a problem sometimes). If you examine the
.iss programs I sent you (particularly the oanda.iss one) you will see
that I have code to add the User BDE Alias into the .ini file ...
Ken
--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm
|
|