I've noticed a pattern ... Given my timezone in relation to most posts, every morning I read through all last night's posts. There's mostly posts with 10 to 100+ fishing-derby-style replies and then the one lonely reply by DavidCrow (or led mike) at the end with a one line simple solution :) It's like a train wreck - I can't help but read them all LOL
Mark Salsbery Microsoft MVP - Visual C++ :java:
Larsson wrote:
CFiles m_GetFile;
try
CFile m_GetFile;
instead.:)
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.
amjadamq wrote:
(CDialog1 pDlg*)=GetParent(); pDlg->m_ctlCheck1.SetCheck(FALSE);
Which totally ties the two dialogs together. Not a good design. The preferred solution would be for the second dialog to simply post a message to the firt dialog. In addition, SetCheck() does not take a BOOL argument. It's only by coincidence that FALSE and "unchecked" resolve to 0.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
Hi there, Looks like you want to convert the .net code of reading text files into vb script and put it inside the For Each statement of the classic ASP code. The documentation of the FileSystemObject may give you some hints: FileSystemObject Sample Code [^] Also, the Web Development[^] is the right room for the classic ASP questions, and here is for the ASP.NET.
are you using asp.net or asp 3? cause the code i have given you will only work in asp.net. if you wanted to do this in asp 3 you would have to have do something like: 'get the file path - Set txtFilePath = Replace(f1.name, right(lcase(f1.name),4), ".txt") 'then read the file using fso dim txtStream Set txtStream = fso.OpenTextFile(txtFilePath, fsoForReading) 'the write the string out Response.Write txtStream.ReadAll txtStream.Close im a bit rusty in this area but this should give you more or less an idea!
In addition to the link I already provided?
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
This sound familiar! First, how are you opening the microphone device? Assuming that you are using waveInOpen(...) it will return MMSYSERR_ALLOCATED if someone else already has a handle to the microphone. If waveInOpen is not the way you are using the Mic then let us know in what context you are using it so that we can give an intelegent answer. AliR. Visual C++ MVP -- modified at 16:59 Wednesday 19th July, 2006