[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Can I include a file folder that will hold master spreadsheet and instuction manuals using the Package and Deployment wizard of VB6

Posted on 2007-11-30
3
Medium Priority
?
154 Views
Last Modified: 2010-04-30
When I run the Package and Deployment wizard in VB6.0 I am trying to add a file folder that will hold a master spreadsheet and two differant formats of an instruction manual. Can this be done through the wizard or do files folders need to be copied into specific directories. If it can be done by the wizard, I will need some instructions.
0
Comment
Question by:GeneSchneider
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
3_S earned 1000 total points
ID: 20385734
Add this in the startup of you program (form load of your startup form)

if dir("c:\test",vbdirectory) = vbnullstring then
   MKDir ("c:\test")
end if

you can change the directory with app.path so you do not have to specify the drive in the installation package.  
This is a better solution than just add the folder creation in the installation. Now when the directory gets deleted, it wil be automatically recreated when the user restarts the program.

Maybe i did not get the question correctely and you mean that the master file and manuals needs to be included in you installation package.  This can be done by
run the package and deplopy wizard and on the following steps
included files
       select the files you want to include with the add button
install location
       change the path of the files to whatever path you want the files into after the installation
0
 

Author Comment

by:GeneSchneider
ID: 20386883
I have a spreadsheet that if constructed in such a way to collect information gathered by my VB program. It is too complicated to open Excel and recreate it so I made a master spreadsheet and I open it everytime I run my VB project. When VB project is done collecting data it saves the spreadsheet a differant name. This is why I need it in a file folder and need to include it in my distribution package. I would like to put the saved file in a differant file folder that the program itself.

Are you saying I can add the files to folders when I run my setup wizard? Can I have more than one folder?
Thanks for your help. It's greatly appreciated...
0
 

Author Closing Comment

by:GeneSchneider
ID: 31412032
Thanks for the help. It worked great once I understood what I was doing.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question