thanks dear
Shivanand Gupta
Posts
-
Share object in same JVM -
Share object in same JVMyes, I agreed bu problem is that to shared variable of my current running application to other java application and if other application access my class that is OK but how to share value of my current running object.
-
Share object in same JVMI am reading date time and generating random number using MyClass(Java class) that have Main function. I need to exposed one class(Exposed_class) for reading random number value from My class, to third party application (that is also written in Java). in this case there was two main that is running concurrent and want to share data.
-
how to add web service in VC++2010VC++ 2010 wizard do not show Add WEB Reference/Service option when i select MFC project. this option was avaiable in previous version of IDE. attached link is not useful info for my problem..
-
how to add web service in VC++2010VC++ 2010 is not giving any option to add web service/web reference. how can it achive??
-
C++/MFC solution Convert string to integer only such that if it is alphanumeric or float it should show as invalid values.CString str=10.27; CString res = str.SpanIncluding(_T("0123456789")); if(res == str) { int nValue = atoi(str); } else { MessageBox("string is not integer"); } //Cheers
-
How to remove the "0" from the starting i.e. from the left of the CStringhere there are two method. method 1: if your string is numeric then first convert into integer and again change into string. eg. CString cs("000012345745"); int num = atoi(cs); cs.Format("%d",num); method 2: eg. CString cs("000012345745"); cs.Trim(); int start=0; while(cs.Mid(start,1)=="0") { start++; } cs= cs.Mid(start);
-
Scroll Bar in CEdit (GetScrollBarCtrl)i want to handle scrollbar properties in Cedit class like change width and color of scroll bar. i use GetScrollBarCtrl function but it return null address. how can i change color and width.
-
Size of an empty classDear, empty class does not have any size. but size of operator always return +ve value. so you get empty class size 1.
-
Compare Two XML FilesPlease use winmerge software to comapre to xml or text file.whichever you want. if you want with VC++. please use MSXML sdk or read MSDN. don't try copy paste. that's bad habbit to fresser.
-
Urgent: RS232 Hyperterminal communicator with Visual C++Please use cross serial cable. and communication setting should be same. eg: baudrate , parity, stop bit etc. u can use either hyperterminal or Look Rs232. my suggestion is that please use Look RS232.it gives more option to see send and receive data.
-
problem with CDaoDataBase in Threadwhen we close application then applicationn perform this line of code (daocore.cpp file) // Clean up engine object if necessary if (pDaoState->m_pDAODBEngine != NULL) { pDaoState->m_pDAODBEngine->Release(); //error ouccr in this line pDaoState->m_pDAODBEngine = NULL; }
-
problem with CDaoDataBase in Threadi have check by breakpoint. error occur when we close the application where CdaoDatabase class used in thread .
-
problem with CDaoDataBase in Threadwhen i am using CdaoDataBase in main application and close it ,it works success but when i used cdaodatabase class in thread and close database and after that close application. it gives error. daocore.cpp line 40 m_Daoworkspace.release();
-
Change Disable Edit control colorHi, i have done to change edit control backgtound & text color when it is enable, with the help of onstlcolor, but my edit control is disable then i try to change color but color is not changing
-
Time FormatAFTER getting currenttime you can use Format method for changing time format as you want
-
Best practice for managing large quantity of hard-coded string in application.it store data in key value pair. and it work well in windowXP
-
Line DrawingPlease find previous thread. that will help you
-
Best practice for managing large quantity of hard-coded string in application.use "ini" file read string from ini file by GetPrivateProfileString method
-
conversion of date and time to string [modified]in mfc use COleDateTime class and after that Format method in win 32 use sprintf function