>How can I use Visual Basic Type Structure In Vfp ?
>
> Sample
>
>Visual Basic Type Visual FoxPro
>
>Private Type BROWSEINFO How ?
> hOwner As Long
> pidlRoot As Long
> pszDisplayName As String
> lpszTitle As String
> ulFlags As Long
> lpfn As Long
> lParam As Long
> iImage As Long
>End Type
You have to concatenate a string. In this case, however, there are a couple of problems. First, the strings are actually pointers to strings. You'd have to use something like ClsHeap by Ed Rauh or Christof Lange's Structures to implement. However, even that wouldn't work here because the lpfn member is a pointer to a callback function. This can't be implemented in VFP.
The news isn't all bad, however. The function that would use this (SHBrowseForFolder) is exposed by the Shell.Application object which can be used within VFP. If the Active Desktop is installed (which may be the case under Win95 that had IE 4.0 installed or Win98), You'd have access to it.
George
Ubi caritas et amor, deus ibi est