Greg Madison, MS
2008-05-09 12:45:27 UTC
I would like to thank Bill Todd for his response to my initial Net Dir
question. I've also tried to get help from the borland.public.dbe newsgroup
as recomended by Bill but there are really not responses from anyone there.
I've followed the example found at
http://info.borland.com/devsupport/bde/bdeapiex/dbiopencfginfolist.html
and when I run the:
edit1.text:= GetConfigParameter(PARADOXNETDIR, @Count);
my edit1.text does in fact read C:\Users\Public (which is the directory I
manually set my Net Dir to on my Vista computer)
I then have another button that evokes the set function. Here I pass in the
value:
SetConfigParameter(PARADOXNETDIR,'c:\test');
When this line executes, I get an error that says 'Cannot Find Engine
Configuration File'
When I click on the OK button for the error box and then click my initial
button to GetConfigParameter, edit1.text will now say C:\test but there is
not a PDOXUSRS.NET file in the C:\test directory like I would expect. When
I exit the program and re-run the GetConfigParameter routine, I'm back to
C:\Users\Public, indicating no permanent change was made to the Net Dir.
This is confirmed if I run DBE Administrator and look at the Net Dir
setting.
Anyone with an idea why I get the 'Cannot Find Engine Configuration File'
error and why the Net Dir change is not permanent? I feel I'm close to a
solution so thanks again for your help.
Greg
question. I've also tried to get help from the borland.public.dbe newsgroup
as recomended by Bill but there are really not responses from anyone there.
I've followed the example found at
http://info.borland.com/devsupport/bde/bdeapiex/dbiopencfginfolist.html
and when I run the:
edit1.text:= GetConfigParameter(PARADOXNETDIR, @Count);
my edit1.text does in fact read C:\Users\Public (which is the directory I
manually set my Net Dir to on my Vista computer)
I then have another button that evokes the set function. Here I pass in the
value:
SetConfigParameter(PARADOXNETDIR,'c:\test');
When this line executes, I get an error that says 'Cannot Find Engine
Configuration File'
When I click on the OK button for the error box and then click my initial
button to GetConfigParameter, edit1.text will now say C:\test but there is
not a PDOXUSRS.NET file in the C:\test directory like I would expect. When
I exit the program and re-run the GetConfigParameter routine, I'm back to
C:\Users\Public, indicating no permanent change was made to the Net Dir.
This is confirmed if I run DBE Administrator and look at the Net Dir
setting.
Anyone with an idea why I get the 'Cannot Find Engine Configuration File'
error and why the Net Dir change is not permanent? I feel I'm close to a
solution so thanks again for your help.
Greg