NewsArchive
03-09-2007, 06:57 AM
Friedrich,
up 'til now I've been reading the RED file like an INI file:
*.dll=C:\Program Files\SoftVelocity\Clarion 7\3rdParty\CapeSoft\EzHelp\Bin
but with the new Clarion7 RED file include statements, we'd like to only add
the RED include statement into the Clarion 7.red file:
{include %REDDIR%\ezHelp.RED}
and basically ship a preconfigured ezHelp.red file with ezHelp.
I need to check the Clarion70.RED file to see if it's there already, and if
not then add it to the end of the Clarion70.RED file. Ideally I could do
this with an ASCII type file - read in one line at a time, check if it
matches, if not continue reading until EOF. If not there, then add it to the
end of the file.
I can't figure out a way of doing this in SB6 - is it possible? If not, I'd
need to right this into an external DLL, but what happens about including
the ASCII driver for the file handling? How do I do this using an external
file?
Thanks
--
Geoff (Capesoft)
CapeSoft - where the computer obeys you!!
www.capesoft.com
up 'til now I've been reading the RED file like an INI file:
*.dll=C:\Program Files\SoftVelocity\Clarion 7\3rdParty\CapeSoft\EzHelp\Bin
but with the new Clarion7 RED file include statements, we'd like to only add
the RED include statement into the Clarion 7.red file:
{include %REDDIR%\ezHelp.RED}
and basically ship a preconfigured ezHelp.red file with ezHelp.
I need to check the Clarion70.RED file to see if it's there already, and if
not then add it to the end of the Clarion70.RED file. Ideally I could do
this with an ASCII type file - read in one line at a time, check if it
matches, if not continue reading until EOF. If not there, then add it to the
end of the file.
I can't figure out a way of doing this in SB6 - is it possible? If not, I'd
need to right this into an external DLL, but what happens about including
the ASCII driver for the file handling? How do I do this using an external
file?
Thanks
--
Geoff (Capesoft)
CapeSoft - where the computer obeys you!!
www.capesoft.com