>I am able to activate an edit box in the grid, can someone guide me how to use a combo/list box in the grid.
>
>I created a setup set of a distributable application ( for network ), that is working fine on the system on which it is installed, but the systems are connected peer-to-peer network of windows 95, I want the same set of database to be updated by running the application by creating an icon on the desktop on every other computer, but it gives me an error Microsoft Visual Foxpro Support Files not found.
1. Use the builder to setup your grid. Right click grid, select edit and click on the column you want the list box to be. Click the list box in the toolbar and draw it on that column. In the properties for that column change the current control to the name of your combo box - combo1 or so.
Set up the combo box to point to an array that you create BEFORE the form is called. Use an ARRAY. The rest is simply a matter of setting up the combo box to what you want. I can send you a sample if you wish.
2. The VFP5 dll's are needed on EACH system.
How I have done this on a peer to peer network is to designate one of the computers as the server and install a FULL version of the software on it. My software has code in it whereby I can setup the path to the data files from a configuration table/file.
Server: c:\MyMainapp\ contains ALL the necessary files including the tables.
Workstation1, WS2,WS3...
I install a complete version a directory of the same name. This installs the correct DLL's and registers them. I then edit the directory and remove the tables.
The configuration file is also edited so that the path to the tables points to the "Server" using a mapped drive letter or a virtual path
eg. If I map the c:\drive on the server as drive Z: then the ws config path will be z:\MyMainApp\
eg: If the path is \\MainServ\c
Then this goes into the config path - \\MainServ\c\MyMainApp
and my application on the WS now knows where to read/write to data.
The second method is preferable as sometimes mapped drives will change!
I hope this helps. This will work irrespective of the type of network - peer to peer or Server/WorkStation. I have even installed on a virtual drive on a WAN using this method.
Bernard