Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-08-2008, 06:07 AM   #1
iMind
Confirmed User
 
Join Date: Nov 2007
Posts: 937
REALbasic Drag and Drop Question

Hey , Asked a few different boards but this place seems to be full of info under all the BS so I thought I'd try here.

I'm coding a mac application using Real basic and I'm trying to use drag and drop to move some files around,

Basically I have a drop zone coded and working and I want it to move any files dropped on it to a specified folder

Here's my code so far on the "DrobObject" event

Quote:
if obj.FolderItemAvailable then
MsgBox obj.FolderItem.AbsolutePath

Dim source, destination as FolderItem
source=GetFolderItem(obj.FolderItem.AbsolutePath)

destination=GetFolderItem("/Applications/AppFolder/Custom/")
source.MoveFileTo destination
if source = nil or not source.Exists then Status.text="Source file issues"
if destination = nil or not destination.Exists then Status.text="destination file issues"

end if
My Message box is displaying the paths, so I know the source is good,
And if I mess with the destination path it throws a error too .. so I know I coded that properly, I'm just not moving ANY files and it's getting me pretty upset now after 18 hours ..

Any ideas ?
iMind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2008, 06:09 AM   #2
After Shock Media
It's coming look busy
 
After Shock Media's Avatar
 
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
I think Mac questions may be banable around here.

Just kidding, actually I know zero coding and the last thing I thought I would be clicking was a mac related programing question.
__________________

[email protected] ICQ:135982156 AIM: Aftershockmed1a MSN: [email protected]
After Shock Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2008, 06:22 AM   #3
iMind
Confirmed User
 
Join Date: Nov 2007
Posts: 937
It's cool LOL, I knew I was taking a shot in the dark.
This boards hella fast compared to the RB boards I posted on, so figured it's worth a shot :D
iMind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.