Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

Royaltvk

@Royaltvk
About
Posts
27
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Hi How is IT JOB Recruitements Now ?
    R Royaltvk

    i have 4 years of experiace on vc++.

    IT & Infrastructure question career

  • Hi How is IT JOB Recruitements Now ?
    R Royaltvk

    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.

    IT & Infrastructure question career

  • Move Up and Move Down functionality to CListCtrl
    R Royaltvk

    ya , i want to change the order. Thanks for concern

    C / C++ / MFC tutorial

  • Move Up and Move Down functionality to CListCtrl
    R Royaltvk

    HI Experts, How to Add Move Up and Move Down functionality to My CListCtrl. Thanks, Krishna.

    C / C++ / MFC tutorial

  • not be able to open SQLSERVER 2005 error 80040e4d
    R Royaltvk

    HI, 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

    Database help tutorial security

  • 大家好,I come from china [modified]
    R Royaltvk

    ENJOY, codeProject help

    C / C++ / MFC

  • Toolbar icon has to update.
    R Royaltvk

    If i enter any data in my view , Toolbar button has to enable automatically. Guidence please.

    C / C++ / MFC announcement

  • How can i make a application which can run on mac/linux/windows?
    R Royaltvk

    :-D

    C / C++ / MFC question c++ asp-net linux help

  • Multiple Row selection in the Grid.
    R Royaltvk

    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

    C / C++ / MFC css announcement

  • CTreeCtrl Tree Reading
    R Royaltvk

    HI, 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,

    C / C++ / MFC data-structures help question

  • Can i override MessageBox Yes NO Cancel to another language ?
    R Royaltvk

    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.

    C / C++ / MFC tutorial question

  • Can i override MessageBox Yes NO Cancel to another language ?
    R Royaltvk

    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.

    C / C++ / MFC tutorial question

  • Tree Collapsing if i delete any node of the Tree.
    R Royaltvk

    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.

    C / C++ / MFC data-structures

  • Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc.,
    R Royaltvk

    Did u able to paste Chinese string in Static control ?

    C / C++ / MFC tutorial

  • Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc.,
    R Royaltvk

    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(); }

    C / C++ / MFC tutorial

  • How much i can Quote with 3 years experiance in VC++, MFC
    R Royaltvk

    I did nt get u man !!!

    C / C++ / MFC c++ question com career

  • How much i can Quote with 3 years experiance in VC++, MFC
    R Royaltvk

    Hi, 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.

    C / C++ / MFC c++ question com career

  • Linker errors while integration, plz help
    R Royaltvk

    construtor and destructor have function body, CDynamicAccessorEx is part of project.

    C / C++ / MFC help question

  • Linker errors while integration, plz help
    R Royaltvk

    HI, 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.

    C / C++ / MFC help question

  • char * to TCHAR
    R Royaltvk

    Thank u somuch for your code It is perfectly working. U got my 5 Marks. Royal.

    C / C++ / MFC help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups