Brian, Two things, first the launching of the URL, and secondly the other errors. Try the function shown below in your program. Also, delete the folder "build_temp" from your source code folder and let the FB5/FBtoC recreate it as needed. Possibly you have some rogue data in there from a previous error that is still lingering? Hope it helps, Deep *** START SAMPLE *** include "Tlbx LSOpen.incl" local fn LaunchURL( CurURL as str255 ) dim osErr as OSStatus dim URLCFStr as CFStringRef dim URLRef as CFURLRef osErr = _paramErr URLCFStr = fn CFStringCreateWithPascalString( _kCFAllocatorDefault, CurURL, _kCFStringEncodingASCII ) long if ( URLCFStr ) URLRef = fn CFURLCreateWithString( _kCFAllocatorDefault, URLCFStr, 0 ) CFRelease( URLCFStr ) long if ( urlRef ) osErr = fn LSOpenCFURLRef( URLRef, #0 ) CFRelease( URLRef ) end if end if end fn = osErr fn LaunchURL( "http://www.apple.com" ) fn LaunchURL( "mailto:support@..." ) do handleevents until gFBquit *** END SAMPLE *** > From: Brian Heibert <bheibert@...> > Reply-To: <futurebasic@...> > Date: Thu, 02 Apr 2009 21:29:27 -0400 > To: "futurebasic@..." <futurebasic@...> > Subject: [FB] Launching a URL from my FutureBASIC app > > Hi, > > How would I go about launching a URL from my FB app? > > I tried using: > Open ³UNIX², 2, ³open ³+²http://www.imaginateware.com² > Close #2 > > And > > Open ³UNIX²,2, ³open ³+²http://www.speakassist.net² > > But I am getting this error... > > FBtoC: translating SpeakAssist 2009 Release 4.proj > FBtoC: translation time: 0.65 s > FBtoC: copying files > FBtoC: copying resources > FBtoC: found Info.plist > FBtoC: copy time: 0.09 s > FBtoC: using precompiled header > FBtoC: compiling _0_TranslatedRuntime.m > FBtoC: compiling _2_Tlbx_,Speak,Speak,Speak.m > FBtoC: linking > FBtoC: compile+link time: 9.10 s > FBtoC: total time: 9.84 s > FBtoC: launching SpeakAssist 2009r4.app > LSOpenFromURLSpec() failed with error -10661 for the file > /Users/heibert/Desktop/SpeakAssist 2009 Release 4/SpeakAssist 2009r4.app. > Could not launch SpeakAssist 2009r4.app > > I commented out those lines, > And now when I run the program nothing happens > It looks like FBtoC is running it, but it doesn¹t run. > FBtoC: translating SpeakAssist 2009 Release 4.proj > FBtoC: translation time: 0.45 s > FBtoC: copying files > FBtoC: copying resources > FBtoC: found Info.plist > FBtoC: copy time: 0.10 s > FBtoC: using precompiled header > FBtoC: linking > FBtoC: compile+link time: 0.22 s > FBtoC: total time: 0.80 s > FBtoC: launching SpeakAssist 2009r4.app > LSOpenFromURLSpec() failed with error -10661 for the file > /Users/heibert/Desktop/SpeakAssist 2009 Release 4/SpeakAssist 2009r4.app. > Could not launch SpeakAssist 2009r4.app > > Brian > > > -- > To unsubscribe, send ANY message to: futurebasic-unsubscribe@...