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

Search:

Type: Posts; User: garyflet1

Search: Search took 0.00 seconds.

  1. Re: How to send an array of data to Excel using early binding?

    Actually, I figured out how to do it. In my March 25 email, when I showed the other helper's example, I misinterpreted the "Value2" as a string being sent. Actually, it was the name of a "put"...
  2. Re: How to send an array of data to Excel using early binding?

    Intellisense tells me that the put_Value parameters are like this:


    IRange::put_Value(VARIANT RangeValueDataType, long lcid = 0L, VARIANT RHS = vtMissing) So I'm assuming that the data goes in...
  3. Re: How to send an array of data to Excel using early binding?

    Thank you, Victor for your quick reply. You have sent me an excellent reference on how to send an array to Excel using late binding. If you can find a similar reference for early binding, I would...
  4. How to send an array of data to Excel using early binding?

    I've been trying to write "early binding" code to control Excel with Automation. I've made considerable progress but can't figure out how to write a SAFEARRAY of numbers to Excel. Here is some...
  5. Re: Can't automate Excel from Windows 10 (MFC program)

    You are right. I reinstalled Office and now there's an Excel.exe file in C:\program files (x86)\Microsoft Office\root\Office16. I'm amazed that Excel seemed to run just fine without it! Anyway,...
  6. Re: Can't automate Excel from Windows 10 (MFC program)

    Maybe it's noteworthy that I cannot find Excel.exe on my windows 10 computer using Windows Explorer. I can launch it easily enough by clicking on the Start button, going to E, and there it is. But...
  7. Re: Can't automate Excel from Windows 10 (MFC program)

    Thank you for your query. Both versions of Excel are 32 bit. I shall commence experimenting although I'm doing a different experiment first because it is easy to do. I'll be trying a 32 bit...
  8. Re: Can't automate Excel from Windows 10 (MFC program)

    Thank you for your questions. Both machines are 64 bit. I'm using Excel 2013 on the Windows 7 machine, Excel 2016 on Windows 10. We've been using the same Windows functions to control Excel for...
  9. Can't automate Excel from Windows 10 (MFC program)

    I'm using Visual C++ Professional Version 2015 update 3. I have a program that automates Excel and works fine in our Windows 7 computers. However, on Windows 10, Excel doesn't even launch ...
  10. Re: GetActiveObject() returns "Operation Unavailable" (0x800401e3) when Excel is runn

    Actually, I'm now finding that this isn't entirely true. I shall be investigating and I thank Victor for his help.

    Gary
  11. Re: GetActiveObject() returns "Operation Unavailable" (0x800401e3) when Excel is runn

    Thanks again for your reply. The sample shows that you can make GetActiveObject work if your program has already started Excel. But once my code has started Excel I have started a new instance and...
  12. Re: GetActiveObject() returns "Operation Unavailable" (0x800401e3) when Excel is runn

    Thanks for your reply. It helped to clarify what I need to do with automation: The user may have several instances of Excel 2013 running. The user starts our program, which is supposed to talk to...
  13. GetActiveObject() returns "Operation Unavailable" (0x800401e3) when Excel is running

    In Windows 7, Iím trying to control Excel 2013 with OLE Automation. It works fine if Excel hasnít already started up. Iím attempting to use GetActiveObject() to tell if it has started up, but I...
Results 1 to 13 of 13


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)