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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

m_mun

@m_mun
About
Posts
71
Topics
40
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • cannot convert from 'System::Data::DataSet ^' to 'System::Data::DataSet error
    M m_mun

    Thank u for ur reply. Actually I solved my problem by not returning 'DataSet' object, it pass as a reference in function parameter.

    Managed C++/CLI help

  • cannot convert from 'System::Data::DataSet ^' to 'System::Data::DataSet error
    M m_mun

    Hi, I have developed a small application. But it gives the above error It is declared in another class named "CPassword"

    	SqlConnection ^connect = gcnew SqlConnection();
    	connect->ConnectionString = ConfigurationManager::ConnectionStrings\["SQLConnection"\]->ConnectionString;;
    
    	SqlCommand ^cmd = gcnew SqlCommand();
    	cmd->CommandType = CommandType::StoredProcedure;
    	cmd->CommandText = "GetUserPassword";
    
    	DataSet ^dtSet = gcnew DataSet();
    
    	try
    	{
    		connect->Open();
    		SqlDataAdapter ^adp = gcnew SqlDataAdapter();
    		adp->SelectCommand = cmd;
    
    		cmd->Parameters->Add(gcnew SqlParameter("@user\_id",SqlDbType::VarChar));
    		cmd->Parameters\["@user\_id"\]->Value = userID;
    
    		adp->Fill(dtSet, "Password");
    		return dtSet;
    	}
    

    And I am calling this function from another class

    CPassword ^objPassword = gcnew CPassword();
    DataSet ^dtSet = gcnew DataSet();
    dtSet = objPassword->fn_ReturnPassword(txtUserId->Text);

    Plese help.... Thanks to all

    Managed C++/CLI help

  • deleting folder
    M m_mun

    You can try SHFILEOPSTRUCT Structure

    C / C++ / MFC help

  • How to set DLL version?
    M m_mun

    Thanks for replying I am not using VS 2003 or 05. I am using VS6. I have added a resource file. I already edit version info. but it does not display when i right click on it

    C / C++ / MFC question visual-studio tutorial announcement

  • How to set DLL version?
    M m_mun

    Dear all, I have made a DLL using VS - 6. But it does not display any information when i go through by right click on it and goes to property. In case of other Microsoft DLL, that shows many info. So how can I set like author, version info etc. Thanks to all

    C / C++ / MFC question visual-studio tutorial announcement

  • Getting screen width and height
    M m_mun

    Hi How can i get the screen width and height in Managed C++/CLI? I have used

    Screen^ screen = gcnew Screen::PrimaryScreen;

    But its not working. Thanks

    Managed C++/CLI question c++

  • how to declare array of object [modified]
    M m_mun

    Hi, Suppose I have a class named "Bounce". How can i declare array of objects in another class using managed c++? Thanks to all

    modified on Wednesday, January 6, 2010 7:09 AM

    Managed C++/CLI question c++ data-structures tutorial

  • Controls are erased when dragging a dialog
    M m_mun

    Hi all, I have developed a SDI. It is divided into two parts using a splitter i)simple view ii) another is a dialog(derived from CFormView). My problem is, whenever i resizing the dialog, all static text and controls are erased and redrawing. How can i stop it? Thanks to all

    C / C++ / MFC question help

  • Change the background color
    M m_mun

    Yes, but it is not displayed

    C / C++ / MFC help

  • Change the background color
    M m_mun

    I have created a new class for form view. There is no msg handler for OnEraseBkgnd

    C / C++ / MFC help

  • Change the background color
    M m_mun

    Whenever i scroll down, the other portion does not changes. How can i do that? I have used

    void Cxxx::OnDraw(CDC* pDC)
    {
    CFormView::OnEraseBkgnd(pDC);
    CRect rect;
    GetClientRect(rect);
    pDC->FillRect(&rect, &m_wndbkBrush);
    return;
    }

    C / C++ / MFC help

  • Change the background color
    M m_mun

    Thanks, it changes the background color

    modified on Monday, December 7, 2009 5:52 AM

    C / C++ / MFC help

  • Change the background color
    M m_mun

    Hi, Not only controls color, but also want to change the background color

    C / C++ / MFC help

  • Change the background color
    M m_mun

    Hi, I have developed a SDI application and split it into two parts. One part is simple view and another part is form view, in which i have select a dialog as child. My problem is, I can't change the background of dialog and some 'static text' controls color. I have used

    SetDialogBkColor(RGB(255, 0, 0), RGB(0, 255, 0));

    in app class. But its not working. Pls hlp. Thanks in advanced

    C / C++ / MFC help

  • MFC,goto definition of XXX
    M m_mun

    1. add message handler WM_RBUTTONDOWN 2. Under this method call ur function xxx();

    C / C++ / MFC c++

  • Win32 programming
    M m_mun

    U can download this e book. This is very helpful Programmin Visual c++ by D.J. Kruglinski

    C / C++ / MFC json help question

  • How can i access which .exe or file are open after computer starting
    M m_mun

    Hi all, Is there any function or API, which give me the name of opened .exe or file name and path(by right click->Open or by double clicking) from any drive or desktop. thanks

    Managed C++/CLI json question

  • Font size of ComboBox text
    M m_mun

    Hi all, I have a combo box. I have created it by declaring CComboBox m_comboBox; at MainFrame class and if(!m_comboBox.Create(CBS_DROPDOWN | CBS_SORT | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, rect, &m_wndToolBar, ID_COMBO)) { TRACE(_T("Failed to create combo-box\n")); return FALSE; } But the text size very small. How can i increase the size of this text. Thanks

    C / C++ / MFC debugging question

  • CFileDialog creates problem under unicode standard
    M m_mun

    This is my simple code: CString openFilePath; CFileDialog fileOpen(true, NULL, NULL, NULL, L"Text file(.txt)||*.txt", NULL); if(fileOpen.DoModal() == IDOK) { openFilePath = fileOpen.GetPathName();//Here is a break point. at this stage //value of openFilePath display like {"e"} only. .. .. }

    C / C++ / MFC c++ help

  • CFileDialog creates problem under unicode standard
    M m_mun

    OK. Can i get full file when i open a file using 'CFileDialog's constructor?

    C / C++ / MFC c++ 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