Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem In implementing a Function SelDirDlg
Message
From
17/12/2012 09:41:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Problem In implementing a Function SelDirDlg
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01559888
Message ID:
01559888
Views:
119
I am trying to make a tool that list path of all the the PS files in a .dbf file.

Using GETDIR() Command I am able to fetch Data from the local drive, but since GETDIR() does not show network drive, I am using an other function desigend by You "FUNCTION SelDirDlg" as defined in my Functions.prg

My problem is that when I use GETDIR() Function it works fine and I am able to fetch my desired records but When I Use "FUNCTION SelDirDlg" in place of GETDIR() to fetch from some folder from a network drive it starts giving numerious errors like:

1) NO Parameters Defined
2) INvalid Path
3) Nesting Error etc etc

I tried hard to overcome but could not do so.

Can you help me by making necessary changes in my program file GETALLFILES.PRG or any other file as you deem fit so that I could add data from Network Drive also and please also tell me what changes have been made and why & where I was going wrong.

My objective is to Fetch Data from Network Drive similarly as I could fetch from local drive using GETDIR().

FUNCTION SelDirDlg is defined under Functions.prg, however when I use it in place of GETDIR(), it generates error

My small Application code can be downloaded from

https://www.dropbox.com/s/3xutsnlbe2b7dbp/CBMS.zip

Thanks in anticipation

Regards
Harsh
Next
Reply
Map
View

Click here to load this message in the networking platform