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
A

Anil_vvs

@Anil_vvs
About
Posts
70
Topics
44
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Read the contents of a file
    A Anil_vvs

    Thanx Steve!!![:)]

    ATL / WTL / STL question graphics tutorial learning

  • Read the contents of a file
    A Anil_vvs

    Hi All, Can anyone tell me how to read the contents (words) of a text file into a vector/ list? I may be asking a very basic question but I am just a beginner. Hope you all understand. Thanks and Regards, Anil

    ATL / WTL / STL question graphics tutorial learning

  • std not recognized
    A Anil_vvs

    Thanx a lot Chris.....will try that...:)

    Managed C++/CLI question help

  • std not recognized
    A Anil_vvs

    my .h file #pragma once using namespace std; class Logger { public: Logger(void); ~Logger(void); private: char *m_pFileName; std::ofstream m_oStream; public: void LogMsg(char * functionName, char * condition); }; cpp file #include "StdAfx.h" #include #include ".\logger.h" Logger::Logger(void) : m_pFileName(NULL) { m_pFileName = "E:\\projects\\something.log"; m_oStream.open(m_pFileName, std::ios_base::app); } Logger::~Logger(void) { } void Logger::LogMsg(char * functionName, char * condition) { } Thanks in Advance for any help....[:)]

    Managed C++/CLI question help

  • std not recognized
    A Anil_vvs

    right chris.....i am including iostream.....any problem with that...??

    Managed C++/CLI question help

  • std not recognized
    A Anil_vvs

    Hi Christian, Now the previous error disappeared. But I still get error C2079: 'Logger::m_oStream' uses undefined class 'std::basic_ofstream<_Elem,_Traits>' with [ _Elem=char, _Traits=std::char_traits ] Can you please help? I am using Visual Studio .Net 2003 Thanks and Regards, Anil

    Managed C++/CLI question help

  • std not recognized
    A Anil_vvs

    Hi All, My application doesnt compile if I use anything from namespace std. I have tried "using namespace std" and std:: Can anyone tell me what the problem could be? Extremely sorry for asking a basic question. I am just a starter. Hope you all understand. :-) Thanks and Regards, Anil

    Managed C++/CLI question help

  • VB Addin in Word
    A Anil_vvs

    Hi All, I have written a word Addin in VB and have added a sub-menu under "File" and some menu items under that. I have seen that the menu items added there sometimes appear at undesired places also ex: under AutoText-> Header/Footer menu in word. They also disappear after I delete Normal.Dot and restart the word session. This is not consistently reproducible. Can anyone tell me what could be going wrong here? Thanks and Regards, Anil

    Visual Basic question

  • System Folder
    A Anil_vvs

    Hi All, Can anyone tell me how to find out the location of System32 folder programmatically? Thanks and Regards, Anil

    Visual Basic tutorial question

  • Unicode characters
    A Anil_vvs

    Hi All, I made an activex dll in VB for my application which has some forms in it. The captions of controls in these forms are read at runtime from a properties file. I find that the captions are not shown correctly to the user when I load a properties file having Unicode Chars. Can anyone tell me what could be wrong here? Thanks and Regards, Anil

    Visual Basic com question

  • Whether a directory exists
    A Anil_vvs

    Can anyone tell me how to find out whether a disectory with a given path exits on the local disk or not? Thanks and Regards, Anil

    C / C++ / MFC tutorial question

  • Crash dump
    A Anil_vvs

    thanx a lot

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

  • Crash dump
    A Anil_vvs

    From the development setup

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

  • Crash dump
    A Anil_vvs

    Thanx .... I think this will serve my purpose

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

  • Crash dump
    A Anil_vvs

    Hi All, Can anyone tell me how to obtain a crash dump?? I have Visual Studio 6 on my machine. Thanks and Regards, Anil

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

  • Desktop right click menus in Win XP
    A Anil_vvs

    Hi All, Can anyone tell me how to increase the max number of right click menus displayed on any particular icon on the desktop in Win XP? Thanks and Regards, Anil

    C / C++ / MFC tutorial question

  • Desktop COntext Menus
    A Anil_vvs

    Hi All, Can anyone tell me how to override the default implementation of windows's "Create Shortcut" menu handler for the context menu of "My Namespace Extension" icon? Thanks and Regards, Anil

    C / C++ / MFC tutorial question

  • Context menu extensions
    A Anil_vvs

    This is how I implemented my QueryCOntextMenu STDMETHODIMP MyShellFOlder::QueryContextMenu(HMENU hMenu, UINT uiIndexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFlags) { AFX_MANAGE_STATE(AfxGetStaticModuleState()) m_hMenu = hMenu; m_idCmdFirst = uiIndexMenu; m_id = idCmdFirst; if (CMF_DEFAULTONLY & uFlags) return MAKE_HRESULT(SEVERITY_SUCCESS,FACILITY_NULL,0); int i = uiIndexMenu; MxSNECmdMgr cmdMgr; try { if(!cmdMgr.IsConnectedFromShell()) { MENUITEMINFO mii = { 0 }; mii.cbSize = sizeof(MENUITEMINFO); mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE; mii.wID = idCmdFirst + ID_CONNECT; mii.fType = MFT_STRING; mii.dwTypeData = _T("Connect"); mii.fState = MFS_ENABLED; bool b = InsertMenuItem(hMenu, uiIndexMenu++, TRUE, &mii); mii.cbSize = sizeof(MENUITEMINFO); mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE; mii.wID = idCmdFirst + ID_SEARCH; mii.fType = MFT_STRING; mii.dwTypeData = _T("Search"); mii.fState = MFS_DISABLED; b = InsertMenuItem(hMenu, uiIndexMenu++, TRUE, &mii); mii.cbSize = sizeof(MENUITEMINFO); mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE; mii.wID = idCmdFirst + ID_CREATEUSINGTEMPLATE; mii.fType = MFT_STRING; mii.dwTypeData = _T("Create Using Template"); mii.fState = MFS_DISABLED; b = InsertMenuItem(hMenu, uiIndexMenu++, TRUE, &mii); mii.cbSize = sizeof(MENUITEMINFO); mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE; mii.wID = idCmdFirst + ID_DISCONNECT; mii.fType = MFT_STRING; mii.dwTypeData = _T("Disconnect"); mii.fState = MFS_DISABLED; b = InsertMenuItem(hMenu, uiIndexMenu++, TRUE, &mii); mii.cbSize = sizeof(MENUITEMINFO); mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE; mii.wID = idCmdFirst + ID_ABOUT; mii.fType = MFT_STRING; mii.dwTypeData = _T("About"); mii.fState = MFS_ENABLED; b = InsertMenuItem(hMenu, uiIndexMenu++, TRUE, &mii); } catch(...) { } return MAKE_HRESULT(SEVERITY_SUCCESS, 0, USHORT(i-uiIndexMenu)); }

    C / C++ / MFC question

  • Context menu extensions
    A Anil_vvs

    Hi All, I have implemented context menu extension on my Namespace Extension icon. I have added 4 menus in my QueryContextMenu function. This works fine in Windows 2k. But I am able to see only the first menu added by me when I test it on WinXP or on Win2k3. Also, explorer crashes when the user selects the "Create Shortcut" menu on win 2k. Can anyone tell me what may be going wrong here? Thanks and Regards, Anil

    C / C++ / MFC question

  • Namespace extension context menus
    A Anil_vvs

    Hi All, Can anyone tell me how to remove the "Create Shortcut" context menu from my namespace extension icon? Thanks and Regards, ANil

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