realbasic-nug
[Top] [All Lists]

Windows and SpecialFolder problems

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Windows and SpecialFolder problems
From: Tim Jones <tjmac@tolisgroup.com>
Date: Tue, 28 Jul 2009 15:14:26 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Hi Folks,

A while back, there was a discussion about SpecialFolder and family on Windows systems. IIRC, the problem was that certain combinations of SpecialFolder were returning NIL when the path definitely existed.

Was a solution ever uncovered?

I't trying to create a text file in the users home directory, but the following always returns Nil:

        Dim fo As FolderItem

        fo = SpecialFolder.UserHome.Child(tempName) /// Nil here...
        tos = fo.CreateTextFile

Have I totally gone braindead on a Tuesday, or is there something wrong in the compiler?

Thanks,
Tim


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>