Dear All
If I Read an entire file from disk into memory
cString = MemoRead( <cFileName> )
How can I use this string without Written to a file
MemoWrit( <cFileName>, <cString> )
For example , If cFileName is a "test.dbf"
ctest = memoRead("test.dbf")
USE ctest , or USE xxx(ctest)
without MemoWrit( "test.dbf", ctest )
Anyone can help
Thanks
Dixon Chu
Open a memoreaded file without memowrite
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Antonio
Sorry, I give you a incorrect example.
The thing is I have to use a OCX method , like oActivex:GetLocalFile( <cFileName> )
That function I can't change it .
But I want to save the <cFileName> into Memo fields first ,
then oActivex::GetLocalFile( xxx(<memo field>) )
The function xxx is convert the memo to disk file
for example
REPLACE ALIAS->MEMOFIELD WITH MEMOREAD(<cFileName>)
Then
oActivex::GetLocalFile(xxx(ALIAS->MEMOFIELD))
so, I can store the disk file to Memo fields
anyone can help
Regards
Dixon Chu
Sorry, I give you a incorrect example.
The thing is I have to use a OCX method , like oActivex:GetLocalFile( <cFileName> )
That function I can't change it .
But I want to save the <cFileName> into Memo fields first ,
then oActivex::GetLocalFile( xxx(<memo field>) )
The function xxx is convert the memo to disk file
for example
REPLACE ALIAS->MEMOFIELD WITH MEMOREAD(<cFileName>)
Then
oActivex::GetLocalFile(xxx(ALIAS->MEMOFIELD))
so, I can store the disk file to Memo fields
anyone can help
Regards
Dixon Chu
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: