Display local directory contents in projector file?

Gidday
I'm making a .exe projector file for local use only.
I'd like to have a winow in my application that permanently displays the contents of a particular directory (preferably in icon or image form).
Is this possible with as3 alone, or do I need an external app, and if so, which one?
Thanks guys
Shaun

Michael Fesser wrote:
> .oO(gareth)
>
>> You can't do this, as it doesn't know to parse the
PHP code in the file if
>> you read it with file_get_contents.
>>
>> The function you need is:
>>
>>
http://uk.php.net/manual/en/function.eval.php
>>
>> you need to run the code from the file through
eval() and it will then be
>> parsed and run as PHP.
>
> Eval() is evil. There's always a better way. In this
case why not simply
> put the code in a function and call it when necessary?
>
> Micha
Thanks. I did indeed take Gareth's advice and put it in an
echo function(s):
switch($ID_Name)
case 'usa':
$Note = $usa;
break;
default:
$Note = $row["$Note"];
break;
It works fine.
www.geobop.org - Family Websites
www.invisible-republic.org - Adult political websites (Mature
adults only)

Similar Messages

  • Slow display of directory contents.

    Anyone else have issues with slow directory content display with Lion? Having the same issue with 3 machines. It is agonizing up to 30 seconds to display the contents of directories. Think this would be a no brainer, but obviously not. This happens when opening files from within programs and simply in the Finder. Two of the machines are MacPro 2x Quad Core machines with 14GB RAM. Wouldn't think either machine would have any problem with doing this simple task.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode.)

  • C40: Display local PC content at no connection with 2nd screen

    The PC is connected to the C40 (TC7.1) as source for presentation. Is there a way to automatically display content of this PC when far end side transfers no content?
    (With other words, screen should display PC content always except far end side transfers content) 

    Hello Juergen -
    It's not possible that I know of to automatically send the presentation source without some user interaction via the remote or touch panel to send it to the far-site.  You can however, configure the presentation input to automatically display on the screen when it's connected to the codec, then all you have to do is, send it to the far-site.
    See the profile-c60-c40-and-codec-c60-c40-administrator-guide-tc72, pg 120.
    Video Input Source [1..3] PresentationSelection

  • Fileupload issue. Unable to get the full local directory path of the file uploaded

    Fileupload Applet Issue with Firefox 15:
    When uploading a file using our application, file that is being uploaded is hashed using a signed Applet.
    This is working fine in IE and FF version lower than FF15.
    Signed applet needs to hash file contents but it is is unable to read the full path of the uploaded file, and thus failing.
    Applet expects the full path of the file that has been uploaded
    Is there any way to get the full file path?

    Is not a new feature and not really a bug, but rather a security change that they have cleaned up code and removed the ability to use UniversalXPConnect that made it possible in older Firefox versions to get enhanced privileges.<br />
    That is no longer possible, so any code that relies on it will fail silently.<br />
    You will now require an extension to run any code that requires enhanced XPCOM permissions.

  • I get the error "Cannot open port" when I want to display the directory content of one FTP servers with LabVIEW's internet toolkit functions. What is the problem? I'm logged on on the server.

    Is anyone experimenting this kind of problems or has resolved it? Thanks. I use LabVIEW 6.1 with Windows 98.

    Squish,
    This forum is for CAN questions. I would strongly urge you to repost your question to the LabVIEW General category and this is a LabVIEW question.
    Also, does the FTP Browser shipping example that comes with the Internet Toolkit work? If it does, then I would suggest studying that example. If it does not, then I would suggest reposting your question and giving much more detail about which VI is giving you the error and a general overview of the program.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Illustrator needs a Relative mode switch or ability to set a Working directory for each AI file!

    Hi guys,
    I thought I would post in here because I find I'm wanting this feature more and more over the past year.
    This can apply to most of Adobes application but it would be great to see some file management functionality built into the applications themselves. This could then be further expanded in Bridge/Cue to incorporate more applications into the working project but at the very least the application itself the ability to control its own root existence.
    On so many occasions I require Illustrators file linking feature to be relative and NOT absolute which it currently is. The only relative capability it has is if ALL the linked assets are in the same local directory as the AI file itself and this as everyone knows breaks the first rule of proper file management.
    Many of the projects I work on uses many AI files with sometimes over 50 linked in assets in a variety of different formats from a variety of different clients (locations). I cannot easily move this project folder around without the painful task of linking all the data again and this creates a massive issue.
    Ideally an approach similar to Autodesks Maya and Max where you can set project directories. This means all the Save As and other operations will default to that working directory for that file. All linked data will then use the projects working directory as its root and allow the project to move from location to location and not be affected.
    This would Im sure benefit many other designers who work on projects with large amounts of data that may not live always in the same spot. For us we work with so many different people during a production that mobility is a must and at the moment we are finding it very difficult.
    As always, thanks for reading.
    Cheers
    Nick.

    Hello,
    First command
    So what does the wiki meen by: "DEVPATH sets the physical device. You can determine this by executing the command
    readlink -f /sys/class/hwmon/hwmon-device/device | sed -e 's/^\/sys\///'"
    Physical device of what, and what output am I suppose to get: Nothing, a list with output on where the symlinks lead, something else... In my case I got no output, if that is right, I do not know - since I do not understand what the command do.
    Seccond comand
    DEVNAME: Sets the name of the device. Try:
    sed -e 's/[[:space:]=]/_/g' /sys/class/hwmon/hwmon-device/device/name
    Does it meen like this - If I during my pwmconfig used hwmon1 wich was coretemp, and hwmon2 wich was nct6775, I should do:
    sed -e 's/[[:space:]=]/_/g' /sys/class/hwmon/hwmon1-device/device/name coretemp
    sed -e 's/[[:space:]=]/_/g' /sys/class/hwmon/hwmon2-device/device/name nct6775
    And that will direct every occurrence of hwmon1 and hwmon2 to the correct sensor chip?
    Regards
    Martin
    Last edited by onslow77 (2015-01-23 21:46:04)

  • How to select variable filename from local directory with fn to load xml

    I would like to select a specific xml file to load from a local directory. The file name is composed of “Title” + “number sequence”.  I know the Title (in this case its XLink07), but I need to select the latest number sequence or the latest by date stamp.
    For example, the local directory has the following files:
    XLink01[36735298100].xml
    XLink02[36735298100].xml
    XLink02[36735298101].xml
    XLink07[36735298100].xml
    XLink07[36735298101].xml
    In this example I need to select file XLink07[XXXXXXXXXXX].xml where XXXXXXXXXXX is the highest number within the XLink07[XXXXXXXXXXX].xml files.  Title is Xlink07 and function should return Number sequence [36735298101]. Files with higher number sequence have later date stamps than files with lower number sequences. I need to select the highest number or the latest date stamp for the file that begins with XLink07….
    My action script to load the local .xml file without any function to select the correct file is:
    Security.allowDomain("*", "*")
    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.load(new URLRequest("XLink07[36735298101].xml"));
    xmlLoader.addEventListener(Event.COMPLETE, showXML);
    function showXML(e:Event):void {
    XML.ignoreWhitespace = true;
    var Innards:XML = new XML(e.target.data);
    tweet_name.text = Innards.XLink01[0].screen_name;
    tweet_1.text = Innards.XLink01[0].text;
    tweet_date.text = Innards.XLink01[0].created_at;
    Thanks for the help if anyone can script that function for me if its possible.

    If you develop for Flash browser plugin (not AIR), there is no way to read directories.

  • Importing directory contents locally?

    Hi
    I'm wondering if someone can point me to any resources that will help me learn how to do the following (I'm using Flash CS5 and Air).
    - import the contents of a particular local dir into variables
    or
    - import the contents of a particular local dir into a datagrid
    then
    allow these filenames to be dragged into cells in another data grid (alternatively, into input text fields), so that the data can then be placed into more variables.
    Thanks for your leads.
    Shaun

    Welcome to the Sun forums.
    >
    I would like to list a directory contents. I got this code from a website:>The web is a big place. Care to narrow that down with an URL to this website?
    >
    Path dir = ...;
    DirectoryStream<Path> stream = null;
    try {
    stream = dir.newDirectoryStream();
    for (Path file: stream) {
    System.out.println(file.getName());
    } catch (IOException x) {
    //IOException can never be thrown by the iteration.
    //In this snippet, it can only be thrown by newDirectoryStream.
    System.err.println(x);
    } finally {
    if (stream != null) stream.close();
    }>When posting code, or code snippets, please use the code formatting tags. To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form.
    >
    When I put it in NetBeans it doesn't find the class Path.
    Where is it defined?>You might try looking further around that 'website' you mentioned. But short of you supplying an URL, how on earth would you expect us to know?

  • Saving spool request with multiple Adobe PDF files to local directory

    Hi,
    I have a spool file with multiple Adobe PDF files in it.  You can only save the spool content to local directory by opening and save each PDF files.  Does anyone know whether there is a way to combine all the PDF files within a spool into one big PDF file?
    Chuin

    Are you using any plugins, like PDFlyer?

  • How to get folder(directory path only not file path) from local file system

    Hi Firends,
    How to get folder(directory path only not file path) from local file system , whenevr i will click on browse button.
    Please give reply for this one , if anybody knows.
    Thanks,
    Anderson.

    Hi Anderson,
    if you're using flash.filesystem.FileReference - then it is run in black box - except of filename, size and creation data (and few other properties available after some operation succeeded). This is part of security features in Flash runtime (described in header section):
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference .html
    This for example implies that user can download a content to local machine - but that content cannot be loaded back into Flash runtime. For this you would need either Air runtime flash.filesystem.File:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml
    (so you would created Air runtime based application: desktop or mobile but not web, even as standalone project) or you would need one of 3rd party tools that add file access/file information features to standard Flash runtime applications converted to standalone native applications.
    hth,
    kind regards,
    Peter

  • CCME 7.1 - Local directory Parse Error[4] after created cnf-files

    Hi,
    When I have created the cnf files under telephony-services, I've got the following issue :
    -> when I try to check to complete local directory (press the submit button without filing any fields) the IP phone display Parse error [4]:
    Workarround:
    -> after a "no create cnf-files" and "create cnf-files" under telephony-services the problem is solved !
    If that can help you.
    Olivier

    Hi,
    Thanks, but I'm already in 12.4(24)T
    Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(24)T, RELEASE SOFTWARE (fc1)
    The workaround continue to work for the moment ;)
    thanks
    Olivier

  • How to display the content from a file  stored in database

    when i am trying to display the content from a file which stored in database on oracle report 10g
    data are displaying as following. please help me to display the data in readable format
    <HTML LANG="en-US" DIR="LTR">
    <!-- Generated: 1/11/2006, postxslt.pl [1012] v1
    Source: amsug304286.xml
    File: amsug304286.htm
    Context: nil
    Tiers: ALWAYS
    Pretrans: YES
    Label: Release 12 -->
    <HEAD>
    <!-- $Header: amsug304286.htm 120.4 2006/11/01 20:57:29 appldev noship $ -->
    <!--BOLOC ug1_OMPO1010302_TTL--><TITLE>Product Overview (ORACLE MARKETING)</TITLE><!--EOLOC ug1_OMPO1010302_TTL-->
    <LINK REL="stylesheet" HREF="../fnd/iHelp.css">
    </HEAD>
    <BODY BGCOLOR="#F8F8F8">
    <A NAME="T304286"></A><A NAME="ProdOve"></A>
    <CENTER><H2><!--BOLOC ug1_OMPO1010302--><B>Product Overview</B><!--EOLOC ug1_OMPO1010302--></H2></CENTER>
    <p><!--BOLOC ug1_OMPO1010304-->Oracle Marketing drives profit, not just responses, by intelligently marketing to the total customer/prospect base. By leveraging a single repository of customer information, you can better target and personalize your campaigns, and refine them in real time with powerful analytical tools.<!--EOLOC ug1_OMPO1010304--></p>
    <p><!--BOLOC ug1_OMPO1006611-->With tools necessary to automate the planning, budgeting, execution, and tracking of your marketing initiatives, Oracle Marketing provides you with:<!--EOLOC ug1_OMPO1006611--></p>
    <ul>
    <li>
    <p><!--BOLOC ug1_OMPO1006612--><B>Customer Insight</B> - With sophisticated customer management and list generation, Oracle Marketing enables you to quickly generate target lists and segments using an intuitive user interface. The easy to use Natural Query Language Builder (NLQB) lets you query for customers or prospects using a natural language while hiding data complexity; fatigue management ensures that you do not over-contact the same customers with marketing messages; and predictive analytics helps you predict customer behavior that you can leverage to produce significant increases in marketing return on investments (ROI).<!--EOLOC ug1_OMPO1006612--></p>
    </li>
    <li>
    ls.<!--EOLOC ug1_OMPO1010304--></p>
    <p><!--BOLOC ug1_OMPO1006611-->With tools necessary to automate the planning, budgeting, execution, and tracking of your marketing initiatives, Oracle Marketing provides you with:<!--EOLOC ug1_OMPO1006611--></p>
    <ul>
    <li>
    <p><!--BOLOC ug1_OMPO1006612--><B>Customer Insight</B> - With sophisticated customer management and list generation, Oracle Marketing enables you to quickly generate target lists and segments using an intuitive user interface. The easy to use Natural Query Language Builder (NLQB) lets you query for customers or prospects using a natural language while hiding data complexity; fatigue management ensures that you do not over-contact the same customers with marketing messages; and predictive analytics helps you predict customer behavior that you can leverage to produce significant increases in marketing return on investments (ROI).<!--EOLOC ug1_OMPO1006612--></p>
    </li>
    <li>
    <p><!--BOLOC ug1_OMPO1006613--><B>Sales Alignment</B> - Oracle Marketing's leads management helps you compile and distribute viable leads so that sales professionals can follow up valuable opportunities and not just contact interactions. Additionally, support for distributing proposals and marketing material drive speedy and consistent setups and collaboration of best practices.<!--EOLOC ug1_OMPO1006613--></p>
    </li>
    <li>
    <p><!--BOLOC ug1_OMPO1006614--><B>Marketing Insight</B> - While Oracle Marketing Home page reports and Daily Business Intelligence (DBI) for Marketing and Sales provide aggregated management level information in almost real time, operational metrics help in tracking the effectiveness of individual marketing activities.<!--EOLOC ug1_OMPO1006614--></p>
    </li></ul>
    </BODY>
    </HTML>
    <!-- Q6z5Ntkiuhw&JhsLdhtX.cg&Zp4q0b3A9f.&RQwJ4twK3pA (signum appsdocopis 1162406236 2673 Wed Nov 1 10:37:16 2006) -->

    Hi,
    you can try to use the:
    <b>ConsumerTreeListPreview</b>
    layout for KM navigation ivew (or customize to your own).
    This layout shows a folder tree on the left, a document list on the right. When you click on a document from the list it shows the contents of the file on the bottom of the iview.
    Hope this helps,
    Romano

  • ITunes library has lost the past year's worth of content, but the files are still in the directory

    Help! How do I restore the past 11.5 months' worth of content to my iTunes library?
    Well this is weird. Suddenly my iTunes library has lost everything added since late January 2014 - almost a year's worth of content. Podcasts, audiobooks, iTunes purchases, MP3s bought elsewhere and imported, movies, TV shows - all gone. Apps added in the past year also seem to be gone, although apps acquired before then have the most current update. As far as I can tell, all of that content is in the file directory structure - it's just not in the iTunes library system.
    Curiously, the "last played" data all seems current, except that many of the more recently played songs have gone missing; tracks that were modified in the past year, but were added in 2013 or before, are still listed as being modified in 2014. Anything changed in the past year remains changed; but anything added in the past year simply isn't there.
    I have no idea what caused this. Earlier today iTunes crashed for random reasons, but that happens every week or two anyway; and for that matter this issue could have developed a couple of days ago, and I just didn't notice it. (I'm sure it can't be older than that - I would have noticed.)
    I've got good Time Machine backups, but I'm not sure how to go about restoring this - I suspect that this help page tells me the steps I need to take, but I'd like to have some confirmation before going through those steps. (And that procedure doesn't involve Time Machine anyway, right?)
    Theoretically I suppose I could also go through my directory and add the files to iTunes, one by one, but it would be extraordinarily complicated to figure out what needed to be added. I'd also like to get back all the metadata - played, unplayed, play count, last played, and so on.
    Restoring the files from Time Machine doesn't seem to make sense to me, because the files aren't actually missing. Would restoring an iTunes Library.itl file help at all?
    Thanks in advance!

    Hm ... I guess I can't edit the post above. Anyway, I seem to have solved it by ...
    Quitting iTunes.
    Going into Home / Music / iTunes, and renaming the file "iTunes Library.itl" to "iTunes Library (corrupt).itl".
    Entering Time Machine, and restoring the "iTunes Library.itl" file from a few days ago. I went back two days, which seemed far enough back to be "before" the problem but not far enough back to have trouble with recent acquisitions.
    Re-opening iTunes - and everything seemed to be back in order.
    So that's fine for now. We'll see if the solution is stable.
    Very, very tentative assignment of blame: I believe iTunes crashed earlier today after I'd synced photos from my iPhone to iPhoto, and then iTunes crashed while iPhoto was closing (and taking its sweet time doing so). If that was indeed the case, that's at least the second time in the past couple of months that trying to sync iPhone photos to iPhoto has caused me significant problems. (The last time led to 80% of my iPhone suddenly being occupied by "Other", and a full restore of the darn thing.)

  • How to read the contents of a file present in local file system

    Hi ABAP Experts,
       I want to read the file contents of a file in the local system. I want to read it stream based i.e if the file is if 100kb in size, i want to read the first 100bytes at one time, next 50 kb after, and remaining some other time. Is this possible. I know that with GUI_UPLOAD i can get the total contents into a xstring.
    But how to resolve the following i am not sure. Can you please help.
    Thanks & Regards,
    Vinay.

    Hi,
    transfer file to your application server and use:
    open dataset file ... AT POSITION p .
    regards Andreas

  • How to display the content of a file in the portal?

    Hey guys, could anyone help?
    I just created a page which includes two iView, one is KM Navigation iView to display a certain repository, while the other is for displaying the content of a certain file I click in the navigation iView.
    And now the problem is when I click a file in the KM Navigation iView, it will pop up a new window to display it. How can I make it displayed in a fixed iView, which type of this iView should be?

    Hi,
    you can try to use the:
    <b>ConsumerTreeListPreview</b>
    layout for KM navigation ivew (or customize to your own).
    This layout shows a folder tree on the left, a document list on the right. When you click on a document from the list it shows the contents of the file on the bottom of the iview.
    Hope this helps,
    Romano

Maybe you are looking for

  • Efi update 2.5 does not apply

    I cannot apply the MacBook Pro EFI update 2.5, and now the SMC update. The updater tells me they are available, but after restarting, I see they have not been applied, and the updater agrees, and tells me they are still available. When the computer r

  • Is there any way to export all of my parameters to a text file at once?

    I need my parameter for another report and i don't wan tot create same parameter again, i can export and import the parameters one by one but there are many parameter and i don't want to do this procedure for each of my parameter separately! My quest

  • Why here is so difficult to buy a iPhone 4s in Hong Kong?

    Why here is so difficult to buy a iPhone 4s in Hong Kong?

  • Lockbox  processing

    Hi, Bank has missed putting the check amount total in payment advice. Not sure how to process check. Can anyone help me thanks

  • Please Help me in JTable Updating   - URGENT

    Hai all am corrently working on a project which am using swing of 1.4 here in one screen when user enteres data in JTable and clicks submit button i must read the whole Table model of the table and i will insert it to DB. in this am gettting problem.