CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2009
    Posts
    596

    [RESOLVED] Depolyment with Exel Problem

    Good morning guys.

    My app uses an Excel data file which has been added to the project by doing an "Add Existing Item". When I publish the app the Excel file doesn't make it into the deployment. I don't see the Excel file when I click on Show all Files under Application Files in Publish. I don't know how to get this Excel file into the Deployment. Maybe it's not possible? Can someone tell me how to get this Excel data file into the Deployment, Please.

  2. #2
    Join Date
    Sep 2006
    Posts
    635

    Re: Depolyment with Exel Problem

    you have to add excel file and you also to indicate where it goes to be placed when you are going to create your intall wizard or publish your app.

  3. #3
    Join Date
    Dec 2009
    Posts
    596

    Re: Depolyment with Exel Problem

    Can you give me a step by step on how and where to do this? Because I don't see how to do that. I'm using VS2010 Ultimate if it makes a difference.

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Depolyment with Exel Problem

    Bin\Debug or Bin\Release are RUN-TIME Locations, usually

    Create a folder in the project, and leave a blank spreadsheet there...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Depolyment with Exel Problem

    what DGlienna and hensa22 are telling you is showed in the following picture, where I have a file added to the solution that goes to bin\debug (or bin\release) when I compile if I modified it.
    I added it once there and then included in project, then selected it and looked at properties
    Attached Images Attached Images  
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  6. #6
    Join Date
    Dec 2009
    Posts
    596

    Re: Depolyment with Exel Problem

    Thanks everyone for helping me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured