| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: "Resource not found!" error |
| From: | Norman Palardy <npalardy@great-white-software.com> |
| Date: | Wed, 31 Dec 2008 10:23:37 -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 |
| In-reply-to: | <321221.63621.qm@web65606.mail.ac4.yahoo.com> |
| References: | <321221.63621.qm@web65606.mail.ac4.yahoo.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
On 31-Dec-08, at 10:08 AM, Lennox Jacob wrote: I tried this: #if TargetMacOS then Dim f as FolderItem Dim p as Picturef= SpecialFolder .Applications .child ("Safari .app").child("Contents").child("Resources").Child("compass.icns")If f <> Nil then'f.launch 'This launches Preview and displays the compass as a picture Exactly as I would expect An ICNS file is many pictures of varying sizes all crammed into one fileThis is why you need to follow the remainder of my advice and grab MacOSLib and have a look at how it's examples for Icon Services grabs an icon from an application _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Re: "Resource not found!" error, Charles Yeomans |
|---|---|
| Next by Date: | Re: "Resource not found!" error, Lennox Jacob |
| Previous by Thread: | Re: "Resource not found!" error, Charles Yeomans |
| Next by Thread: | Re: "Resource not found!" error, Lennox Jacob |
| Indexes: | [Date] [Thread] [Top] [All Lists] |