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
J

JabraJabra

@JabraJabra
About
Posts
67
Topics
44
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Interviews questions and answers
    J JabraJabra

    hi, i just found a site for hi-tech interviews and answers and i thought you'll be interessted. www.daquiz.com Avi.
    visit me at www.laviadlab.com

    Work Issues com

  • Wininet : Cache problem
    J JabraJabra

    hi, im trying to download a file with : InternetReadFile [B]or[/B] URLDownloadToFile. i did succeed to work with those functions - [B]BUT![/B] i want to download from the server and not use the cache files. i did tried to add some flags of no cache use but with no success. anyone got any inlights? Avi. visit me at www.laviadlab.com

    Managed C++/CLI com sysadmin help question

  • load ttf file and use it
    J JabraJabra

    hi, i got a special TTF file and i want to use it in my Dialog. i just to put a text using this special font on an EditBox. how can i do that? i didn't manage to figure this out by myself... Avi.

    C / C++ / MFC question

  • EnvDTE::DocumentEvents.DocumentOpend makes me suffer!
    J JabraJabra

    hi, i made the event of Document_Opened(), in the event im checking the file path and according to it i choose to open or not the doc. the problem is that if i choose not to open the doc, i do Document.Close() - the doc is closed but not all of it, the tab/window of the doc is still in the windows tab. when i tried to close the doc manually with a button it worked just fine. the code is - private void DocumentEvents_DocumentOpened(Document Document) { // check something Document.Close(vsSaveChanges.vsSaveChangesPrompt); return; } what seems to be the problem?!?!

    C# help question

  • VSSDatabase
    J JabraJabra

    thanks man, i'll check it out, it looks promising...

    ATL / WTL / STL question

  • CommandBarControl.OnAction don't want to work
    J JabraJabra

    i don't think so, it's coded in ATL.

    ATL / WTL / STL help

  • CommandBarControl.OnAction don't want to work
    J JabraJabra

    hi, i got this code - CommandBar menuBar = applicationObject.CommandBars["MenuBar"]; CommandBarControl m_TemplatesControl = menuBar.Controls.Add(MsoControlType.msoControlPopup,1,"",System.Reflection.Missing.Value,true); m_TemplatesControl.Visible = true; m_TemplatesControl.OnAction = "MyFuncName"; the problem is that it never being called... i want that when i press the control it will call the function (it's popup and not button bcuz it got more commands inside it...) help please, Avi.

    ATL / WTL / STL help

  • CommandBarPopup not calling Exec
    J JabraJabra

    hi, i tried the code in this http://support.microsoft.com/default.aspx?scid=kb;en-us;555153[^] the problem is that i see the contextmenu but when i press one of the items nothing happens... the Exec method not being called... does anyone got any idea?

    ATL / WTL / STL com help question

  • how to put multiline comment to function header
    J JabraJabra

    hi, i want to create a function with the FileCodeModel and put a comment for the function. the problem is that i want to make a comment like this: /*********************** * * Comment example * ************************/ but i dont know how to make it, i know only to make this type of comment : // Comment example with this code - CComPtr l_pCodeFunction; CComPtr l_pProjectItems; CComPtr l_pProjectItem; CComPtr l_pFileCodeModel; pActiveDoc->get_ProjectItem(&l_pProjectItem); l_pProjectItem->get_FileCodeModel(&l_pFileCodeModel); l_pFileCodeModel->AddFunction(L"DoSomething",EnvDTE::vsCMFunctionFunction,CComVariant(L"void"),CComVariant(1),EnvDTE::vsCMAccessPublic,&l_pCodeFunction); l_pCodeFunction.put_Comment(???) // TODO does someone knows how to make multiline comment?

    ATL / WTL / STL tutorial help question

  • VSSDatabase
    J JabraJabra

    hi, where can i get this object? i mean from which object? couldn't find in EnvDTE... Avi.

    ATL / WTL / STL question

  • CodeModel object
    J JabraJabra

    hi, from where can i get the CodeModel obj? 10x, Avi

    ATL / WTL / STL question

  • how to add new file to vss
    J JabraJabra

    thanks man, but i didn't find there an answer to my question... can u direct me further more?

    ATL / WTL / STL question c++ wpf tutorial

  • how to add new file to vss
    J JabraJabra

    hi, i got an add-in that creates new .cpp and .h file with templates in them. i want that after i save the files in the project to get them into the VSS. how can i do that? (EnvDTE.SourceControl only got checkout functions...) Avi.

    ATL / WTL / STL question c++ wpf tutorial

  • EnvDTE::Document.Open returns null
    J JabraJabra

    hi, im trying to open a document from the documents list but it always returns null. this is my code: // Find .dsp file name m_ActiveProject->get_FullName(&l_ProjectName); // Open .dsp file as text document CComPtr l_pDocuments; m_pDTE->get_Documents(&l_pDocuments); CComPtr l_pDocument; l_pDocuments->Open(l_ProjectName,L"Text",false,&l_pDocument); am i doing something wrong?

    ATL / WTL / STL question

  • get project full name
    J JabraJabra

    hi, im trying to get the project's full name by iterating the projects array. EnvDTE::Projects *l_pProjects; l_pSolution->get_Projects(&l_pProjects); long *l_Count = new long; l_pProjects->get_Count(l_Count); for(long l = 0; l < *l_Count; l++) { EnvDTE::Project *l_pPrj; VARIANT v; v.lVal = 0; l_pProjects->Item(v,&l_pPrj); BSTR fullname; l_pPrj->get_FullName(&fullname); // PROBLEM! } the problem is where the comment "// PROBLEM!" is. it just won't work? what am i doing wrong?

    ATL / WTL / STL data-structures help question

  • Cstring with ATL
    J JabraJabra

    it worked fine, 10x!

    ATL / WTL / STL csharp question c++ visual-studio

  • How to get the active project in visual studio
    J JabraJabra

    thanks mate!

    ATL / WTL / STL c++ csharp question visual-studio tutorial

  • Cstring with ATL
    J JabraJabra

    how can i use CString with ATL in Visual Studio .NET?

    ATL / WTL / STL csharp question c++ visual-studio

  • findresource return null
    J JabraJabra

    hi, i added a custom resource to visual studio and im trying to do FindResource() but it always return me null. FindResource(_AtlModule.GetResourceInstance(), Xi_Name, "TEMPLATES"); anyone know's whatsmy problem?

    ATL / WTL / STL csharp visual-studio wpf help question

  • How to get the active project in visual studio
    J JabraJabra

    hi, im coding an Add-In (Visual C++) that do some changes to the document files in Visual Studio (.NET). in the code i need to get the Active Project that in the solution explorer (the one that will run when the project is execute). how can i do that? in MFC i think , in the class IApplication, there's ->get_ActiveProject, but in the classes of EnvDTE there's not (i didn't find). does anyone know about something like that? or is there another way to know which is the active/startup project? thanks in advance, Avi.

    ATL / WTL / STL c++ csharp question visual-studio tutorial
  • Login

  • Don't have an account? Register

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