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
V

verma rahul

@verma rahul
About
Posts
30
Topics
23
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Converting Doc file to XML & read the XML
    V verma rahul

    I am creating an web application which need to convert document files into XML. Then read the xml files for specific words in specific format. I am using Microsoft.Office.Interop for converting the document files to xml .The files are getting generated but with lots of formating information which leads to heavy file. I need an help to write a code which can reduce the xml files by removing the unwanted document formating. Or can be preserved if required. Thanks in advance.

    Learner always

    ASP.NET com xml help

  • Exception in accessing web service
    V verma rahul

    I am trying to access XML web service in my Smart Device application from a remote computer .It is throwing exception (401) Unauthorized.can any body help me. thx Learner always

    C# xml help

  • Application for PDA barcode scanner
    V verma rahul

    I am creating an application for a mobile device with pocket PC in C# manufacturer is Symbol . Can any body help me how can I get scanned barcode into my C# (windows) application . Thanks Learner always

    C# csharp help question

  • Send mail with attachment Pocket PC 2003
    V verma rahul

    I want to attach a file with the mail to send in Pocket PC 2003.IMessage provides the method to create attachment and write stream in it .how can i attach an existing file stored. pls help me. Learner always

    C / C++ / MFC help question

  • Copying bmp images from one RichEdit Control
    V verma rahul

    I want to copy the text as well as image bmp to be copied and to another RichEdit Control from one RichEdit Control on button pressed .The text data is going but image is not going. pls help me Learner always

    C / C++ / MFC help

  • Skin on slider control
    V verma rahul

    I am using code given in Code Project "Skining Slider control by Ashok Jaiswal" But it shows skin only when i clicks on it. please solve my problem Learner always

    C / C++ / MFC help

  • Replacing characters in RichEdit
    V verma rahul

    I want that whenever i type char : and ) it should be replaced.I am using following approch . void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) { CRichEditCtrl::OnChar(nChar, nRepCnt, nFlags); uPervChar=uNextChar; uNextChar=nChar; if(uPervChar==_T(':')&&uNextChar==_T(')')) { nEnd=GetWindowTextLength(); nBeg=nEnd-2; SetSel(nBeg,nEnd); ReplaceSel(""); } } It wroks fine .But its slow .Is there any other way pls tell me. Learner always

    C / C++ / MFC

  • inserting bmp in file
    V verma rahul

    It Gives "Assertion Failed" in following function IRichEditOle* CRichEditCtrl::GetIRichEditOle() const { ASSERT(::IsWindow(m_hWnd)); ... } As in this it cannt get m_hWnd is 0x00000000. Learner always

    C / C++ / MFC announcement com sysadmin workspace

  • inserting bmp in file
    V verma rahul

    I am using folowing code to insert BMP in RichEdit. InsertPlotBitmap(CString szFileName) { USES_CONVERSION; SCODE sc = ::CreateILockBytesOnHGlobal(NULL, TRUE, &m_lpLockBytes); if (sc != S_OK) AfxThrowOleException(sc); ASSERT(m_lpLockBytes != NULL); sc = ::StgCreateDocfileOnILockBytes(m_lpLockBytes, STGM_SHARE_EXCLUSIVE|STGM_CREATE|STGM_READWRITE, 0, &m_lpStorage); if (sc != S_OK) { VERIFY(m_lpLockBytes->Release() == 0); m_lpLockBytes = NULL; AfxThrowOleException(sc); } // CString szFileName=strSmile; // attempt to create the object sc = ::OleCreateFromFile(CLSID_NULL, T2COLE(szFileName), IID_IUnknown, OLERENDER_DRAW, NULL, NULL, m_lpStorage, (void **) &m_lpObject); if ( sc != S_OK ) { TCHAR * lpMsgBuf; ::FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, ::GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) &lpMsgBuf, 0, NULL ); CString msg( lpMsgBuf ); msg += _T("\n\n\n" ); msg += szFileName; AfxMessageBox( msg, MB_OK ); ::LocalFree( lpMsgBuf ); return; } // m_lpObject is currently an IUnknown, convert to IOleObject if (m_lpObject != NULL) { LPUNKNOWN lpUnk = m_lpObject; m_lpObject = QUERYINTERFACE(lpUnk, IOleObject); lpUnk->Release(); if (m_lpObject == NULL) AfxThrowOleException(E_OUTOFMEMORY); } // cache the IViewObject interface m_lpViewObject = QUERYINTERFACE(m_lpObject, IViewObject2); if (m_lpViewObject == NULL) return; // setup for advises; we assume that OLE cleans them up properly LPADVISESINK lpAdviseSink = (LPADVISESINK)GetInterface(&IID_IAdviseSink); // set up view advise VERIFY(m_lpViewObject->SetAdvise(DVASPECT_CONTENT, 0, lpAdviseSink) == S_OK); // the server shows these in its user-interface // (as document title and in File Exit menu) m_lpObject->SetHostNames(T2COLE(AfxGetAppName()), T2COLE(_T("Test"))); // all items are "contained" -- this makes our reference to this object // weak -- which is needed for links to embedding silent update. OleSetContainedObject(m_lpObject, TRUE); // CHARRANGE cr; //m_Ctrl_RichEdit.GetSel( cr ); //cr.cpMin = cr.cpMax -1; //m_Ctrl_RichEdit.SetSel( cr ); REOBJECT reo; memset( &reo, 0, sizeof( reo ) ); reo.cbStruct = sizeof( reo ); CLSID classID; if ( m_lpObject->GetUserClassID( &classID ) != S_OK) classID = CLSID_NULL; reo.clsid = classID; reo.cp = REO_CP_SELECTION; reo.poleobj = m_lpObject; reo.pstg =

    C / C++ / MFC announcement com sysadmin workspace

  • No. of char in RichEdit
    V verma rahul

    Can any body give the simple code by which i can count total number of characters typed in a RichEdit Control 2. Pls Learner always

    C / C++ / MFC

  • Putting emoticons in rich edit
    V verma rahul

    Can any body tell me the code to insert emoticons ("bmp picture") in RichEdit Control 2 which replace by special character like ':' and ')'. Learner always

    C / C++ / MFC

  • skin for slider control.
    V verma rahul

    I am creating a project which needs to skin a slidder control.This skin should be of .PNG file.How can i load image using the path of image file insted of Resource ID or name. I have seen article by JON "Skin based slider control Mark 2" but this is to load bmp file and by resource ID. Pls help me Learner always

    C / C++ / MFC help question learning

  • Skin on scrollbar of richedit control
    V verma rahul

    I want to put Skin of a PNG image on scrollbar of richedit control.how can i. Learner always

    C / C++ / MFC question

  • Country combo box
    V verma rahul

    I was asking is there any active x or any utility which can populate combo automatically.If only to type is solution than I can type my own . Thx Learner always

    C / C++ / MFC

  • Country combo box
    V verma rahul

    Can i have a combobox which is populated by country names. Learner always

    C / C++ / MFC

  • Add icons in chat windows
    V verma rahul

    How to add small pictures for a chat windows (emptions )by shortcut.Buzz type of utility.:-D like this Learner always

    C# tools tutorial lounge

  • Splash screen
    V verma rahul

    How to add in .net .What if my application is dialog. Learner always

    C / C++ / MFC c++ question

  • Splash screen
    V verma rahul

    How can i add a splash screen in mfc Learner always

    C / C++ / MFC c++ question

  • Adding emotions in rich text
    V verma rahul

    I am creating a chat application .I have used a rich textbox for message writing. I want to add emotions (small pictures)like in yahoo or "MSN" using toolbar and shotrcuts such as ":)" etc. Can you help me. Learner always

    C / C++ / MFC help lounge

  • Toggel button with menu open
    V verma rahul

    I have asked a question to display dropdown menu when button is clicked.You have suggest me Foobar.asp application . I want to convert that button as a toggel type button.When button is clicked once it shows dropdown menu .Next time when it is clicked next time it should be clossed. And one more thing i need the effect that when one button is clicked it display menu when we move to next button it should display next menu Learner always

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

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