yes, checkout this post Happy coding :-D cheers BAIJUMAX www.baijumax.blogspot.com
BAIJUMAX
Posts
-
C++ or C# as a combination with MatLab? -
PLZ I Want to used xml file as database( how to add,update,delete and Search)If You really want you can.Once again Is that you really want to do. check DataSet members ReadXML()/WriteXML() load XML Store to Dataset using ReadXML ( on Application Initialization ) Manipulate ( add/delete etc.. ) this DataSet during application life cycle. On ApplicationExit use WriteXML. "Sometimes solutions will be as simple as 1=1 , confused right :doh:" By BAIJUMAX
-
checking files using c#Check File class under IO . "Well dude, There's Always Better Ways To Do Things. BY BAIJUMAX
-
C++ or C# as a combination with MatLab?Hi Miguel Sarafana, After reading Q? , i belive the best & easy way will be integrating with c# application. Matlab version 7.2(6b) comes with builder for .net , so u can write algorithms in matlab ( m file or mex) can be easily converted .net assemblies(dlls). Details about matlab builder .net is here http://www.mathworks.com/access/helpdesk/help/toolbox/dotnetbuilder/index.html?/access/helpdesk/help/toolbox/dotnetbuilder/rn/bq24\_kz.html&http://www.mathworks.com/products/new\_products/latest\_features.html?s\_cid=HP\_RH\_2007a Happy coding !!!!! Pls feel free to mail me baijumax@yahoo.com Or reply back to this thread for more info. By BAIJUMAX "believe it or not , i'm always right":rolleyes:
-
how to make .exe file by MatLabHello, U can use MatLab com builder or MatLab builder for .net . Better to use 7.0 version and above. U need matlab run time libs to run matlab com builder generated dlls. here find more info here http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/index.html?/access/helpdesk/help/toolbox/compiler/rn/bq249ht.html&http://www.mathworks.com/products/new_products/latest_features.html?s_cid=HP_RH_2007a[Here] BY BAIJUMAX "Knowledge is in the form of liquid, U can transfer it to anywhere"
-
hi need help with configurationmanagerCheck System.Configuration namespace. alternatively My suggestion is to create custom ConfigurationManager sigleton class , initialize at the startup. BAIJUMAX :cool: "Coolest thing on earth is...? Guess what? as per my knowledge 'ICE' , anythingelse pl's let me know ":-O
-
Notification Form - Not working - Asynchoronous Prog.Hi, Have a Scenario like below . In my prog. there's Async. calls to listen messages from network. Whenever any error occurs i have to pop-up a message window to user. I used Raise event whenever i got error. Raise event calls a Notification manager delegate which will create the notification form and pop up. initially this window greyed out. But added DoEvents()soon after creating window solved the problem.Now i'm able to click on the cancel button in the window. That is control is not transferred to notification window. where as i can still work with other opened windows. How do i pass control focus to notifaction message box. BY BAIJUMAX "Things are simple by nature ; oh hooo ; Are we making things complex":doh:
-
Why do some people code at all?Ohhhhhhh that's right , perhaps didn't notice this statement "DialogResult.Yes.ToString() == "Yes"" :laugh:
-
Why do some people code at all?Simple Ans to the Q? , May be u r company paying them on the basis of , line count ( i hope u people have better code line count tool which skip spaces;) ) Warm Regards BAIJUMAX "Its Hard To Find Right & Wrong In This World , Simply Everything Is Relative."
-
Displaying Summary Info using CRPEAuto32 LibHi, I'm using Cystal Report Automation library(Version 7.0) from VB 6.0 to Display Report.In my report there's summary field section in the bottom. when i called preview method on report object , properly displaying report except the last page ( LastPage Button Click ) which contains summary.Blank page displayed instead of summary.how to display summary .Do we need set any property. Regards BAIJU K M
-
Migrating VB 6.0 Data Report to VB.NET Crystal Report.hi , how do i convert VB 6.0 Data Reports to VB.net Crsytal Reports. By BMAX
-
ADOX Key collection accessing errorhi, i just want retrive schema of Sql Server 2000 database,and using ADOX for that. i got an error when try to iterate through KEYS Collection : com error :- datasource null etc.. any alternate method to get KEYS of a Table USING ADOX by baijumax
-
ActiveX control in MFCHi, There's No Problem With ActiveX.I believe U call The method With wrong data Type. Try This BSTR bstrYourstring VARIANT vYourVariant object.Add(&bstrYourstring,&vYourVariant) by baijumax
-
Active X ProblemHi, I have got Problem With ActiveX.I created ActiveX Using OWC. i tested this activex in dialog based apllication. when i closed(on application termination) the dialog got an error , memmory location feefee() could not read. problem is my program is try to free the memory that isn't allocated.how can override this problem. by baijumax
-
enum size compiler optionHi, Sorry Wrong Compiler Option For MSVC.Currently I am using a Compiler Which Supports #pragma enum. by baijumax
-
MFC enlisting local driveshi, try this Code Add A Button [OpenFolder] Edit Box For display Selected File Path[IDC_EDIT_FILEPATH] -----------------In OnOpenFolderClick function----------- { LPITEMIDLIST pidlRoot = NULL; LPITEMIDLIST pidlSelected = NULL; BROWSEINFO bi = {0}; LPMALLOC pMalloc = NULL; TCHAR szDisplayName[MAX_PATH]; SHGetMalloc(&pMalloc); pidlRoot = NULL; bi.hwndOwner = m_hWnd; bi.pidlRoot = pidlRoot; bi.pszDisplayName = szDisplayName; bi.lpszTitle = "Choose a folder"; bi.ulFlags = BIF_RETURNONLYFSDIRS | BIF_STATUSTEXT; bi.lpfn = BrowseCallbackProc; bi.lParam = 0; pidlSelected = SHBrowseForFolder(&bi); if(!pidlSelected) return; if(pidlRoot) { pMalloc->Free(pidlRoot); } pMalloc->Release(); SHGetPathFromIDList(pidlSelected,szDisplayName); GetDlgItem(IDC_EDIT_FILEPATH)->SetWindowText(szDisplayName); } --------------------------------------- ------add Below Code For Call Back Fuction. Above the function ----------------------------------------------- CString g_csDefaultPath = ""; INT CALLBACK BrowseCallbackProc(HWND hwnd, UINT uMsg,LPARAM lp, LPARAM pData) { TCHAR szDir[MAX_PATH]; strcpy(szDir,(LPSTR)(LPCSTR)g_csDefaultPath); switch(uMsg) { case BFFM_INITIALIZED: //if (GetCurrentDirectory(sizeof(szDir)/sizeof(TCHAR), szDir)) { // WParam is TRUE since you are passing a path. // It would be FALSE if you were passing a pidl. SendMessage(hwnd, BFFM_SETSELECTION, TRUE, (LPARAM)szDir); } break; case BFFM_SELCHANGED: // Set the status window to the currently selected path. if (SHGetPathFromIDList((LPITEMIDLIST) lp ,szDir)) { SendMessage(hwnd,BFFM_SETSTATUSTEXT,0,(LPARAM)szDir); } break; } return 0; } by baijumax
-
enum size compiler optionHi, Answer for U r q? The #pragma enum directive specifies the size of enum variables that follow. The size at the left brace of a declaration is the one that affects that declaration, regardless of whether further enum directives occur within the declaration. This pragma pushes a value on a stack each time it is used, with a reset option available to return to the previously pushed value. usage :- #pragma enum (suboptions) where available suboptions are: small enum size is the smallest integral type that can contain all variables. int enum size is 4 1 enum size is 1 2 enum size is 2 4 enum size is 4 8 enum size is 8. int enum size is 4 intlong Specifies that enumerations occupy 8 bytes of storage and are represented by long long if the range of the constants exceed the limit for int. Otherwise, the enumerations occupy 4 bytes of storage and are represented by int. small enum size is the smallest integral type that can contain all variables. pop the option will reset the enum size to the one before the previously set enum size. reset the option is an alternative method of resetting the enum size to the one before the previously set enum size. This option is provided for backwards compatibility. by baijumax
-
Urgent Please!Hi, Change Your keyboard by baijumax
-
Can any genuis help me?Hi, at a time u can copy and paste one file.otherwise u have to use Threads for the same purpose. my suggestion is when select all files , push the complete file path to a Queue.And Paste the files one by one from this Queue. by baijumax
-
Listbox: How to ensure that last item added is visible?Hi, if U are Using MFC, check setHotItem(int iIndx) by baijumax