i have 4 years of experiace on vc++.
Royaltvk
Posts
-
Hi How is IT JOB Recruitements Now ? -
Hi How is IT JOB Recruitements Now ?HI Guys, How are job openings in IT Field now a days ? Can we Expect any improvement in coming 2 months ? What about Indian IT Job Market ? Thanks, Royal.
-
Move Up and Move Down functionality to CListCtrlya , i want to change the order. Thanks for concern
-
Move Up and Move Down functionality to CListCtrlHI Experts, How to Add Move Up and Move Down functionality to My CListCtrl. Thanks, Krishna.
-
not be able to open SQLSERVER 2005 error 80040e4dHI, Iam facing problem to connect Sqlserver 2005 with this connection string Provider=SQLOLEDB.1;Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=master;DataSource=RAYALU\SQLEXPRESS iam Able to connect sqlserver 2000 with same above mentioned connection string. I need some OLEDB connection string provider which works on both SqlServer2000 and Sqlserver2005. Please Guide how to connect atleast Sqlserver2005. Thanks, Rayalu
-
大家好,I come from china [modified]ENJOY, codeProject help
-
Toolbar icon has to update.If i enter any data in my view , Toolbar button has to enable automatically. Guidence please.
-
How can i make a application which can run on mac/linux/windows?:-D
-
Multiple Row selection in the Grid.We are Deriving a class from CGXGridView from stingray. I want to select multiple rows and update the information in that. Is there any method to Find First Row and Last Row in Multiple selection in the Grid. Thanks, Rayalu
-
CTreeCtrl Tree ReadingHI, How do i read a Tree.I need to read the Tree from Root Item to all its childs.Iam not able to give logic. Plz help me Thanks,
-
Can i override MessageBox Yes NO Cancel to another language ?Thank u so much Boss. This is Unicode supported product. But till now we are testing in English OS. So we are able to show all menus Dialogbox strings in Japanese.But Only this Yes NO Cancel in MessageBox are displaying in English. So now i will test this Application in Japanese OS installed system. Once again Thanks for sharing ur Knowledge. Royal.
-
Can i override MessageBox Yes NO Cancel to another language ?we are giving support to japanese language for our product. Iam able to dispaly the Japanese string in the MessageBox.But I dont know how to show(override) OK and Cancel buttons in Japanese. your Advice, will be very helpful to me.
-
Tree Collapsing if i delete any node of the Tree.Hi, Iam Using CTreeView to Construct a Tree. If i delete any node in the tree it is collapsing.
void CRunSetView::DeleteFilters(HTREEITEM hselected) { CTreeCtrl& TreeCtrl = GetTreeCtrl(); HTREEITEM Parent = TreeCtrl.GetParentItem(hselected); short nRunsetId = GetItemID(Parent); HTREEITEM ChildItem = TreeCtrl.GetChildItem(hselected); do { short nMapId = GetItemID(ChildItem); CMigratorClient* pManager = GetDocument()->GetManagerPtr(); CMigratorDoc* cmap = GetDocument(); _RecordsetPtr rsMap; rsMap.CreateInstance(__uuidof(Recordset)); CString strSQL; strSQL.Format(_T("SELECT * FROM DQMap WHERE ID = %d"),nMapId); rsMap->Open( _variant_t( strSQL ), _variant_t(( IDispatch *) pManager->GetDatabasePtr(), true), adOpenStatic, adLockOptimistic, adCmdText); if ( !rsMap->GetEndOfFile() ) { CString MapNm = VariantToStr( rsMap->Fields->Item["FilterName"]->Value ); rsMap->Close(); _RecordsetPtr rsMapDQ; rsMapDQ.CreateInstance(__uuidof(Recordset)); strSQL.Format(_T("SELECT * FROM DQMap WHERE FilterName = '%s'"),MapNm); rsMapDQ->Open( _variant_t( strSQL ), _variant_t(( IDispatch *) pManager->GetDatabasePtr(), true), adOpenStatic, adLockOptimistic, adCmdText); while( !rsMapDQ->GetEndOfFile() ) { nMapId = _ttoi( VariantToStr( rsMapDQ->Fields->Item["ID"]->Value )); short mapid; CMigratorClient* pManager = GetDocument()->GetManagerPtr(); pManager->DeleteRunSetMap(nRunsetId,nMapId); cmap->deletefilters(nMapId); rsMapDQ->MoveNext(); } rsMapDQ->Close(); } }while((ChildItem = TreeCtrl.GetNextSiblingItem(ChildItem))!=NULL); HTREEITEM item = GetRootItem(); DeleteItem(item); OnInitialUpdate(); return; }
Plz look at it , give any idea. -
Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc.,Did u able to paste Chinese string in Static control ?
-
Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc.,NO U Need not Create all the interfaces once again. U Just need to Give id to all the Controls and load them using Resource Dll.
inline HINSTANCE LoadResourceDll() { HKEY hkey; unsigned long no = 2048; DWORD pos; BYTE strRegValue[2048] = "\0"; CString csLanguage = _T(""); CString csDllPath; wchar_t *pwcDllPath = NULL; HINSTANCE m_hResInstance = NULL; //get the current language information from the registry if (RegCreateKeyEx(HKEY_LOCAL_MACHINE,_T("Path to ur registered application"),0,_T("Registration"),REG_OPTION_NON_VOLATILE,KEY_ALL_ACCESS,NULL,&hkey,&pos) == ERROR_SUCCESS) { if( RegQueryValueEx(hkey,_T("CurrentLanguage"),NULL,NULL,strRegValue,&no) == ERROR_SUCCESS) { csLanguage = (wchar_t*)strRegValue ; csLanguage.TrimLeft(); csLanguage.TrimRight(); } } TCHAR lpBuffer[1028]; //get the system directory as the resource dlls will be there GetSystemDirectory(lpBuffer,1028); csDllPath = (LPCTSTR) (const char*) lpBuffer; csDllPath.TrimLeft(); csDllPath.TrimRight(); //append the language dll based on the current lang info in registry along with system directory if (Encrypt(_T("ENG")) == csLanguage) csDllPath+= "\\DUresENG.dll"; else if (Encrypt(_T("JPN")) == csLanguage) csDllPath+= "\\DUresJPN.dll"; else csDllPath+= "\\DUresENG.dll"; // Load resource DLL m_hResInstance = LoadLibrary(csDllPath); return m_hResInstance; }
And In ur .Cpp Call Controls like this, Call all controls in one Function. call them in OnInitDialog of Ur Dialog Class. void CAttributeProperties::SetDialogLabels() {m_csLabel = LoadResourceString(m_hResInstance ,AfxGetApp()->m_hInstance,1); GetDlgItem(IDOK)->SetWindowText(m_csLabel);
} And call them in OnInitDialog of Ur Dialog Class.BOOL CAttributeProperties::OnInitDialog() { CDialog::OnInitDialog(); SetDialogLabels(); }
-
How much i can Quote with 3 years experiance in VC++, MFCI did nt get u man !!!
-
How much i can Quote with 3 years experiance in VC++, MFCHi, Might it seems Silly question to many of you. I have 3 years experiance in VC++. Iam looking for job change. I know C++,MFC, COM (In COM not proficient I can give 4 out of 10.) In India , How much I can ask in new company ? One more Question ,, Is it VC++ got saturated in new openings ? Thanks, Krishna.
-
Linker errors while integration, plz helpconstrutor and destructor have function body, CDynamicAccessorEx is part of project.
-
Linker errors while integration, plz helpHI, while Integrating Latest development in my code , i faced these errors. please look these errors , and give your advice to fix this.
ClientDlgs4.obj : error LNK2001: unresolved external symbol "public: __thiscall CDynamicAccessorEx::CDynamicAccessorEx(void)" (??0CDynamicAccessorEx@@QAE@XZ) ClientDlgs4.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CDynamicAccessorEx::~CDynamicAccessorEx(void)" (??1CDynamicAccessorEx@@UAE@XZ) UnicodeReleaseEnterprise/DUClient.exe : fatal error LNK1120: 2 unresolved externals
Thanks, Royal. -
char * to TCHARThank u somuch for your code It is perfectly working. U got my 5 Marks. Royal.