>>>>>>>>>I have a form with a listbox but when run from the exe on the network , the listbox is always empty. The directory it runs from is always the same local dir no matter which workstation and it HAS the data there. any clue?
>>>>>>>>
>>>>>>>>Do you mean that started from local drive Exe works Ok, and from net drive has listbox empty?
>>>>>>>
>>>>>>>Right Ed, all the PC's have a local dir named identically, complete with the data, including mine, I run the prg locally and is ok, but when I issue ' do R:thisapp.exe, the listbox is void or invisible.
>>>>>>
>>>>>>Try to run Exe (not prg) locally and see what happen. Basically, you check Listbox.Rowsource
>>>>>
>>>>>I did and it was ok so:
>>>>>do funds.exe=ok but do r:funds.exe=not ok.
>>>>>crazy!
>>>>
>>>>How do you populate the list?
>>>
>>>rowsource points to list of dbf fields & rowsourcetype is set to fields.
>>
>>Do you use the same data (dbc,dbfs) running locally and on network?
>
>YES THAT's THE THING!
>do funds.exe=data shows in listbox
>but do r:funds.exe=data dos NOT show in listbox.
>both are executed on C:\funds!
Don't shout, please! When you run exe (as Dave said you) you automatically set startup folder as default. Depending how you code this situation you can just miss data or point to another database with the same name. Firstly, make sure that you have just one database on both local drive and network.
Edward Pikman
Independent Consultant