|
|
|
then it's time to use the "I Feel Lucky" Button
|
|
|
|
|
toxcct wrote: then it's time to use the "I Feel Lucky" Button
Is that the one on my keyboard with the little Windows logo that says "start"?
|
|
|
|
|
nope. Open a google start page. what buttons do you see under the search field ?
|
|
|
|
|
It has two buttons but I always see to Lucky
|
|
|
|
|
I forgot all about that one!! I use the Google bar nearly 100% of the time
|
|
|
|
|
Max++ wrote: Serach Results about 94,200,000 for "how to write windows service" is too much...
The first four links returned are sufficient. In any case, my point was that you could have very easily Googled for an answer in less time than it took to post a question here.
Max++ wrote: I think this link useful to you.
http://www.codeproject.com/system/windows_startup.asp
Doubtful, since I was not looking for code to write a service. As an aside, adding your application to the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key will cause it to start after a user logs in, not when Windows is booting.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
CodeProject is a good place to start: clickety[^].
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
|
|
|
|
|
|
Hi ALL,
I want to record Live audio and store into .wav format. Currently I can record(iff we talk directly into mike ) as well as store audio into .wav file format.
But I stucked with the quality of audio signal as after playing the recorded sound , noise is also mixing with the recording. I don't know which Filter shd I use to Filter the noise? apart from this Is it necessary to amplify the signal, so that I can record the chat/sound properly in the room also ??
Is there any other way?? Please help me out.
ThanX in advance
CraZyToLearn
|
|
|
|
|
Hi all,
Pls help me...
i don't know how to write a call back function.
anybody please tel me with any example please or give any suitable links
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
|
|
Hi,
Can u please help me..
i declared a call back function as
static int CALLBACK CalBckFun( int param );
now please tel me that how can i call this call back function.
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
see me wrote:
now please tel me that how can i call this call back function.
It sounds as though you need a primer on callbacks.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
see me wrote: now please tel me that how can i call this call back function.
It's just a function - call it like normal:
int callbackreturn = CalBckFun(0);
Usually functions declared with the CALLBACK spec are meant to be called by the OS.
|
|
|
|
|
Hi,
I am using ADOs.There are about 1500 records I need to fetch from the database.The process of retrieval is taking more than 45 seconds.Is there any other approach with which I can retrieve the records fast.
Thanks in advance,
Taruni
|
|
|
|
|
Is the database on some other computer? What does your code look like that is fetching those records?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
The database is in the same computer where my program resides.Actually I am fetching the records from the database and placing them on a grid control.
The code for fetching the records is as follows:
_ConnectionPtr pConn;
_RecordsetPtr pRecSet;
TCHAR strQuery[5000];
HRESULT hr;
CString strConn;
hr=pConn.CreateInstance(__uuidof(Connection));
if (SUCCEEDED(hr))
{
}
else
{
AfxMessageBox(_T("Failed to establish connection"));
return;
}
strConn.Format(_T("Provider=Microsoft.Jet.OleDB.4.0;Data source=%s;"),strPath);
hr=pRecSet.CreateInstance(__uuidof(Recordset));
if (SUCCEEDED(hr))
{
}
else
{
AfxMessageBox(_T("Recordset creation failed"));
return;
}
BSTR bstrconn = strConn.AllocSysString();
BSTR bstrNull = NULL;
hr = pConn->Open(bstrconn,bstrNull,bstrNull,adModeUnknown);
if(FAILED(hr))
{
AfxMessageBox(_T("Failed to open database connection"));
return;
}
try
{
VARIANT v;
VariantInit(&v);
v.vt=VT_BSTR;
_stprintf(strQuery,_T("Select * from MyDatabase"));
CString str;
CString strColName;
while(!(VARIANT_TRUE == pRecSet->EndOfFile))
{
for(int i=0;i<columnnames.getsize();i++)
{
=""
="" strcolname="ColumnNames.GetAt(i);
" v.bstrval="strColName.AllocSysString();
" fieldsptr="" fp;
="" fp="pRecSet-">Fields;
_variant_t var;
VariantInit(&var);
var= fp->GetItem(v)->GetValue();
str = var.bstrVal;
AfxMessageBox(str);
}
pRecSet->MoveNext();
}
pRecSet->Close();
pConn->Close();
}
catch()
{
.......
}
Taruni
|
|
|
|
|
Taruni wrote: AfxMessageBox(str);
Displaying a messsage box 1500 times will undoubtedly cause a delay.
Have you consulted any of these articles?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
i dont know how to use sax2 parser with c++ can any body help me. what should i installed , and how could i use it to read my XML file?
please give me the detail for SAX2, if possible send me link....
Amit
|
|
|
|
|
|
Thank you
|
|
|
|
|