Solved

VB6 Package and Deploy is missing files.

Posted on 2014-03-11
10
289 Views
Last Modified: 2014-03-15
I was given an Oracle Virtual Box running Windows XP with a VB6 charting program.  When I try to pack and deploy it, the install runs without errors on my Windows 7 machine, but when I try to run the program after it has been installed, I get a "file not found" error.  How to I find out which file is not found, and what do I need to do to fix the error?
0
Comment
Question by:rrhandle8
  • 5
  • 5
10 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39921494
It's been a long time since I deployed anything but I believe that there's a step in the P&D Wizard process that shows you missing files and gives you the chance to manually add them.
0
 

Author Comment

by:rrhandle8
ID: 39921687
I noticed there are some log files that should go with the install, but they are not there.  How do I get the P&D Wizard to include those files?
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39921747
Start the P&D Wizard and choose the "Package" button. Then continue responding to the prompts and/or pressing "Next" until you get to this screen.
picThen click the "Add" button.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:rrhandle8
ID: 39930810
I got the program to instal, but it will not run.  There is some sample data that is suppose to load when you the program, but it does not do this on the machine I installed it on.  I have tried one install after another with slightly different setting, but nothing is working.  Let me explain the layout of things, and maybe someone can put me on the right path.
The VB project is in a folder named "TS_7".  Inside this folder is another folder name Portfolio.  In side the Portfolio folder are some files that make up the Portfolio.  I added the Portfolio folder to a folder named "Package" in which I put all the other files needed.  But, after doing the install, there is no Portfolio folder, and when I manaully copy the Portfolio folder into the "TS_7" folder, it works.

BTW: the error I get is
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39930912
The P&D Wizard was written before Windows 7 was a glimmer in Bill Gates' eye so it has problems with it, but read this article. It may help.
0
 

Author Comment

by:rrhandle8
ID: 39930950
Actually, these problems are happening when I try to install to Windows XP.
0
 

Author Comment

by:rrhandle8
ID: 39930959
I think I have this boiled down to one issue: there is a folder that needs to be installed in the same directory as the application.  I have tried multiple different ways to get this to work but it is not.  The install package looks like the image.  It is the Portfolio Folder I can not get to install.


Portfolio Folder
0
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 39931446
Here is what you do. I assume you have already done step1 but I'll mention it anyhow just in case.

Step 1.
In the Include Files window
Include Files BeforeAdd the extra files you need as I did here with Test.txt after clicking the 'Add' button
Include Files After
Step 2.
Continue the process until you get to the 'Install Locations' window
Install Locations BeforeIn that window you can manually type in the name of the subfolder as I did here where I added a subfolder called 'My New Folder'
Install Locations After
0
 

Author Closing Comment

by:rrhandle8
ID: 39931522
Martin, thanks!  It worked.  I should have read the instruction on that last screen shot.
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39931524
You're welcome and I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2013
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

825 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