CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Lars_V_J

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    194

    Excel save as html/pdf problem

    I have an Excel workbook with several sheets.

    I save it as Excel with everything in it, and that is fine.

    However, when I export to HTML and PDF, I want the html/pdf file to contain only some...
  2. Replies
    15
    Views
    485

    Re: Accessing managed dll from c++

    Contents of tlh file:


    // Created by Microsoft (R) C/C++ Compiler Version 12.00.9782.0 (d7df5201).
    //
    // c:\ssroot\faellesindbetaling\common\poaif\poa_if\debug\poahandler.tlh
    //
    // C++ source...
  3. Replies
    15
    Views
    485

    Re: Accessing managed dll from c++

    Doh...upper/lower case problem.

    Now I get a number of other errors. The mentioned line 107 is:
    IPOA_Handler pPOA(__uuidof(POA_Handler));

    I dont have a problem later in the code, when I try to...
  4. Replies
    15
    Views
    485

    Re: Accessing managed dll from c++

    I've checked the generated tlh file, and it does include the correct namespace. (Starts out with namespace PoaHandler {)
    I start the cpp file with
    #import "..\poahandler\poahandler\poahandler.tlb"...
  5. Replies
    15
    Views
    485

    Re: Accessing managed dll from c++

    I've tested a little more, and found that the problem isn't only with the C# code.
    I removed the call to the webservice, and just let my function return true all the time. I recompiled, and this...
  6. Replies
    15
    Views
    485

    Re: Accessing managed dll from c++

    Ah...it seems that what it is really nagging about is that it doesn't like the service reference in the Csharp project, apparently because it doesn't have [ClassInterface(ClassInterfaceType.None)]
  7. Replies
    15
    Views
    485

    Re: Accessing managed dll from c++

    I hope I was right to post things here. I wasn't sure if it belonged here or in the Csharp branch.
  8. Replies
    15
    Views
    485

    Re: Accessing managed dll from c++

    At the moment, when I try to register the DLL, my command prompt looks like this:
    C:\SSRoot\FaellesIndbetaling\Common\POAHandler\POAHandler>regasm .\bin\Debug\POA
    Handler.dll...
  9. Replies
    15
    Views
    485

    Accessing managed dll from c++

    I need to access a DLL made in C# from C++ (v 6.0).

    I found this article:
    http://support.microsoft.com/kb/828736

    But I run into problems whenever I try to register the DLL. It suggests that I...
  10. Replies
    0
    Views
    175

    IXMLDOMNodeListPtr problem pls help

    I have a IXMLDOMNodeListPtr, and I want to take each node, and look through the child nodes, getting one value and setting another.

    ex:

    <e1>
    <e2>value2</e2>
    <e3 />
    </e1>
    <e1>
    ...
  11. Re: ActiveX component can't create object, pls. help

    I just (a few minutes ago) got past that little problem. It was a dll that wasn't registered correctly and some missing dlls for that one. Regtlib and regsvr32 are my friends :-)

    Now, however, I...
  12. ActiveX component can't create object, pls. help

    I have a vb6 program that works fine on my own developer machine, but when it is put on our test machine, I get the "ActiveX component can't create object" error. I pops up when the program loads,...
  13. Replies
    2
    Views
    270

    Extract interface from COM obj PLS HELP

    I have an ancient COM object written in VB, and I want to extract its interface(s) to rebuild things in C#.

    I tried to add it to a solution, and I can see all the interfaces in Object browser. But...
  14. Replies
    2
    Views
    312

    Re: Dynamically resize groupboxes at runtime

    Yes, I managed to solve it, and using this:
    http://www.codeproject.com/Articles/3025/Collapsible-Splitter-control-in-C
    which is derived from SplitContainer. Works like a charm, once I learned how...
  15. Replies
    0
    Views
    193

    Datagrid non-responsive in iOS

    I have a web application that runs on a win7 machine. Many of the pages contains datagrids.

    I tried to view the web app in Chrome on an iPad, and the datagrid didn't respond to commands such as...
  16. Replies
    0
    Views
    223

    open excel html file from codebehind

    I want to do something like

    Response.Redirect("file://///Myserver/somedir/myexcelhtml.html");

    I've tried dozens of things, but nothing works. I've also tried to inject a javascript with a...
  17. Replies
    2
    Views
    364

    Re: open url in new tab in background

    Ah...I meant to do it programatically, in the codebehind
  18. Replies
    2
    Views
    364

    open url in new tab in background

    I have a web app, where when you click on a button, a web page is sometimes (depending on other choices in the web page) generated. I want to be able to open the newly generated web page in a new tab...
  19. Replies
    0
    Views
    427

    MSComctlLib problem

    I try to use MSComctlLib, and it is added to the vb6 project and also (I believe) correctly registered in windows.
    When I compile, I am told that for MSComctlLib.tvwTreelinesPlusMinusPictureText the...
  20. Replies
    2
    Views
    312

    Dynamically resize groupboxes at runtime

    I have a program with three groupboxes, each containing a datagrid.
    At the moment, only one of the groupboxes and datagrid sizes with the form, and it has been anchored to all four sides.
    I'd like...
  21. Replies
    6
    Views
    563

    Re: Getting and overview of who calls who

    I think it happens more often than one might think. Something is made, and people say "it works, let's not mess with it". Then one day they want to change a minor thing, or something stops working...
  22. Replies
    2
    Views
    337

    Re: Strange COM+ error code

    Strange that my google search didn't find those too. I tried the define, the code and the text all in one, and only found places that listed the errors without explanation. Oh-well...it seemed that...
  23. Replies
    2
    Views
    337

    Strange COM+ error code

    I get this error code:

    EVENT_S_NOSUBSCRIBERS
    0x00040202
    An event was delivered but there were no subscribers

    What the f... does that mean? Is it the COM+ or the program that uses it that is...
  24. Replies
    0
    Views
    285

    WCFTestClient equivalent for COM+

    When I code WCF webservices in csharp, I enjoy the use of WCFTestClient.

    Now, I have to work with COM+ components in (mainly) C++, and I wonder if there is something similar for COM+ - a small...
  25. Replies
    0
    Views
    286

    Excel automation problem

    I've used http://csharp.net-informations.com/excel/csharp-excel-chart.htm
    to create a chart, and that works.

    I have a little problem, however. I need the data to come from several columns, as the...
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width