New topic: Folders For Newbie
<http://forums.realsoftware.com/viewtopic.php?t=38191> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message jaymenna78734 Post subject: Folders For NewbiePosted: Fri Mar 18, 2011 2:07 pm Joined: Wed Apr 14, 2010 9:26 am Posts: 31 Location: Meguro- Ku Tokyo I am tying to create a simple folder called: theFolder dim myFolder as FolderItem myFolder=New FolderItem("/theFolder") myFolder.CreateAsFolder Does not seem to do anything at all (or perhaps it is putting the folder someplace I cant see it) What am I doing wrong? Top swort Post subject: Re: Folders For NewbiePosted: Fri Mar 18, 2011 2:14 pm Joined: Mon May 31, 2010 5:35 am Posts: 797 jaymenna78734 wrote:I am tying to create a simple folder called: theFolder Code:dim myFolder as FolderItem myFolder=New FolderItem("/theFolder") myFolder.CreateAsFolder Does not seem to do anything at all (or perhaps it is putting the folder someplace I cant see it) What am I doing wrong? Code:dim myFolder as FolderItem = GetFolderItem("").Child("test") myFolder.CreateAsFolder This example creates a folder next to the Application if you have it build! A folder item is used as: Dim f As FolderItem the "New" keyword is not needed. _________________ SWORTâ¢, it stands for Secure Web Object Realtime Transfer⢠- Windows Vista AND Linux Ubuntu 10.04 LTS - REAL Studio Enterprise(latest) and WEB Edition(latest) - REAL SQL Server 2009 For Dutch User Groups ask me to enter! Top eddy2099 Post subject: Re: Folders For NewbiePosted: Fri Mar 18, 2011 2:21 pm Joined: Sun Jan 23, 2011 11:59 am Posts: 87 jaymenna78734 wrote:I am tying to create a simple folder called: theFolder dim myFolder as FolderItem myFolder=New FolderItem("/theFolder") myFolder.CreateAsFolder Does not seem to do anything at all (or perhaps it is putting the folder someplace I cant see it) What am I doing wrong? Actually this works but remove the "/" because it will tag that as part of the folder name. It works on the Mac but would probably cause chaos in Windows. This should create a folder next to where the app is. Make sure you save your app before you run it. _________________ RealStudio 2011R1 â¡ Macbook Pro Mac OS X 10.6.6 http://www.batchimage.com Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ]
-- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
