Groups > Superbase > Superbase 3 programming > Re: Request 28




Request 28

Request 28
Mon, 15 Oct 2007 13:54:12 -070
I can only get Request 28 to return the first level of directory
structure.  It return the SFN structure of the first level only.  If
the user navigates to several subdirectories, it will only return the
first level.  How can I get this to work properly using folders that
have long file names, and several levels.

Post Reply
Re: Request 28
Tue, 16 Oct 2007 15:28:08 -040
I just ran this:  REQUEST "find a dir","",28,ans%,Ans$

I started in this directory:
c:\Program Files\sb2001

I navigated here:
c:\temp\For Sale

It returned:
c:\temp\forsal~1

How is your experience different?

You do have to click through to the directory so that appears in the
label under 'Directories'.  Just selecting it in the tree structure
does not make it the selected directory

-Dan

On Mon, 15 Oct 2007 13:54:12 -0700, tanos_8@hotmail.com wrote:

>I can only get Request 28 to return the first level of directory
>structure.  It return the SFN structure of the first level only.  If
>the user navigates to several subdirectories, it will only return the
>first level.  How can I get this to work properly using folders that
>have long file names, and several levels.
>
>Thanks in advance
Post Reply
Re: Request 28
Tue, 16 Oct 2007 16:00:26 -070
I use the Request "","",ans%%,newdir$

I navigate to c:\Documents and Settings\cabo\My Documents

After the third level of folders Superbase no longer shows long file
names and reverts back to 8.3 for listing, and the returned newdir$
is c:\Document\Sett   one time, then another it returned e:\ with
no folders.  I have not used this feature before because I always
searched for files, but I can not get it to work at all.

I dont mind the conversion back and forth, but I cannot even do
that much.

Thanks for the help in advance.

Tony





On Mon, 15 Oct 2007 13:54:12 -0700, tanos_8@hotmail.com wrote:

>I can only get Request 28 to return the first level of directory
>structure.  It return the SFN structure of the first level only.  If
>the user navigates to several subdirectories, it will only return the
>first level.  How can I get this to work properly using folders that
>have long file names, and several levels.
>
Post Reply
Re: Request 28
Wed, 17 Oct 2007 18:53:22 -040
OK, I can see the incorrect behavior now.  The sring gets too long, I
guess.  You could try using the Windows API ( maybe BrowseForFolder),
but I think that requires a structure you cannot pass from SB.    

http://www.daniweb.com/forums/thread14061.html#top 

Therefore you may need a small vb program to prompt for that and pass
back the full string.

-Dan

On Tue, 16 Oct 2007 16:00:26 -0700, tanos_8@hotmail.com wrote:

>I use the Request "","",ans%%,newdir$
>
>I navigate to c:\Documents and Settings\cabo\My Documents
>
>After the third level of folders Superbase no longer shows long file
>names and reverts back to 8.3 for listing, and the returned newdir$
>is c:\Document\Sett   one time, then another it returned e:\ with
>no folders.  I have not used this feature before because I always
>searched for files, but I can not get it to work at all.
>
>I dont mind the conversion back and forth, but I cannot even do
>that much.
>
>Thanks for the help in advance.
>
>Tony
>
>
>
>
>
>On Mon, 15 Oct 2007 13:54:12 -0700, tanos_8@hotmail.com wrote:
>
>>I can only get Request 28 to return the first level of directory
>>structure.  It return the SFN structure of the first level only.  If
>>the user navigates to several subdirectories, it will only return the
>>first level.  How can I get this to work properly using folders that
>>have long file names, and several levels.
>>
>>Thanks in advance
Post Reply
Re: Request 28
Wed, 17 Oct 2007 21:08:30 -040
Yes, that is a good alternative.
-Dan

On Thu, 18 Oct 2007 07:32:01 +0800, "John Roberts"
<remjohnr@iinet.net.au> wrote:

>That is why I use simpol's file and directory pickers in a lib that can be 
>called from SB.
>John
>
>"Dan Jinks" <dan@jinksincNOSPAM.com> wrote in message 
>news:78tch3tjg6psell36p7rqfttu5968l6rbv@4ax.com...
>> OK, I can see the incorrect behavior now.  The sring gets too long, I
>> guess.  You could try using the Windows API ( maybe BrowseForFolder),
>> but I think that requires a structure you cannot pass from SB.
>>
Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact