Like Tree3Likes
  • 3 Post By Salem

EXCEL & C++: Integration in Visual Studio 2012

This is a discussion on EXCEL & C++: Integration in Visual Studio 2012 within the C++ Programming forums, part of the General Programming Boards category; Hi! I need to get this work done soon. I found a legacy code to integrate C++ (in VS '05) ...

  1. #1
    Registered User
    Join Date
    Oct 2012
    Posts
    1

    Exclamation EXCEL & C++: Integration in Visual Studio 2012

    Hi!
    I need to get this work done soon. I found a legacy code to integrate C++ (in VS '05) with EXCEL 2003, to generate graphs. I need to get this working in Visual Studio 2012 with EXCEL 2010 soon. The code is showing errors in header files among other syntax errors. I need to know how I can work around this. It's consumed more than a month of my time!
    Somebody please help!

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,505
    > I need to get this work done soon.
    Try one of these.
    vWorker.com: How work gets done. Guaranteed.
    https://www.elance.com/

    > I found a legacy code to integrate C++ (in VS '05) with EXCEL 2003, to generate graphs.
    Where did you find it?
    A website URL would be fantastic at this point.

    > The code is showing errors in header files among other syntax errors.
    Patient (on the phone): Help, it hurts!
    Doctor: What hurts?
    Patient: This pain I've got hurts!
    Doctor: Where exactly?
    Patient: (points to some random body part, but being on the phone, fails to convey any actual information).

    > It's consumed more than a month of my time!
    Or your employers?

    > Somebody please help!
    Sure, this should help you compose a decent reply....
    How To Ask Questions The Smart Way
    Matticus, nvoigt and Elkvis like this.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,425
    legacy code from vs5 to integrate excel2003 that is required for vs12 excel 2010 is a very ropey proposition from the get go.
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

  4. #4
    Just kidding.... fnoyan's Avatar
    Join Date
    Jun 2003
    Location
    Still in the egg
    Posts
    269
    Check the xlsx format, which is simply an open xml file which is easy to parse with lots of libs around (use winrar,winzip, or 7zip to open file)

    Ahhh... And completely agree with Salem

  5. #5
    Registered User
    Join Date
    Apr 2006
    Posts
    2,027
    Instead of trying to hack into Excel, you should just familiarize yourself with how Excel stores graphs, and write a program that will create the proper file.
    It is too clear and so it is hard to see.
    A dunce once searched for fire with a lighted lantern.
    Had he known what fire was,
    He could have cooked his rice much sooner.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Excel integration
    By rogster001 in forum C++ Programming
    Replies: 4
    Last Post: 09-23-2012, 04:17 AM
  2. Visual Studio DLL and Visual Basic
    By mathguy in forum C Programming
    Replies: 18
    Last Post: 12-08-2011, 02:55 PM
  3. SVN Integration offer on Visual Studio
    By Mario F. in forum General Discussions
    Replies: 2
    Last Post: 05-16-2010, 09:00 PM
  4. visual studio 6 and visual studio.net difference
    By gemini_shooter in forum Tech Board
    Replies: 5
    Last Post: 02-04-2006, 12:32 AM
  5. Replies: 1
    Last Post: 05-26-2004, 09:59 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21