Adobe Dreamweaver Forums



Last 10 THreads :         Strange Flash Player Window (Last Post : Demian Darth - Replies : 0 - Views : 1 )           »          Flash 10 hangs Internet Explorer 7 on Vista? (Last Post : Gary Goldblum - Replies : 67 - Views : 575 )           »          Rate My Site Please (Last Post : Ian Edwards - Replies : 2 - Views : 3 )           »          Temporary files of Flash 10 (Last Post : Johnny Grows - Replies : 0 - Views : 1 )           »          How to get source code in the video examples (Last Post : mikeLeeds - Replies : 6 - Views : 25 )           »          Dynamic Navigation bar from OReilly (Last Post : highlander_1 - Replies : 2 - Views : 3 )           »          titleWindow nightmare (Last Post : SujitG - Replies : 4 - Views : 5 )           »          Newbie problem please help ... (Last Post : tomas.skg - Replies : 2 - Views : 3 )           »          Spry Accordion copy-paste problem (Last Post : sandesign - Replies : 0 - Views : 1 )           »          formatting external text file as html when loading atextField (Last Post : AS3_Beginner - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Authorware
 
Tags:



Reply
  #1 (permalink)  
Old 10-07-2008, 04:26 AM
Technovators
 
Posts: n/a
Diggs:
Default Find CD Code

I am trying to find a way to have my application look for a file on the program
cd before it launches the main program. I have tried the Find Cd KO and the
read extfile function. These are being used in conjunction with the jumpout
and/or Quit functions, but in the case of the jumpout function, a window
displays with the question: Where is the ** file?. When you click on cancel,
the program proceeds to launch. If quit is used, the users is not given any
message to insert the cd.

What I would like to do is to have a small window appear with some text asking
that the orginal cd be inserted. If it is inserted then the program will
proceed with launch. If no file is detected on the Cd, the user is returned to
the desktop. Is there any one out there with some code that can accomplish
thiat? Much thanks.



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-07-2008, 04:49 AM
Steve Howard **Community Expert** - eLearning + Mobile and Devices
 
Posts: n/a
Diggs:
Default Re: Find CD Code


> What I would like to do is to have a small window appear with some text
> asking
> that the orginal cd be inserted. If it is inserted then the program will
> proceed with launch. If no file is detected on the Cd, the user is
> returned to
> the desktop. Is there any one out there with some code that can accomplish
> thiat? Much thanks.
>


Use FileType. If FileType returns zero, the file is not there, so presumably
the CD isn't either - thus you can look for the file, then prompt for the CD
if FileType = 0

HTH

Steve


--
http://twitter.com/Stevehoward999

Adobe Community Expert: eLearning, Mobile and Devices
European eLearning Summit - EeLS
Adobe-sponsored eLearning conference.
http://www.elearningsummit.eu

Reply With Quote
  #3 (permalink)  
Old 10-07-2008, 06:41 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Find CD Code


"Steve Howard **Community Expert** - eLearning + Mobile and Devices"
<steve@NOSPAMmagnoliamultimedia.com> wrote in message
news:gcellr$3he$1@forums.macromedia.com...
>
>> What I would like to do is to have a small window appear with some text
>> asking
>> that the orginal cd be inserted. If it is inserted then the program will
>> proceed with launch. If no file is detected on the Cd, the user is
>> returned to
>> the desktop. Is there any one out there with some code that can
>> accomplish
>> thiat? Much thanks.
>>

>
> Use FileType. If FileType returns zero, the file is not there, so
> presumably the CD isn't either - thus you can look for the file, then
> prompt for the CD if FileType = 0


If you don't actually know where the CD ROM drive is, Buddy API has
functions to let you look for a file.

HTH;

Amy


Reply With Quote


  #4 (permalink)  
Old 10-08-2008, 07:24 PM
Steve Howard **Community Expert** - eLearning + Mobile and Devices
 
Posts: n/a
Diggs:
Default Re: Find CD Code


>> Use FileType. If FileType returns zero, the file is not there, so
>> presumably the CD isn't either - thus you can look for the file, then
>> prompt for the CD if FileType = 0

>
> If you don't actually know where the CD ROM drive is, Buddy API has
> functions to let you look for a file.
>


One of AW's default KOs that will do this - and there's simple code in the
help files to do the same.

:-)

Steve


--
http://twitter.com/Stevehoward999

Adobe Community Expert: eLearning, Mobile and Devices
European eLearning Summit - EeLS
Adobe-sponsored eLearning conference.
http://www.elearningsummit.eu

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 08:37 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk