New topic: 

CopyFilesStep Problem on MAC

<http://forums.realsoftware.com/viewtopic.php?t=43893>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        jhai_salvador          Post subject: CopyFilesStep Problem on 
MACPosted: Sat May 05, 2012 11:34 pm                         
Joined: Sat May 05, 2012 11:04 pm
Posts: 1                Can anyone help me with CopyFilesStep and 
GetFolderItem? Im just new to Real Studio and im still playing with its 
capabilities and function since Im more into Visual Basic 6.0.

Im developing a test application on Windows XP and Im using CopyFilesStep so 
that the required file (RealSQL Database) will also be available on MAC build. 
I dont have this problem on Windows and Linux build of my application.

Here is the settings for CopyFileStep



And here is the content of My Application.app.tar after build.



Now after extracting the .tar on mac, the application is extracted and I also 
notice this when I select "Show Package Content"



and this is the content



Now, how should I use GetFolderItem funtion to get the database.rsd file 
location?..

This is my code.

dim f as folderItem

if TargetMacOS = True then
  f = GetFolderItem("database.rsd")
  If f.Exists = True then
  TextArea1.Text = f.AbsolutePath
  msgbox "Target OS is MAC and File on " + f.AbsolutePath
  Else
  msgbox "Target OS is MAC and File does not exist on " +  f.AbsolutePath
  end if
Else
  msgbox "Target OS is NOT MAC"
end if


and this is the result after running it.



Hoping for your positive response.

Thank You.,   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
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]

Reply via email to