Thank you for your explanation. anju
anju
Posts
-
Connection Pooling -
Connection PoolingThen, Could you pleae explain me the way to Manage Security with Connection Pooling. anju
-
Connection PoolingIf we want performance and scalability,Do we need to compramise about security? anju
-
Connection PoolingThank you for your quick reply. What I am looking is .... To implement connection pooling the connection strings must be identical.(am I right?).If this is the case,for different UserIds and Passwords the connection string is always different,then how connection pooling will be helpful?. anju
-
Connection PoolingHi All, I would like to know;How Connection pooling will impact on security? Thanks in Advance.:rose: anju
-
How to Debug ASP Server side script?Hi minhpc_bk, Thank you for your good information. Is there any way to find out whether the "Visual Studio .NET Remote Debugging Components" are installed in my system or not. why I am asking this questions is... I am running dcomcnfg.exe through command prompt,but I am not getting expected "Distributed COM Configuration Properties dialog box";Instead I am getting "Component Services" MMC application. Could you please explore me how setup Remote Debugging. Thanks in Advance. :rose: anju
-
How to Debug ASP Server side script?Hi All, I am apriciate if any one help me on this topic. I would like debug ASP files which are located in Machine A ( Server) through Machine B (Client my development machine). Please any one help me on this topic. Thanks in advance.:rose: anju
-
SetFocus from OnInitDialog for Button control.Hi Roger Allen, Thanks for your reply. Already I cleared Ok button "default button" property. can you guess other thing. regards, anju
-
SetFocus from OnInitDialog for Button control.Hi SNathani, Thank you for your suggestion. Suppose, if my button is OwnerDrawn, what can i do? regards anju
-
SetFocus from OnInitDialog for Button control.Hi, I my application(MFC dialog based),initially i have to put the focus on specified button control. i.e.Suppose my dialog having Three buttons 1.OK,2,Cancel,3.Button1.Initially i have to put focus on Button1, if user clicked Enter key the Button1 message handler will call. for this i tried like this. 1.CMyTestDlg::OnInitDialog() { GetDlgItem(IDC_BUTTON1)->SetFocus(); return FALSE;//Instead of TRUE } It showing correctly focus on Button1,But if i pressed enter key OnOK() is calling. Please help me inthis context. regards anju anju
-
easy question about convertionit may be help you. _variant_t vt; int nValue; nValue=vt.intVal; anju
-
Using the serial com portjust try like this CreateFile(szPortNumber,// Pointer to the name of the port GENERIC_READ|GENERIC_WRITE , // Access (read-write) mode 0, // Share mode NULL, // Pointer to the security attribute CREATE_ALWAYS,//ow to open the serial port 0, // Port attributes NULL);// Handle to port with attribute to copy anju
-
stress test, Block RAMHi,all I have to apply stress test to my aplication. For this I have to write a programme to Block the RAM. is it Possible. my intension is... suppose i have a 256MB RAM in my system.while my application(test) is in running i have to consume predefined amount of MB using another application. please guide me... thanks in advance. regards anju anju
-
VB dllsearch in MSDN with the following.It may be helpful to you. HOWTO: Access a Visual Basic ActiveX DLL from Visual C++ Q194873 anju
-
simple string concatenation questionU can try like this. CString strFileString; CString strSlah("//"); char szBuffer[256]; strFileString=strSlash+szBuffer; regards anju anju
-
realted to new operator.Hi all, can any one explain me what is the difference in the following code. 1.I have a class CSample. 2.I want to create an object on heap by using new operator for CSample. I found there are two methods for this. 1.One is like this CSample * pSamep=new CSample; and 2.second one is like this typedef auto_ptr pSample; pSample(new CSample()); what is the difference with these two methods.which one is more efficient. thanks in advance. regards raju anju
-
Please try this ,simple and it has bug.Hi, Thanks your comments. but,what is the relation between " CString strTemp and sscanf(...)". If i didn't used CString object this code doesn't give me an error. regrads anju:rose: anju
-
Please try this ,simple and it has bug.Hi Alexo, There is nothing in it r u Missed? anju
-
Please try this ,simple and it has bug.Hi,All The following code giving me an error while running in Release Mode. I tested this code under Windows2000 professional,VC++6.0. CMyDlg::OnButton() { BYTE byByteCmd; CString strTemp; char szVal[10]; szVal[0]='\0'; sprintf(szVal,"%d",1); sscanf(szVal,"%X",&byByteCmd); } can any one tell me what is wrong with this code. My observations: 1.If i commented CString strTemp---It is not giving any error 2.If this code running under Debug Mode--it is not giving any error 3.If this code running under Release Mode with TRy CATCH--it is not giving any error TRY { BYTE byByteCmd; CString strTemp; char szVal[10]; szVal[0]='\0'; sprintf(szVal,"%d",1); sscanf(szVal,"%X",&byByteCmd); } CATCH(CExPetion,expGen) { char szError[100]; exGen->GetErrorMessage(szError,100); exGen->Delete(); } END_CATCH I am happiest man,If some one explain me step by step with this observations, why it is giving error in some conditions and not in another conditoions. Thank in Advance:rose: anju
-
delete directoryHi, See this article in CP.. http://www.codeproject.com/file/removefiles.asp all the best:rose: anju