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
D

dorutzu

@dorutzu
About
Posts
23
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Send cookie in HTTP request
    D dorutzu

    Hi, I'm using an http request from my VC++ 6.0 application(FYI, I'm using MSXML::IXMLHttpRequestPtr ). The idea is that I would like to send a cookie as well, but I don't know how to do this, and more than that, how to get this cookie. But I do know that the user is using IE 5.5+ and the cookie is stored on his computer. The idea is to authenticate with the server using the cookie(that is already on the computer), without having the user to type in some usernames and passwords. Thanks, Doru

    C / C++ / MFC c++ sysadmin tutorial

  • Maintain data in Clipboard
    D dorutzu

    Hi, I'm working on an Outlook Add-in written in VC++. My problem is that I have to add some buttons to a toolbar, and the only way (I know) to set icons to them is using PasteFace. By doing this, I have to use the clipboard, and I loose everything that I had in there. Is there any way I can somehow save this data (from the clipboard) in a buffer, and after pasting the images, to put the initial data back into the clipboard. Any ideas or suggestions would be most welcome. Thanks, Doru

    C / C++ / MFC c++ help

  • Outlook Express add-in
    D dorutzu

    Thank you! I hope this is what I need, although I'm not sure...I would like to add buttons to Outlook Express' toolbars, etc (like I did for MS Outlook). Thanks again, Doru K.

    COM c++ com help question

  • Outlook Express add-in
    D dorutzu

    Thank you for your answer, but unfortunatelly, I couldn't find what you directed me to, because of language impediments. Thank you anyway. Best regards, Doru K

    C / C++ / MFC c++ com help question

  • Outlook Express add-in
    D dorutzu

    Hi, I only found his article about Outlook add-ins, but Outlook Express is a COMPLETELLY different thing. Maybe there is an article about Outlook Express as well, but I didn't find it...could you send me the link? Thanks, Doru

    COM c++ com help question

  • Outlook Express add-in
    D dorutzu

    Hi gurus, I'm working on a ATL plug-in for MS Outlook, but I would like to make it work on Outlook Express as well. I understand that it's not possilble via COM technology (as OE does not expose any COM interfaces :sigh:), but something with hooks? Any documentation on the subject? Any help / hint would be much appreciated. Thanks in advance, Doru K.

    Visual Basic c++ com help question

  • Outlook Express add-in
    D dorutzu

    Hi gurus, I'm working on a ATL plug-in for MS Outlook, but I would like to make it work on Outlook Express as well. I understand that it's not possilble via COM technology (as OE does not expose any COM interfaces :sigh:), but something with hooks? Any documentation on the subject? Any help / hint would be much appreciated. Thanks in advance, Doru K.

    C / C++ / MFC c++ com help question

  • Outlook Express add-in
    D dorutzu

    Hi gurus, I'm working on a ATL plug-in for MS Outlook, but I would like to make it work on Outlook Express as well. I understand that it's not possilble via COM technology (as OE does not expose any COM interfaces :sigh:), but something with hooks? Any documentation on the subject? Any help / hint would be much appreciated. Thanks in advance, Doru K.

    ATL / WTL / STL c++ com help question

  • Outlook Express add-in
    D dorutzu

    Hi gurus, I'm working on a ATL plug-in for MS Outlook, but I would like to make it work on Outlook Express as well. I understand that it's not possilble via COM technology (as OE does not expose any COM interfaces :sigh:), but something with hooks? Any documentation on the subject? Any help / hint would be much appreciated. Thanks in advance, Doru K.

    COM c++ com help question

  • c# newbie serialization problem
    D dorutzu

    Thank you very much for your answers. I took the easy way, and just bundeled everything in a .dll for both applications to use it...and it works just great! And it was so easy... Thanks again! Keep in touch, Doru

    C# csharp sysadmin help dotnet wcf

  • c# newbie serialization problem
    D dorutzu

    Hi, I'm just starting to learn C#(and I like it) and .NET Framework, and I stared with this: I want to make a chat application. Basically, I have a server and a client, connected via sockets (all works just fine). Now, I would like the client to send some info to the server -> a serialized object (because there are many types of values in this object). The problem is that the server and the client are not the same application, and thus, deserialization doesn't work (or at least, I couldn't make it work...maybe you can help here). This is the code I use for serialization: MemoryStream ms = new MemoryStream(); StreamingContext stmCtx = new StreamingContext(StreamingContextStates.CrossMachine | StreamingContextStates.Persistence); BinaryFormatter bf = new BinaryFormatter(null, stmCtx); bf.AssemblyFormat = FormatterAssemblyStyle.Simple; bf.TypeFormat = FormatterTypeStyle.TypesWhenNeeded; bf.Serialize(ms, negociate_struct); ...and then I send ms over the network. Now, serialization is basicaly ok (because if I deserialize here ms, is works fine), but on the server I got this IOException : "File or assembly name RCClient, or one of its dependencies, was not found." RCClient is my client application name. I also saved my stream to a file, and got something like: "  ˙˙˙˙  RCClient %NegociationStructures.NegociateStruct SenderTypePacketNo NPResponse   xxx " It's obvious my server application doesn't know who RCClient is. I figure the problem is either with setting the BinaryFormatter, or I use the wrong tool for the job. Also, I can't use SOAP serialization, because I noticed that the stream is much larger, and I need as much speed as possible (this should eventually develop into a video chat & stuff). I hope I made my problem clear, and I would appreciate any help or hint. Thank you in advance, Doru K.

    C# csharp sysadmin help dotnet wcf

  • An Outlook plug-in issue
    D dorutzu

    Thanks! This was the problem indeed! I got, eventually, to the answer by my self, but thanks for your help anyway. Unfortunately, I haven't found too much info on the net on this issue, and I used Detach just for the sake of cleaning up :) Thanks again, Doru K

    COM help c++ html question

  • An Outlook plug-in issue
    D dorutzu

    Hi, I'm witting an Outlook plugin in VC++, using ATL. When a button in outlook is pressed, my plug-in will create a new mail, or reply to the selected one, or forward it. Now, the problem is that after generating this new window(for new mail, reply or fwd), when I close Outlook, another instance of Outlook remains somewhere running (I see it in Task Manager, and I have to close it form there). Any ideea what do wrong? Here is part of my code from the reply command: for(int i=1; i<=lItemCount; i++) { CComPtr spDisp; CComVariant vt(i); //get selected item number i hr = spSelection->Item(vt, &spDisp); if(FAILED(hr)) return; CComQIPtr< Outlook::_MailItem > spMailItem(spDisp); CComPtr spMailItem2; if(FAILED(hr)) return; if(spMailItem!=NULL) { spMailItem->Reply(&spMailItem2); BSTR subj; spMailItem->get_Subject(&subj); CString str = "Re:"; str += W2T(subj); spMailItem2->put_Subject(T2W(str)); BSTR htmlBody; spMailItem->get_HTMLBody(&htmlBody); str = ReadHTMLIntoString((CString)W2T(bstrMSname)); //insert the Reply .html str += "

    Original text:

    "; //something between our text and the original text str += W2T(htmlBody); htmlBody = T2W(str); spMailItem2->put_HTMLBody(htmlBody); spMailItem2->Display(); } spMailItem2.Detach(); spMailItem.Detach(); spDisp.Detach(); } I think something should be done with spMailItem2, but I just don't know what. I would really appreciate any help. Thanks, Doru K

    COM help c++ html question

  • An Outlook plug-in issue
    D dorutzu

    Hi, I'm witting an Outlook plugin in VC++, using ATL. When a button in outlook is pressed, my plug-in will create a new mail, or reply to the selected one, or forward it. Now, the problem is that after generating this new window(for new mail, reply or fwd), when I close Outlook, another instance of Outlook remains somewhere running (I see it in Task Manager, and I have to close it form there). Any ideea what do wrong? Here is part of my code from the reply command: for(int i=1; i<=lItemCount; i++) { CComPtr spDisp; CComVariant vt(i); //get selected item number i hr = spSelection->Item(vt, &spDisp); if(FAILED(hr)) return; CComQIPtr< Outlook::_MailItem > spMailItem(spDisp); CComPtr spMailItem2; if(FAILED(hr)) return; if(spMailItem!=NULL) { spMailItem->Reply(&spMailItem2); BSTR subj; spMailItem->get_Subject(&subj); CString str = "Re:"; str += W2T(subj); spMailItem2->put_Subject(T2W(str)); BSTR htmlBody; spMailItem->get_HTMLBody(&htmlBody); str = ReadHTMLIntoString((CString)W2T(bstrMSname)); //insert the Reply .html str += "

    Original text:

    "; //something between our text and the original text str += W2T(htmlBody); htmlBody = T2W(str); spMailItem2->put_HTMLBody(htmlBody); spMailItem2->Display(); } spMailItem2.Detach(); spMailItem.Detach(); spDisp.Detach(); } I think something should be done with spMailItem2, but I just don't know what. I would really appreciate any help. Thanks, Doru K

    ATL / WTL / STL help c++ html question

  • CWebBrowser problem
    D dorutzu

    Thanks, but that wasn't very usefull. I think the problem lies somewhere else... Thanks anyway!

    ATL / WTL / STL html com help question

  • CWebBrowser problem
    D dorutzu

    Hi! I'm writting an Outlook plugin, and a very nasty problem arised: I'm using some dialogs in my app, and one of them has to display a .html page. I've put a CWebBrowser ActiveX on it, but the dialog won't show up. The DoModal function returns -1 (couldn't create dialog). If I remove the activeX from my dialog everything works just fine. :wtf: Well, have you any ideea why this problem appears, or some workaround to display my .html page? Thanks, Doru K.

    ATL / WTL / STL html com help question

  • Office::CommandBarControl problem
    D dorutzu

    Hi guys! I'm trying to insert a DropdownButton in my Outlook plugin...a msoControlButtonDropdown button, but I just don't know how! Here is (a piece of)my code: CComVariant vToolBarType2(msoControlDropdown); CComPtr < Office::CommandBarControl> spNewBar; spNewBar = spBarControls->Add(vToolBarType,vEmpty,vEmpty,vEmpty,vShow); ATLASSERT(spNewBar2); The problem is that the Add Method only accepts as the first parameter msoControlButton, msoControlEdit, msoControlDropdown, msoControlComboBox, or msoControlPopup; and I want to use msoControlButtonDropdown. Any ideas how should I do this, or how should I go around it? As you see, the code is written in ATL / C++, but even if you have a VB sample, I guess it should do the trick. Thanks a lot, :rose: Doru K.

    COM c++ help question

  • Office::CommandBarControl problem
    D dorutzu

    Hi! It's me again! :) I'm trying to insert a DropdownButton in my Outlook plugin...a msoControlButtonDropdown button, but I just don't know how! Here is (a piece of)my code: CComVariant vToolBarType2(msoControlDropdown); CComPtr < Office::CommandBarControl> spNewBar; spNewBar = spBarControls->Add(vToolBarType,vEmpty,vEmpty,vEmpty,vShow); ATLASSERT(spNewBar2); The problem is that the Add Method only accepts as the first parameter msoControlButton, msoControlEdit, msoControlDropdown, msoControlComboBox, or msoControlPopup; and I want to use msoControlButtonDropdown. Any ideas how should I do this, or how should I go around it? As you see, the code is written in C++, but even if you have a VB sample, I guess it should do the trick. Thanks a lot, :rose: Doru K.

    ATL / WTL / STL c++ help question

  • An Outlook Addin issue
    D dorutzu

    Thanks a lot! I hope it will work out...the code convertor is such a great ideea! Thanks again, Doru

    ATL / WTL / STL c++ question com help tutorial

  • An Outlook Addin issue
    D dorutzu

    Hi! I have a question for you, older & more skilled (then me :) ) COM programmers. I have an ATL Addin for MSOutlook2k. For now, it only displays some buttons in outlook (thanks Amit Dey! great tutorial!), but I would like to send an e-mail when pressing one of them(with some content set by me). Any ideas, tutorials, examples, Office APIs(if there is such a thing) or something like that? BTW, I'm using VC++, NOT VB(I kind of had enough of VB tutorials X| Thanks! Doru K.

    ATL / WTL / STL c++ question com help 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