SubVI not closing properly

Hi,
I'm new to Labview so please bear with me. I'm calling a subvi in my main vi and when I close it using the "X" button the main vi freezes. However, if I hault the exceution of the subvi using the red button (which I know shouldnt be done for standard practice), the main vi completes execution. I'm definitely doing something wrong, I just can't seem to figure it out. I've attached the vi's. Any ideas?
Attachments:
main.vi ‏41 KB
24xx Swp-I Meas-V gpib.llb ‏422 KB

Your problem is that the subVI is still actually running.  What needs to happen is your event structure in the 2400 swI Linear Stain MeasV - LED.vi needs to handle the <This VI>anel Close event.  You can just add that event to the event case handling the Quit button's value change event.  This way, when you close the panel, the code knows to run the cleanup and finish the state machine.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Outlook 2013 are not opening and showing pst files are not closed properly

    Hi
    Outlook 2007 has stopped working and showing close the program. Again,we re-started then outlook 2007 and it has opened and taken the backup of pst files in a separate hard drive.
    The pst file was repaired in scanpst.exe and again i have tried to put the pst file back in outlook 2007.It was hanging and suddenly i have uninstalled 2007 and started installing outlook 2013.
    2013 applications like word,excel,power point are opening and outlook 2013 are not able to open and showing pst files were not closed properly.
    Again i have un-installed and re-installed the outlook 2013.still we are not able to open the outlook.
    Need your support at the earliest to fix the issue.
    Thanks

    Hi,
    What's the .pst file used for? Archive? Or you set up a POP3 account and want to import the emails from the .pst file?
    Another question, you mentioned you installed Outlook 2013 and it didn't open either. Was this from the beginning right after you installed Outlook 2013, or after you did something such as create a new Profile, set up a new account and tried to import the
    .pst file?
    Kindly answer my questions so I can understand the situation better.
    I've seen some of this issue caused by the anti-malware software, check your anti-malware software to see if it's trying to interfere with Outlook - things like real time email checking can sometimes cause these kinds of problems. To troubleshoot, we can
    simply disable the anti-malware software temporarily to see the result.
    Regards,
    Melon Chen
    TechNet Community Support

  • Upon opening Outlook 2003 get message "Not closed properly. File is being checked for erros."

    When opening Outlook 2003 get an error message stating that is was not closed propertly and that the file is being checked. It can sometimes take up to 5-10
    minutes for outlook to open. How can I stop this?

    You need to figure out why Outlook is not closing property. The usual culprits are addins that access Outlook data. 
    Are you closing outlook before shutting down windows? If you let windows shut it down, you can corrupt the pst. 
    Does it work better in Safe mode? To open Outlook in Safe mode: Close Outlook then hold Ctrl as you click on the Outlook icon. You'll get a message asking if you want to start in Safe mode. Click Ok. 
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Logical error with Sockets, not closing properly

    Hi again everybody, I am still in need of help it seems. I have been working on a way to transfer files from computer a to computer b but I cannot get the Sockets/Streams to work properly!
    The problem I keep getting is "IOException: java.net.SocketException: Software caused connection abort: socket write error"
    According to some threads in this forum its either because of a firewall blocking or because of an error such as the client trying to write to a stream that is closed in the other end ( or something like that, I cannot remember 100%).
    The thing is: I am only getting this the second time I try to send the file, the first time it works just fine.
    I can solve the problem by restarting the server (resetting the socket) after every time I send the file but that is not a solution, but merely a confirmation that I indeed have a bug.
    Can you please have a look at my code and point out where I missed something? I have been staring blindly at the code on and off for over a day now.
    CLIENT:
    import java.io.*;
    import java.net.*;
    * This is the FileSender class
    * Final version will take a File and Socket pointer
    * and send the file over the socket using the according handshake-protocol.
    * Current version opens it's own socket and can only send one File.
    * parameters:
    *  // File myFile, Socket mySocket <-- Final version goal
    *  String[] args  ()
    * @author Glader
    *     @version 1.2
    public class FileSender {
         private static Socket clientSocket = null;
    //     private static DataOutputStream output; <-- ver 1.0
         private static ObjectOutputStream output = null;
         private static FileInputStream file;
         private static BufferedReader input = null;
         private static final boolean DEBUG = true;
          * @param args
         public static void main(String[] args) {  // NOTE: REBUILD BEFORE FINAL!!!
              if(args.length != 1){
    //               throw new IllegalArgumentException("Error in FileSender: recieved " + args.length + " arguments, expected 2.");
                   System.err.println("Usage: Provide the method with ONE valid filepath/filename");
              else{
                   try{
                        if(DEBUG){ // <--- DEBUG BLOCK
                             if(input != null)
                                  System.out.println("input was not null at beginning of runtime!");
                             if(output != null)
                                  System.out.println("output was not null at beginning of runtime!");
                             if(clientSocket != null)
                                  System.out.println("clientSocket was not null at beginning of runtime!");
                   file = new FileInputStream(args[0]);
                   if(DEBUG){ // <---- DEBUG BLOCK
                        System.out.println("The following argument was entered: " + args[0]);
                             File myFile = new File(args[0]);
                             String sizeString = "";
                             long fileLength = myFile.length();
                             if(fileLength == 0){ // The file does not exist
                                  sizeString = "File does not exist";
                             }else if((fileLength / 1048576) != 0){ // The file is larger than 1Mb
                                  sizeString = "Filesize: " + (fileLength / 1048576) + " Mb";
                             }else if((fileLength / 1024) != 0){ // The file is larger than 1Kb
                                  sizeString = "Filesize: " + (fileLength / 1024) + " Kb";
                             }else{ // The file is larger than 1b
                                  sizeString = "Filesize: " + fileLength + " b";
                             System.out.println(sizeString);
                   send(file);
                   try{
                   input.close();
                   output.close();
                   clientSocket.close();
                   file.close();
                   }catch(IOException e){
                   catch(FileNotFoundException ex){
                        System.err.println("Error: No file was found at " + args[0] + " Double-check and try again.");
                   }finally{
                        try{
                        file.close();
                        }catch(IOException e){
                             //Nothing we can do
               * Send method
              private static void send(FileInputStream inFile){
              try{
                   clientSocket = new Socket("192.168.0.167", 2345);  //open a socket
                   input = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); // read what the server is saying
                   output = new ObjectOutputStream(clientSocket.getOutputStream());
                   if(DEBUG){  // <----- DEBUG BLOCK
                        String debugString = "";
                        if(input == null)
                             debugString += "input is null";
                        if(debugString.length() != 0)
                             debugString += ", ";
                        if(output == null)
                             debugString += "output is null";
                        if(debugString.length() == 0)
                             debugString += "input & output are OK";
                        System.out.println("status at start of 'send'-method: " + debugString);
                   if(clientSocket != null && inFile != null){
                        try{
                             long currentTime = System.currentTimeMillis();
                             boolean finished = false;
                             int flushTicker = 0;
                             int packetTicker = 0;
                             if(DEBUG){ // <--- DEBUG BLOCK
                                  System.out.println("packet-counter at " + packetTicker + " before sending data");
                             while(!finished){
                                  byte[] buffer = new byte[1024];
                                       if(flushTicker % 100 == 0) // clear cache, prevents OutOfMemory error
                                            output.reset();
                                       flushTicker++;
                                       packetTicker++;
                                       int bytesRead = inFile.read(buffer);
                                       if(bytesRead == -1){
                                            output.writeObject(new Packet(null, "finished", false, bytesRead));
                                            finished = true;
                                            output.flush();
                                       output.writeObject(new Packet(buffer, "", true, bytesRead));
                                       output.flush();
                             if(DEBUG) // <--- DEBUG BLOCK
                                  System.out.println("Number of packets sent: " + packetTicker);
                                  if(DEBUG){ // <---- DEBUG BLOCK
                                       // System.out.println("buffer contains: " + buffer.length + " bytes");
                                  long time = 0;
                                       if(DEBUG){
                                            time = ((System.currentTimeMillis() - currentTime)/1000);
                                       if(time == 0){// The operation took a very short time, cannot measure in seconds
                                            System.out.println("The operation took ~" + (System.currentTimeMillis() - currentTime) + " ms");
                                       }else{
                                       System.out.println( "The operation took " + time + " Seconds");
                             catch(UnknownHostException e){
                                  System.err.println("Trying to connect to unknown host: " + e);
                             catch(IOException e){
                                  System.err.println("IOException: " + e);
                   else{ // SOCKET OR FILE WERE NULL!
                        String result = "";
                        if(clientSocket == null){
                             result += "socket";
                        }else if(output == null){
                             result += "output";
                        }else if(input == null){
                             result += "input";
                        System.out.println("Error occured, " + result + " was null.");
              catch(UnknownHostException e){
                   System.err.println("Couldn't find the host");
                   try{
                   clientSocket.close();
                   }catch(IOException io){
                        //Nothing left to do
              catch(IOException e){
                   System.err.println("Couldn't get I/O from the connection");
              finally{
                   try{
                        if(clientSocket != null)
                             clientSocket.close();
                   }catch(IOException e){
                        //Nothing we can do
    }SERVER:
    import java.io.*;
    import java.net.ServerSocket;
    import java.net.Socket;
    * This is the main class for listening to incoming connections
    * It listens to an incoming ObjectInputStream and is able to
    * follow user-specified commands to execute various methods.
    * @author Glader
    * @version 1.1
    public class FileListener {
         static Socket incoming = null; // Socket connection with the client
         static ServerSocket ss = null;
         static ObjectInputStream is; // Data recieved from the connection
         static OutputStream out = null; // talk back to the client
         static FileOutputStream fout;
         static String response;
         private static final boolean DEBUG = true;
          * @param args
         public static void main(String[] args) {
              int port = 2345;
              boolean finished = false;
              while(true){
                   try{ // Establish server socket
                        ss = new ServerSocket(port);
                        }catch(IOException e){
              try{ // Wait for a client to connect
                   incoming = ss.accept();
                   if(DEBUG){ // <--- DEBUG BLOCK
                        if(ss != null)
                             System.out.println("ObjectInputStream initialized");
                   try{ // Read Objects from the incoming Stream
                   is = new ObjectInputStream(incoming.getInputStream());
                   fout = new FileOutputStream(new File("min fil.avi"));
                   int packetTicker = 0;
                   while(!finished){ // read until there are no more packets incoming
                   Packet currentPacket = (Packet) is.readObject();
                   packetTicker++;               
                   String command = currentPacket.getCommand();
                   if(command.length() != 0){ // The client is telling us something
                        // Insert a checking loop for all possible commands from the client here
                        if(command.equals("initiating")){
                             OutputStream out = incoming.getOutputStream();
                             out.write(10); // 10 signals that the client is cleared to send.
                        if(command.equals("finished")){
                             finished = true;
                             if(DEBUG){ // <--- DEBUG BLOCK
                             System.out.println("Connection terminated, client said \"" + command + "\"");
                             System.out.println("Total amount of packets recieved: " + packetTicker);
                   if(currentPacket.containsFileData()){
                        if(currentPacket.amountOfData() == -1)
                             finished = true;
                        if(currentPacket.amountOfData() != 1024){ // Special handling for not entirely full packets
                                  fout.write(currentPacket.getFileData(), 0, currentPacket.amountOfData());
                        }else{
                        fout.write(currentPacket.getFileData());
                   fout.close();
                   is.close();
                   incoming.close();
                   catch(ClassNotFoundException ex){
                        System.err.println("Error when reading Packet: " + ex);
                   finally{
                        if(fout != null){
                             fout.close();
                        }if(is != null){
                             is.close();
                        }if(incoming != null){
                             incoming.close();
                        }if(out != null)
                             out.close();
              catch (IOException ex){
                   System.err.println("Error getting inputStream");
         

    Follow-up question, need more information to solve the problem:
    My server now uses a ObjectOutputStream to send packets to the client, which successfully reads them BUT:
    the problem still remains! I am still getting a "SocketException socket write error" the second time I use the sender!
    Right now this is what the send-method in FileSender looks like.
    (Look at "// Connection Loop" for the biggest change.)
    What am I doing wrong here?
              private static void send(FileInputStream inFile){
                   if(DEBUG) // <--- DEBUG BLOCK
                        System.out.println("Flag reached: Beginning of \"send\"");
              try{
                   clientSocket = new Socket("192.168.0.167", 2345);  //open a socket
                   output = new ObjectOutputStream(clientSocket.getOutputStream()); // Outgoing Packets to the server
                   if(DEBUG){  // <----- DEBUG BLOCK
                        String debugString = "";
                        if(input == null)
                             debugString += "input is null";  // Expected with current code
                        if(debugString.length() != 0)
                             debugString += ", ";
                        if(output == null)
                             debugString += "output is null";
                        if(debugString.length() == 0)
                             debugString += "input & output are OK";
                        System.out.println("status at start of 'send'-method: " + debugString);
                   if(clientSocket != null && inFile != null){
                        try{
                             long currentTime = System.currentTimeMillis();
                             boolean finished = false;
                             boolean accepted = false;
                             int flushTicker = 0;
                             int packetTicker = 0;
                             // Connection loop with 500ms timeout
                             input = new ObjectInputStream(clientSocket.getInputStream()); // Incoming Packets from the server
                             while((System.currentTimeMillis() - currentTime) <= 500){ // try connecting for 500ms
                                  output.writeObject(new Packet(null, "initiating", false, 0)); // send the first request Packet
                                  try{
                                  Packet currentPacket = (Packet) input.readObject();
                                  String command = currentPacket.getCommand();
                                  if(DEBUG) // <--- DEBUG BLOCK
                                       System.out.println("Command sent from Server: " + command);
                                  if(command.equals("ready")){
                                       accepted = true;
                                  if(accepted){
                             while(!finished){
                                  byte[] buffer = new byte[1024];
                                       if(flushTicker % 100 == 0) // clear cache, prevents OutOfMemory error
                                            output.reset();
                                       flushTicker++;
                                       packetTicker++;
                                       int bytesRead = inFile.read(buffer);
                                       if(bytesRead == -1){
                                            output.writeObject(new Packet(null, "finished", false, bytesRead));
                                            finished = true;
                                            output.flush();
                                       output.writeObject(new Packet(buffer, "", true, bytesRead));
                                       output.flush();
                             catch(ClassNotFoundException e){
                                  System.err.println("ClassNotFoundException: " + e);
                                  while(bytesRead != -1){
                                  if(DEBUG) // <--- DEBUG BLOCK
                                       System.out.println("bytesRead: " + bytesRead);
                                  else{
                                  output.writeObject(new Packet(buffer, "", true));
                                  flushTicker++;
                                  if(bytesRead == -1){ // no more bytes to be read from the file
                                  long time = 0;
                                       if(DEBUG){
                                            System.out.println("Number of packets sent: " + packetTicker);
                                            time = ((System.currentTimeMillis() - currentTime)/1000);
                                       if(time == 0){// The operation took a very short time, cannot measure in seconds
                                            System.out.println("The operation took ~" + (System.currentTimeMillis() - currentTime) + " ms");
                                       }else{
                                       System.out.println( "The operation took " + time + " Seconds");
                             catch(UnknownHostException e){
                                  System.err.println("Trying to connect to unknown host: " + e);
                             catch(IOException e){
                                  System.err.println("IOException: " + e);
                   else{ // SOCKET OR FILE WERE NULL!
                        String result = "";
                        if(clientSocket == null){
                             result += "socket";
                        }else if(output == null){
                             result += "output";
                        }else if(input == null){
                             result += "input";
                        System.out.println("Error occured, " + result + " was null.");
              catch(UnknownHostException e){
                   System.err.println("Couldn't find the host");
                   try{
                   clientSocket.close();
                   }catch(IOException io){
                        //Nothing left to do
              catch(IOException e){
                   System.err.println("Couldn't get I/O from the connection");
              finally{
                   try{
                        if(clientSocket != null)
                             clientSocket.close();
                   }catch(IOException e){
                        //Nothing we can do
              }

  • Environment is not closed properly

    Hi,
    i am using Berkeley DB XML version 2.4.16. OS is windows 7 64bit/Windows server 2008 64bit. i have compiled the Berkeley DB XML code using Visual Studio 2008. Berkeley DB XML is called from ASP.NET application that is running under WOW64(i.e. in 32bit)
    My Scenario is as follows.
    DBEvn is opened using following flags
    DB_INIT_MPOOL | DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_TXN | DB_RECOVER | DB_THREAD | DB_REGISTER
    XmlManager is using the following flags
    DBXML_ALLOW_AUTO_OPEN | DBXML_ALLOW_EXTERNAL_ACCESS
    Containers are created using following flags
    DB_CREATE | DBXML_ALLOW_VALIDATION | DBXML_NO_INDEX_NODES | DBXML_TRANSACTIONAL | DB_THREAD | DB_EXCL
    Containers are opend using following flags.
    DB_CREATE | DBXML_ALLOW_VALIDATION | DBXML_NO_INDEX_NODES | DBXML_TRANSACTIONAL | DB_THREAD
    All containers are Whole document containers. if a container does not exists it is created and its pointer is used, and if it exists it is opend and its pointer is used. During the lifetime of my ASP.NET application, many containers will be created and destroyed in a Berkeley DB database and queries will be executed against them. There are cases when a query is executed against a container that is never used before but was created a while ago, or is just created and query is executed against it, which will not return any data in both cases, once this happens a call to DBEnv::Close always fails with the exception "DbEnv::Close Invalid Argument", after debugging Berkeley DB XML code the issue i have found is that if a container is empty or non existent then while opening it, the reference count of DBEnv gets incremented by up to approximately 14 and does not gets decremented after closing the container. the actual issue lies in the initalization of internal SyntaxDatabase classes where it is assumed that these should exist so the DB_CREATE | DB_EXCL are removed from the flags parameter, and actually they(indexes) do not exist, which results in a exception being thrown and handled afterwards, after which the internal reference count member of the DBEnv is out of sync.
    In my implementation DBEnv handles for databases are closed on ASP.NET application End or on demand but since the parent ASP.NETwin32 process may not exit, and the next call to open a Database may come in the same win32 process which tries to perform recovery but fails and does not open the environment. i have specified the DB_RECOVER and DB_REGISTER flags but i think that win32 process is same that is why it does not succesfully recover and the application is unable to open that database again.
    Sincerely
    Bilal Aslam

    Please repost in the Photoshop Elements forum: http://forums.adobe.com/community/photoshop_elements

  • Open excel sheet by sheet name .... subvi not closing

    Hi all,
    I am experimenting with excel and labview and I want to open an excel sheet by its name.  I have created a project with a main vi where I hit a button to start the process.
    When this button gets hit an event handler opens my subvi that actually asks for a file, then scans all the sheet names and then in this subvi I have another subvi that pops up and gets this sheet names.  When I hit OK this one should close and the first subvi should continue.  This all works fine and I am able to read the preferred sheet name but the subvi that asks for sheet name to read does not close.  When I run this subvi by itself then it closes when I hit ok.
    I have added the whole project here so if anybody could have a look at it and tell me what I am doing wrong I would appreciate it.
    Thanks
    Lieven
    Solved!
    Go to Solution.
    Attachments:
    EXCELPROFILE.vi ‏48 KB
    Choose Excel Sheet.vi ‏30 KB
    Main VI.vi ‏20 KB

    Ok .... I've found the problem thanks to another post on the forum.  I changed the window appearance to dialog which solved the problem.
    Lieven

  • I am having trouble with Firefox not closing properly. I close a session and when I try to open firefox again it tells me firefox is already running and not responding.

    When I close Firefox and try to open the browser next time it tells me Firefox is already running and not responding.

    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    See "Firefox hangs when you quit it":
    *https://support.mozilla.com/kb/Firefox+hangs

  • I log out properly but when i log back in a message appears basically saying it cant open my page due another one being not closed properly before. WHY?

    I log out correctly every time making sure all windows are closed but every time i log back in a window appears saying "well this is embarrassing, we are having trouble opening your page (or something close to that, i cant remember the exact words) then at the bottom it says"this is usually due to a window being open (or close to that) then it asks me if i want to close or restore the session and it has a list of the last 2 pages i opened.
    But i ALWAYS close them before logging out. Why does it keep doing this? Do we have a clever hacker or something?

    hello lexi, this is currently a problem in firefox when you first close all open firefox windows and then close the application afterwards - the bug should be addressed in a later version of firefox.
    as a workaround in the meanwhile you could close firefox (through firefox > quit) while the browser window is still running or try this: enter about:config into the firefox location bar (confirm the info message in case it shows up) & search for the preference named '''browser.sessionstore.resume_from_crash'''. double-click it and change its value to '''false'''.

  • PowerBook 17" G4 Lid not closing properly

    Hello,
    my PowerBook G4 17" lid doesn't properly close any more. The two little hooks are ok and they get pulled down by the magnet as always but it seems like that the lid with the display is too strongly pulling upwards so that the hooks snap back out.
    Can anybody help me if I can fix this myself? Any trick?
    I'd appreciate any tips
    cu

    On my PowerBook 17" (1Ghz) I can see the latch mechanism from the battery bay if I take out the battery. Looks like this would let you inspect for any dust or debris that can restrict the full range of motion the locking block needs. The typical cause of locking problems is that something gets between the front of the locking block and the inner surface of the case that acts as a forward stop.
    In my MacBook Pro, this access is blocked. I don't know if the blocking panel is fitted to PBG4s newer than mine, but it's worth a try.

  • TestStatnd operatore Interface does not close properly

    Hi
    I am using LabVIEW 8.2 and TestStand 3.5. I use the default Operatore Interface (full featured) provided by NI. The TestExec.exe does not close properly when I exit the application. Everytime the process is running in windows. I had to use Windows Task Manager to kill the TestExec.exe manaully.
    Is there a fix for this?
    Thx
    Abdulla

    Hi,
    Do you start any new executions either from within your sequences or from within a step that you are not closing properly?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Subvi does not work properly when called inside a vi

    Hello Every body
    thanks for your help. i am using a sub vi for sine signal generation. as a vi it works fine. but when i called this subvi inside another VI it gives some problems. for example timer indicator works properly.it reinitializes as well in the sub vi, but in the main VI it does not work properly. means does not count the time.in the sub vi on the fly i can change the values of frequency and amplitude in real time, but when i use as sub vi, it does not reponse as i change the values in the control arrays.similarly pause and continue works properly in the sub vi, but once again in the main VI, it does not work properly.graph indicator also work properly in the sub vi. but here once again it does not work properly in the main VI.the pause resume indicator also does not blink, when it is continue. in the subvi it blinks very well.generally why the sub vi does not work properly inside the VI?i am sending my VI and sub vis.
    any tips would be highly appreciated.
    thanks
    Regards
    Attachments:
    vi.zip ‏87 KB

    I just want to add some more details to Dan's answer. The subVI is acting exactly like you've coded it. The mistake is in understanding how subVIs work. When you call a subVI (or a function in any other language), you pass some parameters to it, the subVI does it's thing and returns values. the subVI does not accept new parameters from the calling VI until it returns to the caller and the caller runs the subVI again. In your case, you have a subVI with a while loop. You have some front panel control wired to the subVI's stop terminal. When first called, the value is false. So the subVI will keep running until the subVI's stop button becomes true but you cannot change it from main until the subVI finishes and returns so the subVI will never stop. As Dan says, the solution is pass references of front panel controls to the subVI and have the subVI monitor those references for changes and to update references to indicators on Main. You subVI does not need any front panel controls or indicators of it's own.

  • Flash player does not work properly on Windows 7 32 bits

    Hello,
    My flash player does not work properly on Windows 7 32 bits with Firfox and IE8 (lasts versions).
    My Flash player version : 10.0.45.2, but I tried with version 9 too, with same problems.
    I have tried to uninstall, reboot, reinstall several times, ... witch did not worked.
    In fact, it works correctly on some sites, like youtube, but not on some others like :
    http://www.dailymotion.com/ => black screen instead of videos, right click gives flash context menu
    http://www.canalplus.fr/ => videos does not load, right click gives flash context menu
    http://www.myspace.com/ => no audio player, right click gives flash context menu
    some games in http://www.kongregate.com/ => black screen instead of games, right click gives flash context menu
    I have no problem with shockwave in http://www.adobe.com/shockwave/welcome/
    No problem too with flash player on http://www.adobe.com/software/flash/about/
    But in the Global Privacy Settings panel (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.htm l), I cannot change any settings :
    I cannot check boxes,
    My changes are not saved.
    In most of flash animations, videos, ...,
    when I click on parameters, I cannot do anything, even closing.
    when I am in full screen mode, the message "press escape to exit...." does not disappear.
    Last thing, all those problems was not there when I was on Windows XP, few weeks ago, and appear with my registered Windows 7 premium familly edition, with the same hardware configuration...
    Thank you for your help

    Hi eidnolb
    Thanks for your answer.
    This is what I have :
    Verify user permissions
    I have an administrator account.
    I tried (uninstall, install and run) with super-administrator account for same results
    Install the most current version.
    I am running the latest version (10.0.45.2)
    Run the Clean Installer to Fix 3rd Party Flash Player Cleaners
    I did not "clean" my computer.
    Troubleshoot Pop-up blockers
    I have no Pop-up or esle blocker  software.
    Ensure that Internet utilities do not block Flash Player
    I tried (uninstall, install and run) without Avast.
    I have windows 7 firewall. I do not know where I can allow ActiveX  controls and Flash (SWF) content. I do not see anything relative to ActiveX an Flash in allowed program list.
    Fix machine crashes when displaying Flash content
    I have no freez or crash.
    Using IE, Shockwave Flash Object is Enabled and vs 10.0.45.2
    Using FF, I have SWF vs  10.0.45.2 and it is Enabled
    I really do not understand !!
    Thanks,
    Ju'

  • JTextField does not redraw properly

    Hi,
    I have a JPanel that displays some buttons amongst some textfields and labels. One of my buttons is labeled Add Customer. When the user clicks on Add Customer he is presented with a number of JTextFields and JLabels which are all displayed fine.
    However, when the user clicks on Cancel or closes the InternalFrame in which the JTextFields and JLabels are displayed and then clicks on Add Customer again, then the JTextFields are not redrawn properly. I image of this behavior can be seen at
    http://www.grosslers.com/totals.07.png
    As soon as I start to type text into the textfield then the whole textfield redraws itself as it should, but when it looses focus then the textfield becomes invisible once again.
         // Some textfields
         private     JTextField textField_customerEditCompanyName = new JTextField(10);
         private     JTextField textField_customerEditContactName = new JTextField(10);
          * Panel that will hold all the buttons for the quote request details tabbed panel
         public JPanel createQuoteRequestDetailsButtons() {
              // Panel to act as a container for the buttons
              JPanel panel_quoteRequestDetailsButtons = new JPanel();
              // Create, register action listeners and add buttons to the panel
              JButton button_addCustomer = new JButton("Add Customer");
              button_addCustomer.addActionListener(new ActionListener() {
                   public void actionPerformed (ActionEvent actionEvent) {
                        // Add a new customer
                        addCustomerListener();
              panel_quoteRequestDetailsButtons.add(button_addCustomer);
              return panel_quoteRequestDetailsButtons;
          * Display a new internal frame when the user wants to add a new customer
         public void addCustomerListener() {
              // Master panel for the add customer details
              JPanel panel_addCustomerMaster = new JPanel();
              // Add the customer details panel to the master panel     
              panel_addCustomerMaster.add(customerDetailsPanel());
              // Ensure that all the textfields are blank
              resetCustomerDetailsPanelTextFields();
              // Add the buttons panel to the master panel          
              panel_addCustomerMaster.add(addCustomerButtons());
              // Add the master panel to the internal frame
              internalFrame_addCustomer.add(panel_addCustomerMaster);
              // Add the internal frame to the desktop pane
              JupiterMainGUI.desktopPane.add(internalFrame_addCustomer);
              // Set the size of the internal frame
              internalFrame_addCustomer.setSize(500,420);
              // Set other properties of the internal frame
              internalFrame_addCustomer.setClosable(true);
              internalFrame_addCustomer.setIconifiable(false);
              internalFrame_addCustomer.setMaximizable(false);
              // Set the location of the internal frame to the upper left corner
              // of the current container
              internalFrame_addCustomer.setLocation(0,0);
              // Set the internal frame resizable
              internalFrame_addCustomer.setResizable(false);
              // Show the internal frame
              internalFrame_addCustomer.setVisible(true);
          * Panel that displays the textfields and labels when the user clicks on
          * add or view customer details
         public JPanel customerDetailsPanel() {
              // Create master container for this panel
              JPanel panel_customerDetailsMaster = new JPanel();
              // Create the container that will hold all the textfields/labels for
              // the creation of a new customer          
              JPanel panel_customerDetails = new JPanel(new SpringLayout());
              // Add the details panel to the master panel
              panel_customerDetailsMaster.add(panel_customerDetails);
              // Set the border for the panel
              panel_customerDetails.setBorder(BorderFactory.createTitledBorder("Customer Details"));
              // Create textfields/labels, add them to the internalFrame
              JLabel label_customerCompanyName = new JLabel("Company Name : ");
              JLabel label_customerContactName = new JLabel("Contact Name : ");
              panel_customerDetails.add(label_customerCompanyName);
              panel_customerDetails.add(textField_customerEditCompanyName);
              panel_customerDetails.add(label_customerContactName);
              panel_customerDetails.add(textField_customerEditContactName);
              //Lay out the panel.
              SpringUtilities.makeCompactGrid(panel_customerDetails,
                                    2, 2, //rows, cols
                                    5, 5,        //initX, initY
                                    5, 5);       //xPad, yPad
              return panel_customerDetailsMaster;
          * Panel holding the buttons when the user clicks on add customer
         public JPanel addCustomerButtons() {
              // Container for the buttons
              JPanel panel_addCustomerButtons = new JPanel();
              // Create the buttons for the panel
              JButton button_customerOk = new JButton("Ok");
              JButton button_customerCancel = new JButton("Cancel");
              button_customerOk.addActionListener(new ActionListener() {
                   public void actionPerformed (ActionEvent actionEvent) {
              // Closing the internal frame. When i re-open this internal frame again
                  // the labels are re-drawn properly but not the textfields.
              button_customerCancel.addActionListener(new ActionListener() {
                   public void actionPerformed (ActionEvent actionEvent) {
                        try {
                             // close and remove the internal frame from the desktop pane     
                             internalFrame_addCustomer.setClosed(true);
                        } catch (PropertyVetoException exception) {
                        JupiterMainGUI.desktopPane.remove(internalFrame_addCustomer);
              panel_addCustomerButtons.add(button_customerOk);
              panel_addCustomerButtons.add(button_customerCancel);          
              return panel_addCustomerButtons;
         }So far I have a solution, and that is to use the GTK look and feel, but it is not really an option. Another way that I have managed to get the textfields to display properly is to create them in the same method, where I create the labels. Again, this is not really an option as i need to access the textfields outside the method scope.
    Any help would be greatly appreciated
    -- Pokkie

    I added the following :
         * Panel that displays the textfields and labels when the user clicks on
         * add or view customer details
         public JPanel customerDetailsPanel() {
              // Create master container for this panel
              JPanel panel_customerDetailsMaster = new JPanel();
              // Create the container that will hold all the textfields/labels for
              // the creation of a new customer          
              JPanel panel_customerDetails = new JPanel(new SpringLayout());
              // Add the details panel to the master panel
              panel_customerDetailsMaster.add(panel_customerDetails);
              // Set the border for the panel
              panel_customerDetails.setBorder(BorderFactory.createTitledBorder("Customer Details"));
              // Create textfields/labels, add them to the internalFrame
              JLabel label_customerCompanyName = new JLabel("Company Name : ");
              JLabel label_customerContactName = new JLabel("Contact Name : ");
              panel_customerDetails.add(label_customerCompanyName);
              panel_customerDetails.add(textField_customerEditCompanyName);
              panel_customerDetails.add(label_customerContactName);
              panel_customerDetails.add(textField_customerEditContactName);
    // Added this line , but doesn't seem to make a difference. also called revalidate() on the
    // internalFrame in which this panel is displayed but no luck either. Called revalidate()
    // on panel_customerDetailsMaster but nothing :(
              panel_customerDetails.revalidate();
              //Lay out the panel.
              SpringUtilities.makeCompactGrid(panel_customerDetails,
    2, 2, //rows, cols
    5, 5, //initX, initY
    5, 5); //xPad, yPad
              return panel_customerDetailsMaster;
    Thanks for the response thou, much appreciated

  • Copy Function is Not Working properly In Order Management

    Hi,
    Description-
    When an order with remnant model is copied, it copied only the topple model line and they include items attached to the top model line. It doesn’t copy the
    option class lines and the option item lines (unshipped and shipped).
    Example-
    Enter an order with for pd-pto-model. See order#21231.The ordered quantities and structure of the model is shown below:
    pd-pto-model 5 qty
    pd-std-item1 (included item) 5 qty
    pd-pto-oc (option class) 5 qty
    pd-std-item1 (included item with rfr checked) 5 qty
    pd-std-item2 (option item with rfr checked) 5 qty
    pd-std-item3 (option item) 5 qty
    Booked the order and pick relased the order. While shipconfirming only shipped 5 qty of pd-std-item3 and staged the rest. On querying the sales order, the line status is seen correctly as follows:
    pd-pto-model Closed
    pd-std-item1 (included item) Picked
    pd-pto-oc (option class) Closed
    pd-std-item1 (included item with rfr checked) Picked
    pd-std-item2 (option item with rfr checked) Picked
    pd-std-item3 (option item) Partially Interfaced to receivables
    Copied this order from the order header. The new order# is 21232.On querying the order, I see only 2 lines as follows:pd-pto-model.
    Anyone can help me on this issue.
    Thanks,
    Chinna

    haisrig wrote:
    Hi ,
    We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
    Program name :- sel.cpp
    int main()
    struct timeval sleeptime;
    sleeptime.tv_sec = 60;
    printf("1\n");
    select(0,NULL,NULL,NULL,&sleeptime);
    printf("2");
    return 0;
    When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
    When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
    When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
    I think because of that the above select function is not working properly in solaris 10.
    Why the tv_usec is not taking 0 as default values in Solaris 10?
    We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
    It sounds to me that you've been lucky for 20 years then.
    Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
    (dbx) run
    Running: sel
    stopped in main at line 9 in file "sel.cpp"
        9      sleeptime.tv_sec = 60;
    (dbx) print sleeptime
    sleeptime = {
        tv_sec  = -4198732
        tv_usec = 0
    }That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
    (dbx) print sleeptime
    sleeptime = {
    tv_sec = -830490588
    tv_usec = 134510556
    and I see the behaviour that you describe.
    Paul

  • Calendar popup is not working properly in af:inputDate

    HI,
    I am using af:inputDate component as,
    <af:inputDate label="Input Date :"/>
    The popup calendar is not working properly in my case. When I click on calendar buttong of the component, it is opening the calendar popup properly with showing proper date.
    Now in this popup I am able to change month or year only once. Means if I am watching January month initialy and now I changed it to May, it reflect the month properly. But before closing the dialog, if I again change the month to some another month, it is not changing the calendar at all. The same case is with year also.
    One more thing i want you to notice is, this component is working properly on a sample page where there is nothing in that page. But when I am adding it in my application with the same tag, it is not working.
    Can any one tell me where I should look for the fix?
    Sujay

    Sujay,
    It's always frustrating when someone says "it is giving me exception" without providing the details. It's akin to going to your automobile mechanic and saying, "a warning light comes on." Wouldn't you think it pertinent to tell the mechanic which warning light came on? If yes, then why wouldn't you provide the exception (and perhaps the pertinent part of the stack trace) here?
    Furthermore, since it works in a "very simple page," the component does at least work part of the time. If your car started at least part of the time, you'd tell your mechanic what you did that causes it not to start (for example, when I leave the headlamps on all night, it doesn't start the following morning). So... what is special about your page that it doesn't work?
    Best,
    John

Maybe you are looking for

  • Xmltype.getnumberval() Returns "0" when attribute is an empty string.

    Hi, At my workplace we have noticed that when retrieving the value of a numeric attribute of an XML element we are getting "0" when the attribute's value is an empty string (see below for an example script). We can't find a reference to this in the d

  • How can I tell if a font is legal or for commercial use?

    I am working in Illustrator and I need to create posters with commercial use fonts. How do I know for sure that the font I am using is legal?  Can Illustrator tell me? I have experimented with a font I know is commercial and one that I know is not an

  • ERROR: Hresult 0x800736B3

    I've tried installing the iTunes+Quicktime package here at Apple.com for a day and this thing always pops out while I'm installing: "An error occurred during the installation of assembly 'Microsoft.VC80.CRT, version="8.0.50727.4053",type="win32",publ

  • Format problem in SQL/Plus 9.2

    In SQL/Plus 9.2 I am working with SET AUTOTRACE ON: explain-plan    0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=11 Card=1 Bytes=52    1    0   TABLE ACCESS (BY INDEX ROWID) OF 'BER_POSITION' (Cost=2 Ca           rd=1 Bytes=20)    2    1     NEST

  • Applescript & Mail

    I am very new to applescript and I am having some teathing troubles.  I am trying to create a list of email addresses from emails arriving into a particular mailbox.  I think I have the logic right, 1. Open Mail 2. Go to the mailbox i need 3. Go to t