i know that!
i code with VB6 and VC6 but there is a program
that is written by VB4 16Bit. i must change 2 lines
of this program and it has many api functions and ocx
in vb4 16 bit. (and access 97 database)
have you any suggestion to resolve that?
thanks
behzad
Dear Peezonn
for select string variable in where statement , you
can use the following code :
Set rs = CurrentDb.OpenRecordset("select * from [STAR_LINE_SEGMENT1] where LINESEGNAME = '" & NewName
& "'")
i hope that helps you.
brgd
Hi again,
you are right. maybe the following code can help you
THAT IS A EXAMPLE FROM MICROSOFT
CDaoDatabase db;
db.Open(_T("d:\\SCORES.mdb"));
CDaoRecordset rs(&db);
rs.Open(dbOpenDynaset,
_T("Select [Student Name], AVG([Test Score]) AS AvgScore FROM...
Hi,
maybe, the following code help you
CStdioFile inFile("MyFile.bin"), CFile::modeRead |
CFile::typebinary);
const UINT linelength = 18;
TCHAR strBuf[20]; // or CString
while(inFile.ReadString(strBuf, linelength))
{
//search for the word in strBuf
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.