When delivering an application to a client's site, just copying the app's EXE file will NOT work. You need to create an Installation Setup Package.
I learned this the hard way. I took a copy of the exe to the client's site, ran it, and got "Runtime Error '713' 'Application Defined or Object Defined Error'.
I didn't know what the problem was because, as is always the case, it worked at my office.
Then I read Hairbrained's post under the thread "Connection on Data Environment Disappear on another computer". It mentioned a Package and Deployment Wizard. As soon as I saw that, I thought BINGO! That's it!
This wizard is something programmers new to Visual Basic, like myself, might not know about because it initialy does not appear anywhere on the VB menu system. You have to set it up.
After the setup, creating the Installation package was a piece of cake!
I'm still not sure that was the entire problem because I still have to reinstall it on site, but I now know I was missing a lot of necessary files.
To set up the "Package and Deployment Wizard", and the other Add Ins menu options here's what you have to do.
Under "Add Ins" select the "Add Ins Manager". This menu option allows you to select the other options to be included on the Add Ins menu. There are about 10 options that otherwise do not appear on the menu until they are selected and set up properly.
Go through the entire list. For each item in the list, under the "Load Behaviors" section, select the top two check boxes, "Loaded/Unloaded" and "Load at Startup".
After all are set up, click the OK button.
Restart VB, Load your project, then go to the Add Ins menu and select the Package and deployment Wizard. It's pretty straitforward from there.
I learned this the hard way. I took a copy of the exe to the client's site, ran it, and got "Runtime Error '713' 'Application Defined or Object Defined Error'.
I didn't know what the problem was because, as is always the case, it worked at my office.
Then I read Hairbrained's post under the thread "Connection on Data Environment Disappear on another computer". It mentioned a Package and Deployment Wizard. As soon as I saw that, I thought BINGO! That's it!
This wizard is something programmers new to Visual Basic, like myself, might not know about because it initialy does not appear anywhere on the VB menu system. You have to set it up.
After the setup, creating the Installation package was a piece of cake!
I'm still not sure that was the entire problem because I still have to reinstall it on site, but I now know I was missing a lot of necessary files.
To set up the "Package and Deployment Wizard", and the other Add Ins menu options here's what you have to do.
Under "Add Ins" select the "Add Ins Manager". This menu option allows you to select the other options to be included on the Add Ins menu. There are about 10 options that otherwise do not appear on the menu until they are selected and set up properly.
Go through the entire list. For each item in the list, under the "Load Behaviors" section, select the top two check boxes, "Loaded/Unloaded" and "Load at Startup".
After all are set up, click the OK button.
Restart VB, Load your project, then go to the Add Ins menu and select the Package and deployment Wizard. It's pretty straitforward from there.