|
Usually
5, 1, 2(, 3, 4).
steps 3, 4 aren't mandatory.
BTW You have a debugger, haven't you?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Getting soft in your old age?
Iain.
I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[ ^]
|
|
|
|
|
Iain Clarke, Warrior Programmer wrote: Getting soft in your old age?
Getting pavid: I can feel the "Sword of Maunder" [^] hanging over me...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hey, I was nice, polite, and taught him new skills!
I even encouraged him to get two beers. Other than involving Shrimps and Barbies, what could be more Australian-Nice?
Iain.
I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[ ^]
|
|
|
|
|
Iain Clarke, Warrior Programmer wrote: I even encouraged him to get two beers.
Actually 'repeat step 6' means 'get beers until you're too drunk to follow the recipe' since from step 6 the natural flow reaches again step 7 (Carlo-VM). I really don't know if English-Swedish(-Italian?) alchoolic solutions are Australian-Nice...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hello friends,
I have mdb databse and i have to convert it into text file format.So plz help me how to convert mdb to text.I have no idea about it.I Need ur help.and i m also search on google but i have not received any idea about this conversion.And its urgent..
Thanks
Jitendra
modified on Thursday, September 10, 2009 3:15 AM
|
|
|
|
|
Use DAO[^] to read from mdb files. and CFile[^] to write the data to the text file.
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Hello AnShUmAn Thanks for reply..But can u expalin me in detail.
|
|
|
|
|
1. Open the Database and Text file
2. Read next record from Database
3. If end-of-file goto 6
4. Write record content to Text file
5. goto 2.
6. Close all files and terminate program
|
|
|
|
|
Richard MacCutchan wrote: 5. goto 2
Ouch. You used the taboo word.
|
|
|
|
|
And here: 3. If end-of-file goto 6
But then any C[++ | #] coder can optimise that into a thing of beauty...
|
|
|
|
|
jadhavjitendrar wrote: But can u expalin me in detail
Is this a new metaphor for "plz sendz codez"?
|
|
|
|
|
hi All
How to create the icon in exe for console application using visualstudio
Please help me
~~~~~~~~~~~~~Raju~~~~~~~~~~~~~
|
|
|
|
|
Thanks ..'
i solved ..this prob
~~~~~~~~~~~~~Raju~~~~~~~~~~~~~
|
|
|
|
|
Now you can tell us...
|
|
|
|
|
It will be great if you post solution so that other can refer this question as guideline.
Thanks
Mahesh
The secret of life is not enjoyment
but education through experience.
- Swami Vivekananda.
|
|
|
|
|
hi guys
today i define a CSocket instance 'sock'
code is :
CSocket sock<br />
Sock.Socket ()<br />
before i have call AfxSocketInit()
these code is program in a dll ,
when i build a Dialogue to call dll WINAPI to implement the top code
program will assert in below
<br />
void PASCAL CAsyncSocket::AttachHandle(<br />
SOCKET hSocket, CAsyncSocket* pSocket, BOOL bDead)<br />
{<br />
_AFX_SOCK_THREAD_STATE* pState = _afxSockThreadState;<br />
<br />
BOOL bEnable = AfxEnableMemoryTracking(FALSE);<br />
<br />
TRY <br />
{<br />
if (!bDead)<br />
{<br />
ASSERT(CAsyncSocket::LookupHandle(hSocket, bDead) == NULL);<br />
if (pState->m_pmapSocketHandle->IsEmpty())
...}<br />
can someone tell me why thank you
|
|
|
|
|
jeansea wrote: if (pState->m_pmapSocketHandle->IsEmpty())//assert here
Technically, there is no assertion on that line. If either pState or m_pmapSocketHandle were NULL , you'd get an access violation or a null pointer exception. You may have to go into the IsEmpty() method to find the line that actually asserted.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hello all,
I have checked all the iaxclient.dll document, but i am not getting any function which can create a conference.
My problem is i want to make a call, than after holding 1st call, i have to make second call. Here i am able to hold 1st call by
int iaxc_quelch (int callNo, int MOH) function and able to make another call, But Now i want to combine both port so that all three of us can talk. so for that i am looking function but not getting anything.
So can anyone suggest me how to create conference????
Regards,
New_bie
|
|
|
|
|
I have a folder and I determine name of the folder.
Inside this folder, I put some text file with random name file.
How is the way I access a text file inside that folder?
There is a filelistbox in visual Basic. Is there any equivalent function in Visual C++ 6.0? so that, I can list text file inside that folder and access it.
Please help me to solve this problem.
Thank you before....
//------------------------------------------------------------
Thanks for all who have help me to solve my problem.
modified on Thursday, September 10, 2009 2:17 AM
|
|
|
|
|
Eka Candra wrote: Is there any equivalent function in Visual C++ 6.0? so that, I can list text file inside that folder and access it.
Check FindFirstFile[^] and FindNextFile [^]
|
|
|
|
|
thanks Naveen for your answer.
I already tried that function, but those fuctions needs name of file as input function.
But actually the case is I don't know exactly name of files inside the folder.
Do you know any other solutions?
Thanks before,
Eka Candra
|
|
|
|
|
Eka Candra wrote: but those fuctions needs name of file as input function.
The file name can include wild char. And in your case since you need only text file, you can pass the file name as "*.txt". This will cause the function to return only the files with extension ".txt" under that folder.
|
|
|
|
|
Just try with the below logic to parse even the directory inside directory for search
CStringArray m_FileList;
void SearchFile( LPCTSTR lpszFolder )
{
CFileFind ff;
CString csFolder = lpszFolder;
if( _T( '\\' ) != csFolder[csFolder.GetLength()-1])
{
csFolder += _T( "\\*.*" );
}
BOOL bWorking = ff.FindFile(csFolder );
while(bWorking)
{
bWorking = ff.FindNextFile();
CString csTemp = ff.GetFilePath();
if(!ff.IsDots() && ff.IsDirectory())
{
SearchFile( ff.GetFilePath() );
}
if(!ff.IsDirectory())
{
CString csName = ff.GetFilePath();
if( -1 != csName.Find( _T( ".txt" ), 0 ))
{
m_FileList.Add( csName );
}
}
}
}
Величие не Бога может быть недооценена.
|
|
|
|
|
Eka Candra wrote: There is a filelistbox in visual Basic. Is there any equivalent function in Visual C++ 6.0? so that, I can list text file inside that folder and access it.
GetOpenFilename[^]
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
modified on Thursday, September 10, 2009 2:15 AM
|
|
|
|