Results 1 to 6 of 6

Thread: Zip files in vb.net 2008

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    3

    Zip files in vb.net 2008

    I have a very noobish question about saving required files in vb 2008, zipping it, and sending it in to my teacher via emails. When I finish the program, I hit save as and put it in a new folder. I then zip it up using winzip, send it to my teacher through our school website. When she gets it however, she cannot open it and says I don't have all the required files. I can still open it on my computer, though, and don't know what I'm doing wrong. Any advice would be helpful on what else I'm supposed to do. If it helps the program that I am doing I have to get it from a zip file she sends us, re-modify it a little, re-save it, and send it back.

  2. #2
    Frenzied Member
    Join Date
    Sep 2006
    Location
    Scotland
    Posts
    1,054

    Re: Zip files in vb.net 2008

    As far as I am aware when you go to save as it only saves the current object. Most likely the current form you have up on the screen. Try browsing to where the project is actually saved and zipping up this folder.

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    3

    Re: Zip files in vb.net 2008

    I figured out what to do when the file was in a folder she sent me already, was simple enough, just click save then send back zipped. My problem is trying to save a completely new project into a folder and having my teacher to open it. I selected save solution as, and then the save project as. When I try to open it to see if it works, everything comes up except the mainform.vb [design] window.

  4. #4
    Frenzied Member
    Join Date
    Sep 2006
    Location
    Scotland
    Posts
    1,054

    Re: Zip files in vb.net 2008

    Is mainform.vb in the solution explorer on the right hand side when you open it again?

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Zip files in vb.net 2008

    All you have to do is find your solution folder and ZIP it. Under your Documents folder you should have a Visual Studio 2008 folder and then a Projects folder under that. All your projects are created under that. Simply find that folder for the project you want to send, right-click it and send it to a ZIP file. That's it.

    Just note that you should generally delete the 'obj' and 'bin' folders under the project first. They are the folders that contain the binaries. Your instructor doesn't need those because they will build your project themselves if they need to. Also, many forums, like this one, don't allow attachments containing binaries, so it's a good habit to get into.
    Attached Images Attached Images  
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    3

    Re: Zip files in vb.net 2008

    Yes the mainform.vb is in the window but when I click on it it just goes to the general declarations code.. Which is empty

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