Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form does not display when copied from a CD

Status
Not open for further replies.

tjessejeff

Programmer
Jan 28, 2002
34
US
I have created an application that is ready for distribution. If I winzip the application to a diskette it works fine on another PC. If I copy the same application directly to a CD the forms do not display. I want the application to be loaded from a CD and not a diskette. Is there something I am missing in the development of the application for distribution? I am not an expert on ACCESS development. This is my first application for distribution. Any help in this area will be greatly appreciated. Because this is something I need to resolve fairly quickly. I don't want to loss a client.
 
I forgot to mention that, if I execute the application from the CD it works fine. But the same application copied to a PC will not display the forms.
 
When you say it doesn't display do you mean you raise an error or it just does nothing after launching?

John John Pasko
john@rts-sd.com
"No matter where you go, there you are."
 
There are no errors. The form will display for a hot second and disappear. Leaving a blank form. If there are only command buttons on the form, it will display. If there are text boxes and command buttons, it will display so fast you can barely see it and go blank. If you close the form, it will go back to the calling form, which has command buttons on it.
 
Since the database is for distribution, i asume its tables are empty. Try to put some values in the source table
 
CD burner programs typically set the "Read Only" file attribute when copying files. Check the files that are copied off of the CD onto the hard drive and remove any "Read Only" file attributes.
 
THANK YOU VERY MUCH!!!!!!! I would not have though that to be an issue. Everything is working now. Is there away to automatically turn off the read-only flag? Because the way it seams now is, I will have to include in the load instructions to turn off read-only switch.
 
The best way I've found to do this is to ZIP the database in to a self-extracting ZIP file and use THAT for the distribution. The Zip file will be Read-only, but the database you extract out of it should NOT be (It should have whatever attribute it had on the original source Hard disk...)

Jim How many of you believe in telekinesis? Raise my hand...
Another free Access forum:
More Access stuff at
 
If you are using PKZIP command line programs, the ZIP2EXE program will do the job. If you are using WinZIP, the Actions menu has a Make EXE option (you may have to download an add-in for WinZIP to get the Make EXE capability). Those are the only ZIP programs I currently use. Other programs have other methods--you'll need to refer to their documentation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top