Problems in downlowding exe files

in my site there is a button which have action as follows:
on(release){
import flash.net.FileReference;
var listener:Object = new Object();
listener.onSelect = function(file:FileReference):Void {
trace("onSelect: " + file.name);
listener.onCancel = function(file:FileReference):Void {
trace("onCancel");
listener.onOpen = function(file:FileReference):Void {
trace("onOpen: " + file.name);
listener.onProgress = function(file:FileReference,
bytesLoaded:Number, bytesTotal:Number):Void {
trace("onProgress with bytesLoaded: " + bytesLoaded + "
bytesTotal: " + bytesTotal);
listener.onComplete = function(file:FileReference):Void {
trace("onComplete: " + file.name);
listener.onIOError = function(file:FileReference):Void {
trace("onIOError: " + file.name);
var fileRef:FileReference = new FileReference();
fileRef.addListener(listener);
var url:String = "
http://www.tovale.co.il/udiphone.exe";
if(!fileRef.download(url, "udiphone.exe")) {
trace("dialog box failed to open.");
the "udiphone.exe" loaded includes " loadMovie("target"); "
the target is a jpg picture.
when executing the exe in my computer it loads the jpg which
is included in the same folder, with no problem, however when the
exe is loaded from the site - and saved in a folder which includes
the jpg file - the picture is not loaded.
what is the problem?
Text

It could be a security Sandbox issue. There are links on the
download help page to investigate.
http://livedocs.macromedia.com/flash/8/main/00002210.html

Similar Messages

  • Problem downloading itunes using IE8. Registry problem with iTunesSetup.exe file

    I am trying to install iTunes and have come up against the Registry problem and Windows saying the file needs a signature.  I have tried deleting the browsing history and searching and deleting all copies of the iTunesSetup.exe file.  I have even begun again with QuickTime.  All to no avail.
    I'm using Windows XP.
    Does anyone have any further ideas for this problem please?
    Thank you!!

    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • Webserver Problems when using exe file

    Hey guys I could use some help with a problem I am having.
    I am working with webservers and am trying to stream my program from one computer (server) to another.  I can do this with standalone problems but am having trouble when I try to use an executable.  I have found this article for help:
    http://digital.ni.com/public.nsf/allkb/7F95D43D3F50FCAC8625710E000068E1
    I have included two print screens of the situation.
    1st is my observed stand alone file.
    2nd is my exe file that is showing an error  
    Any help would be greatly appreciated
    Attachments:
    Stand alone Program.png ‏350 KB
    With exe.png ‏87 KB

    Hey dwhamm,
    If the computer that you are trying to use as the server and deploy the executable on does not have the LabVIEW runtime engine that matches the development system, the remote front panel will not operate properly.  Below please find a link on how to build an installer that you should make to include the proper runtime engine:
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_installer/
    There is a note at the bottom of the original tutorial that you referenced on what to be sure to include in the installer. 
    Also, were you able to try changing the URL from http://TargetComputerName/VIname.html to http://TargetComputerIPAddress/VIname.html? 
    Do you have any firewalls on the computer that is being used as the web server?
    Regards,
    Kira T

  • Problem in Running EXE file from Java

    Hello Friends,
    I am calling an EXE program from my JSP page using Runtime.exec() method. The exe file simply reads a file and writes the content into another file (like copying a file). Now if I am providing fully qualified path to both source and destination files, then it runs absolutely fine. However, if i don't mention file path (only fine name is there), it creates output file in System32 folder and the resultant file doesn't contain any data.
    I am providing the source for the EXE file.
    ==============
    Source 1 (with fully qualified path name)
    #include <stdio.h>
    #include <fstream.h>
    #include <iostream.h>
    #include <string.h>
    #include <stdlib.h>
    void write_temp_file1(char *);
    void main()
    char * myTempPath=NULL;
    myTempPath=(char *)calloc(100,sizeof(char));
    strcpy(myTempPath,"D:\\temp\\tempFile.txt");
    write_temp_file1(myTempPath);
    myTempPath=NULL;
    void write_temp_file1(char * fileName)
    // first read the file and write another file with same content
    char * line1=NULL;
    char * line2=NULL;
    char * line3=NULL;
    line1=(char *)calloc(100,sizeof(char));
    line2=(char *)calloc(100,sizeof(char));
    line3=(char *)calloc(100,sizeof(char));
    ifstream inf;
    inf.open(fileName,ios::nocreate);
    inf>>line1;
    inf>>line2;
    inf>>line3;
    inf.close();
    ofstream outf;
    strcat(fileName, "1");
    outf.open(fileName);
    outf<<line1<<endl;
    outf<<line2<<endl;
    outf<<line3<<endl;
    outf.close ();
    ================================
    Scenario 2 (with file name only)
    #include <stdio.h>
    #include <fstream.h>
    #include <iostream.h>
    #include <string.h>
    #include <stdlib.h>
    void write_temp_file1(char *);
    void main()
    char * myTempPath=NULL;
    myTempPath=(char *)calloc(100,sizeof(char));
    strcpy(myTempPath,"my_temp_from_exe.txt");
    write_temp_file1(myTempPath);
    myTempPath=NULL;
    void write_temp_file1(char * fileName)
    // first read the file and write another file with same content
    char * line1=NULL;
    char * line2=NULL;
    char * line3=NULL;
    line1=(char *)calloc(100,sizeof(char));
    line2=(char *)calloc(100,sizeof(char));
    line3=(char *)calloc(100,sizeof(char));
    ifstream inf;
    inf.open(fileName,ios::nocreate);
    inf>>line1;
    inf>>line2;
    inf>>line3;
    inf.close();
    ofstream outf;
    strcat(fileName, "1");
    outf.open(fileName);
    outf<<line1<<endl;
    outf<<line2<<endl;
    outf<<line3<<endl;
    outf.close ();
    ==========================
    Can anyone figure out what could be the problem ? I think there is a problem with Library Path or sort of something like that.
    Please help me.
    -- Niranjan

    providing source code for the EXE program doesn't tell your problem.
    You have to be more specific. What is your problem?

  • Problem in displaying exe file

    For my project, I need to display the text and picture contents stored in the database based on date(daywise). Afterwards I need to display an exe file and this cycle has to repeat. I'm able to display the first portion and the second portion(exe execution) is not being displayed. If I make the second portion as separate file it works but not together. Is it because i'm using Panels and Labels? Pl suggest solution. Here is the code.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    import java.util.*;
    import java.text.*;
    import java.text.DateFormat.*;
    import java.awt.image.BufferedImage;
    import java.io.IOException;
    import java.net.URL;
    import javax.imageio.ImageIO;
    class Testing1
              Font fnt1=new Font("System",Font.BOLD,45);
              Font fnt=new Font("System",Font.BOLD,40);
              Image image,image1,image2,image3;
              JPanel p;
              JFrame f;
              Thread th;
              JWindow w;
              JLabel lbl1,lbl12,lbl13,lbl0,lbl11,lbl2,lbl3,lbl4,lbl5,lbl6,lbl7,lbl8,lbl9,lbl10;
    public void Testing1()
              th=new Thread();
              try
                   Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
         str="jdbc:microsoft:sqlserver://10.11.1.216:1433;SelectMethod=cursor;DatabaseName=IMS;user=ims;password=ims";
              catch(Exception e)
                   e.printStackTrace();
    p= new JPanel(new SpringLayout());
              int numPairs = 7;
              lbl12 = new JLabel("", JLabel.TRAILING);
              lbl13 = new JLabel("", JLabel.CENTER);
              lbl0 = new JLabel("", JLabel.TRAILING);
              lbl11 = new JLabel("", JLabel.CENTER);
              lbl1 = new JLabel("", JLabel.TRAILING);
              lbl2 = new JLabel("", JLabel.CENTER);
              lbl3 = new JLabel("", JLabel.TRAILING);
              lbl4 = new JLabel("", JLabel.CENTER);
              lbl5 = new JLabel("", JLabel.TRAILING);
              lbl6 = new JLabel("", JLabel.CENTER);
              lbl7 = new JLabel("", JLabel.TRAILING);
              lbl8 = new JLabel("", JLabel.CENTER);
              lbl9 = new JLabel("", JLabel.TRAILING);
              lbl10 = new JLabel("", JLabel.CENTER);
              p.add(lbl12);p.add(lbl13);
              p.add(lbl0);p.add(lbl11);
              p.add(lbl1);p.add(lbl2);
              p.add(lbl3);p.add(lbl4);
              p.add(lbl5);p.add(lbl6);
              p.add(lbl7);p.add(lbl8);
              p.add(lbl9);p.add(lbl10);
              lbl12.setFont(fnt);lbl13.setFont(fnt);
              lbl0.setFont(fnt);lbl11.setFont(fnt1);
              lbl1.setFont(fnt);lbl2.setFont(fnt);
              lbl3.setFont(fnt);lbl4.setFont(fnt);
              lbl5.setFont(fnt);lbl6.setFont(fnt);
              lbl7.setFont(fnt);lbl8.setFont(fnt);
              lbl9.setFont(fnt);lbl10.setFont(fnt);
              //Lay out the panel.
    SpringUtilities.makeCompactGrid(p,
    numPairs, 2, //rows, cols
    8, 1, //initX, initY
    12, 12); //xPad, yPad
         p.setBackground(Color.white);
              f = new JFrame();
              f.setSize(400,400);
              f.setLocationRelativeTo(null);
              f.getContentPane().add(p);
              f.getContentPane().setBackground(Color.black);
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         f.setVisible(true);
         w = new JWindow(f);
              f.setSize(0,0);
              w.getContentPane().add(p);
              w.getContentPane().setBackground(Color.black);
              w.setSize(Toolkit.getDefaultToolkit().getScreenSize());
         w.setVisible(true);
    try
              String sql = "SELECT * from TableEvents where date1=? and ((Time1 >= ?) or (? between Time1 and Time2)) and news='N' order by Time1";
              pstmt = conn.prepareStatement(sql);
              pstmt.setDate(1,d2);
              pstmt.setTime(2,T9);
              pstmt.setTime(3,T9);
              rs=pstmt.executeQuery();
              while (rs.next())
                   dt=format1.format(rs.getDate("Date1"));
                   des=rs.getString("Description").trim();
                   pic1=rs.getString("pic1");
                   pic2=rs.getString("pic2");
                   pic3=rs.getString("pic3");
                   pic4=rs.getString("pic4");
                   tm=format.format(rs.getTime("Time1"));
                   tm1=format.format(rs.getTime("Time2"));
                   ven=rs.getString("venue").trim();                                             txt2="http://10.11.1.216:8080/DisplayBoard/Images/Title.jpg";
                   txt3="http://10.11.1.216:8080/DisplayBoard/Images/head.jpg";
                   Swingdisplay(txt2,txt3,dt,tm,des,ven);
                   try
                   th.sleep(3000);
                   catch(InterruptedException e)
    catch(SQLException e)
    public void Swingdisplay(String txt2,String txt3,String dt,String tm,String des,String ven)
    try
         URL url1=new URL(txt2);
         URL url2=new URL(txt3);
         URL url3=new URL("http://10.11.1.216:8080/DisplayBoard/Images/head1.jpg");
         image1=Toolkit.getDefaultToolkit().getImage(url1);
         image2=Toolkit.getDefaultToolkit().getImage(url2);
         image3=Toolkit.getDefaultToolkit().getImage(url3);
         lbl4.setIcon(new ImageIcon(image3));
         lbl2.setText("Date: "+dt);
         lbl4.setText("Time: "+tm);
         lbl6.setText("Venue: "+ven);
         des="<html><center>"+des+"</center></html>";
         lbl8.setText(des);
         lbl11.setIcon(new ImageIcon(image1));
         lbl13.setIcon(new ImageIcon(image2));
    catch(Exception e)
    catch(Exception e)
    //Second portion of executing an exe
    try
    Runtime r=Runtime.getRunTime();
    Process p=null;
    p=r.exec("c:\\TestTools.exe")
    catch(Exception e)
    public static void main(String[] args)
    SwingUtilities.invokeLater(new Runnable(){
    public void run(){
    new Testing().buildGUI();
    }

    How To Use Code Tags (+for the extra dense+)
    [Step One|http://img221.imageshack.us/my.php?image=steponela4.jpg]: Highlight the code in your text editor, and copy it.
    [Step Two|http://img509.imageshack.us/my.php?image=steptwovk5.jpg]: Paste the code into the forum "Message Editor"
    [Step Three|http://img123.imageshack.us/my.php?image=stepthreely8.jpg]: Highlight the code and press the "Code" button (highlighted in red)

  • Problem with executing .exe file

    I am executing a .exe file in sun studio (Web Project) .... but it generate Control Access Exception, File Permission <<ALL FILES>> Denied . But the same command execute with simple java file and in DOS command....
    kindly someone give me help
    Thanks

    You have posted your message on the Sun Java Studio Creator forum. I believe you need to repost your message on a Sun Studio forum. Please see http://developers.sun.com/prodtech/cc/community/index.jsp.

  • Problem in making exe file for java application

    helo,
    i tried to make an windows installer packge for my jar file using advance installer. There is one option for including JRE with this package. i included jre package also.otherwise ,the applicaiton will not work in client side,if java is not installed in his system.
    But the problem is after i make the setup including JRE ,the size of the file become 26mb. So,it took long time to download the application.
    What are the essential jav files we have to include while makes the setup for running the application.I included all the JRE folder itself.
    So the size become heavy. Anybody plz help me solve this
    regards
    jithesh

    Hello, I have the same problem, did you solved it?
    Thanks

  • I can download firefox, but when I try to run it, windows 7 asks me to select a program type to run the *.exe file

    I am running windows 7 with IE 10. I want to switch to Firefox as my browser. I am able to download the Firefox Setup 22 0 exe, but when I try to open or run it, windows prompts me to "choose the program you want to use to open this file". This happens with both the Firefox Setup Stub 22 0 exe (274kb) and the Firefox Setup 22 0 exec (21,239Kb). I can't find any program on Windows to run this exe. Same thing happens when I try to run the troubleshooter exe.

    Hello annsboland
    Do you have also problem with others exe files ?
    try to create a new user account in Windows 7 and check it again
    see if the next articles in the links helps to create the new account:
    http://www.bleepingcomputer.com/tutorials/create-new-user-account-in-windows-vista-7/
    http://www.pcadvisor.co.uk/how-to/windows/3326039/how-add-new-user-account-in-windows-7/
    thank you

  • Blackberry 9300 exe file not recognized

    is there a file d/l i can get so the 9300 can recognize this file?

    Hi did you solve the problem with the "exe" file?

  • Unable to open .exe files in tutorials

    Having a problem opening a .exe file from a tutorial in a year 9 maths book that is meant to be able to be opened from any version of adobe reader. Currently running reader X

    Adobe Reader doesn't open EXE files. If it's an attachment to a PDF file, they've been blocked for security reasons since version 9.3.3

  • How to burn a .exe file to a cd

    Hello. I had a problem burning a .exe file to a cd and looked over te whole internet to find out how to do it but failed.
    1) I had a 700mb cd and when atempted to burn a 50mb folder, an error message said that the folder didn't fit in the cd
    2) I tried to copy the file over Disk utility and nothing
    Please can anyone help me?
    My mac is a Mid 2012, 13'' MacBook Pro

    I've been instructed to download an .exe file of Windows XP Service Pack 3 in order to update a corrupted and restored Windows XP in Parallels on Bootcamp.
    I downloaded to my MacBook and tried putting the .exe file in a folder and burning it to CD but received this message
    "The disc could not be verified and might be unreliable.  Try again using a new blank disc. (Error code 0x80020063)"
    Is there a way to burn just the .exe file alone directly from its location in my Downloads file to the CD?

  • Published .exe file - Captivate 5

    We recently upgraded from Captivate 3to Captivate 5, with Captivate 3 we published all of our projects as .exe files and never experienced a problem.  However, I just created a project in Captivate 5, published it as a .exe file (tried with both Flash Player 9 and Flash Player 10) and users cannot access the file.  Those of us that have the Captivate 5 application installed on our PCs can open the .exe file without a problem.  However, the users that do not have the Captivate 5 application cannot open it.  All of us have Flash Player 10 installed, therefore, I don't believe it's a problem with the Flash Player.  The error message that they are getting states, "This application has failed to start because the application configuration is incorrect.  Reinstalling the application may fix this problem."
    My project information is as follows:
    Resolution:  800x600
    Slides:  13
    Slides with audio:  0
    Audio quality:  MP3, 96 kbps, 44.100 KHz
    eLearning output:  Acrobat.com
    Display score:  Yes
    Enable Accessibility:  Yes
    Skin:  City Night
    Flash(SWF) size and quality:  Custom
    ActionScript Version:  AS3
    I also published it as an .swf file (with html) and they cannot open the .swf (I believe because they don't have a swiff point player), but could open the .html.  However, the .html doesn't work properly with posting quiz results to acrobat.com. 
    Your help is greatly appreciated, at this point, it's preventing us from using Captivate 5 for anything.
    Nikki

    Hi David,
    I don't understand why Adobe Technical support is still working on a solution .... when one has already been developed and WORKED !!! Unless other people are having a slightly different problem with publisheding as .exe file ??
    Here is the details of the bug I reported on 16th August 2010:
    Feature Request/Bug Report : Bug Report
    Product                    : Captivate
    Product Version            : version 5
    Browser                    : Microsoft Internet Explorer
    Web Server                 :
    Application Server         :
    Database                   :
    Operating System           : Windows XP
    OS version                 : 5.1 SP3
    HTTPREFERRER               : https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=5
    Feedback Report            : ******BUG******
    Captivate 5 Projects published as .exe will not run on Learners computers where Captivate 5 has NOT been installed. When they try to run the .exe file the following message is received: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem". Learners computers are running on Windows XP
    Steps to reproduce bug:
    1. Start Captivate 5
    2. Create project from project template. Note project template was created in Captivate 5
    3. Project created contains 5 slides, 4 slides are recording slides
    4. Save project
    5. publish project as Windows .exe  6. .exe files runs on computer with Captivate installed
    7. send file to learner (with no Captivate installed) and when the try to run it, the error message appears
    Results: error message received: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem"
    Expected results: .exe file should run eLearning program created with Captivate 5
    Here is the solution (minus the attached file since I can't add files to this forum) I received on 16th August:
    We really appreciate you reporting this issue. The issue has been addressed and I am attaching the fix with this email.
    Please follow the below steps -
    1. Rename the attached 'FakeFlash.txt' file to 'FakeFlash.Exe'.
    2. Go to "<Adobe Captivate 5 Installation Folder>/ExecutablePublish"
    3. Take a backup of 'FakeFlash.Exe' file.
    4. Replace the 'FakeFlash.Exe' with the one renamed in step 1
    5. Launch Captivate, Open the Project, and publish it to Exe
    Let us know if it solved your problem.
    Thanks
    Ravi
    I suggest Adobe Technical Support talk to their colleague, Ravi, for the solution instead of re-developing it. And post it on the Adobe site so everyone has access to it.
    As much as I enjoy particatpating & helping the Captivate community ... I'm sorry I just can not act as you distributor of bug fixes because Adobe can't get their act straight on this MAJOR problem.
    Best Regards, Carol

  • How to execute ".exe" files using java

    Hi,
      This is guruvulu,
         I have a problem in executing ".exe" files.For Example InternetExplorer.

    Hi,
    You can execute .exe files in JAVA using the following code.
    Runtime rt1 = Runtime.getRuntime();
    Process pc = rt1.exec("someexe.exe");
    you can get the output of the executed exe file in
    in = pc.getInputStream(); //this returns a InputStream
    hope this solves your problem.
    regards,
    P.Venkat

  • I have a problem with running an EXE file on win2000, the Lab View is 5.1 and I do not know if it is 16 bit...

    I have a problem with running an EXE file on win2000, the Lab View is 5.1 and I do not know if it is 16 bit...what should I do?

    Hi Arika,
    The drivers that you need to install to make your executable work depends on what your executable is doing. To get started, you need to have the LabVIEW Run-Time Engine installed on your target machine (the Win2000 machine you are planning to use) in order to run your executable. Next, you need to determine what drivers your executable uses, if any. For example, if you are using GPIB instrument control, you will need to install the NI-488 drivers on your target machine. If you are performing data acquisition, you will need to install NI-DAQ drivers. If you are doing image acquistion, you will need to install NI-IMAQ drivers.
    All these drivers are available for downloading on ni.com. To get the drivers, go to ht
    tp://www.ni.com/support , click on the link that takes you to Drivers and Updates (under Option 3), and click on the links to get to the driver(s) you need. For example, if you need the LabVIEW 5.1.1 Run-Time engine, click on the All Drivers and Updates by Application link on the main page (http://www.ni.com/softlib.nsf/). Then click on the LabVIEW link, Windows 2000, Run Time Engine, and then you will see the link to get to the page to download the LabVIEW 5.1.1 Run-Time Engine.
    I hope this information helps.
    Best Regards,
    Wilbur Shen
    National Instruments

  • Problem running .exe files

    I cannot run .exe files on Windows 10. A pop-up window shows a message that the .exe file I am trying to run is missing. What can I do to solve this problem ?

    Keep in mind that the Win 10 build "refresh" operations are clearing parts of the registry back to default values, so some things you've installed might end up uninstalled or only half installed after an upgrade to a new TP build.
    What EXACTLY is going wrong?  In other words, exactly what are you trying to do, and what is the exact content of the message(s) you're seeing.
    Details matter.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

Maybe you are looking for