Creating/replacing a file in a directory, without a prompt or error

I am attempting to do something fairly simple in LabView but it seems that there must be an easier or more elegant way than the way I am doing it. 
I have the main .vi running in c:\programs and it calls another .vi in the same directory.  In this subVI the program creates/replaces tags.dat in the c:\programs\data directory.  I want the file to be created if it doesn't exist or replaced if it does exist.   If the \data directory doesn't exist, I want it created.  And also I want the .vi to run in any directory and as a .exe or as a .vi.  This is what I am doing to accomplish this:
1) Use App.kind, "Current VI's Path" and a case statement to strip once if it is "development system" and twice if it is "run-time system".
2) Then use "LIST Directory" and a "For Loop" to look for "data" directory.  If it exists, do nothing, if it does not use "New Directory" to create it. 
3) Use "LIST Directory" and a "For Loop" to look for "tags.dat" in \data directory.  If it exists use "Delete" to delete the file, if it does not exist, do nothing.
4) Use "Open/Create/Replace File" with it set to "create or replace" to create tags.dat in the \data directory.
Shouldn't the "Delete" file VI delete a file if it exists, but do nothing if it does not exist?  Instead, if the file doesn't exist, it causes an error.  The same goes for the "New Directory".  It should create the new directory, unless it already exists.   Also is there a way "open/create/replace" with it set to "create or replace" will not prompt the user to ask them if they want to delete the file (if it already exists)?  This is why I have to look for the file first, then delete it if it exists. 

Are the "C:\programs" and "C:\programs\data" directories fixed, or are they based on the location of the VI/application. Your post seemed to be say both. If they're fixed you obviously don't need to use "Current VI's path".
You might be able to save yourself some coding by using the OpenG function "Create Dir if Non-Existant.vi" and give it the path ""C:\programs\data" - it will create both directories if they're not there. This VI is part of the OpenG File I/O library. You mentioned that you were going to create an .exe, so if you decide to use this please note the distribution requirements for this VI.
Also, I'm not understanding why you're deleting the file if you're specifying the "Open/Create/Replace File" VI do a "create or replace". In general, I tend to stay away from that VI since, frankly, it's a mess. You should be able to accomplish the same thing by using the "New File" function for "C:\programs\data\tags.data" with "overwrite" set to True.

Similar Messages

  • How do I mass protect about 200 pdf files in a directory without opening them individually?

    How do I mass protect about 200 pdf files in a directory without opening them individually? I have Adobe Acrobat X Pro.
    They can all have the same password.
    Any ideas?

    If they can all have the same password, just make 200 copies of the protected file in your operating system...
    Edit: I think I misread your initial post. If the files are not identical, you can use an Action to encrypt all files using the same password.

  • Creating list of files from a directory

    Hi,
    poked around on the internet, and wanted to be able to create an ArrayList of all files in a directory. This code compiles, but doesn't work:
    import java.io.*;
    import java.util.*;
    public class TestDir {
         public static void main(String[] args){
         File folder = new File("testdir");
         System.out.println("does the folder exist? " + folder.exists());
         System.out.println("is folder a directory? " + folder.isDirectory());
         System.out.println("path: " + folder.getAbsolutePath());
         // create list of files
         try{
         ArrayList<File> files = TestDir.getFileList(folder);
         Iterator i = files.iterator();
         while (i.hasNext()){
         File temp = (File) i.next();
         System.out.println("file: " + temp.getName());
         } catch (IOException e){
         System.err.println("problem creating file list:");
         e.printStackTrace();
         } // end main
         public static ArrayList<File> getFileList(File dir) throws FileNotFoundException{
         ArrayList<File> result = new ArrayList<File>();
         File[] files = dir.listFiles();
         List<File> tempfiles = Arrays.asList(files);
              for(File file : files){
              result.add(file);
         return result;
    } // end classthis compiles fine, but doesn't give me the list of files.
    Any idea what I'm doing wrong?
    bp

    console output:
    C:\jason\java\domPractice>java TestDir
    does the folder exist? true
    is folder a directory? true
    path: C:\jason\java\domPractice\testdir

  • How to replace a file in an archive without extracting?

    Hello, I need to open up an archive and replace one file with the other. As archive file is and actual .ipa file (I'm just changing its type), I don't want to extract it and then re-zip it and rename it to .ipa.
    It's beyond simpleness on Windows OS, but on a Mac you can only see content of an archive and extract any chosen one, but not replacing it directly.
    Maybe there are simple terminal commands to do so?
    Thank you.

    man zip
    or see it on the web: https://developer.apple.com/library/mac/DOCUMENTATION/Darwin/Reference/ManPages/ man1/zip.1.html

  • How cot create and read files in ALLUSERSPROFILE directory

    Hi,
    I have a program that is to be used both with Windows XP, Vista, 7 and 8. It should create and read a file in ALLUSERSPROFILE, which I have learned to be different directories in XP and the other Windows versions. But after looking all over internet, I can't
    find any clear answer how to do this. I thought the following should work, but it doesn't:
    testfile = fopen("%ALLUSERSPROFILE%/testfile.dat", "r");
    Although the file exist, testfile gets the value of zero. I've also tried other strings instead of "ALLUSERSPROFILE," but no luck. Could anyone tell me how to do this?
    Thanks in advance.

    I tried the following:
         SHGetKnownFolderPath( &FOLDERID_ProgramData, 0, 0, &userpath); 
    Then the program compiled. But it did not work:
         fopen("%userpath%\\Testfolder\\Testfile.ini", "r"); 
    did not open the file, although it is there.
    Then I read that this function can't be used with Windows XP, so I
    switched to the deprecated SHGetFolderPath 
        TCHAR userpath[MAX_PATH];
         SHGetFolderPath(0, CSIDL_COMMON_APPDATA, 0, SHGFP_TYPE_CURRENT, userpath);
    According to the MSDN pages, one then could use the 
        PathAppend (userpath, TEXT("Testfolder/Testfile.ini"));
    I then added Shlwapi.h and compiled and got the following error message 
         main.obj : error LNK2001: unresolved external symbol __imp__PathAppendW@8  
         fatal error LNK1120: 1 unresolved externals
    Then I again tried 
       fopen("%userpath%\\Testfolder\\Testfile.ini", "r");
    but neither did this work. So now I don’t know what to do.

  • Creating an html file in XI using an xsl stylesheet  -- two error types

    Hi
    I am working on mapping an xml invoice to an html-file using a stylesheet  (xsl-file)  in the message mapping in XI 3.0.
    Thus the inbound message is an xCBL Invoice and the output message is to be an html file. I name the output file "%supplierid%_%invoiceid%.html using the variable substitution functionality in the communication channel.
    I have two problems:
    1) the <br/> tags in the stylesheet are changed to "<br>" in the resulting html file causing problems in the output file, as this is not valid XML.
    2) I would like to insert the current date and time in the output file and I am using this code, but the date and time is not picked up:
    <B>
          Received:
          <xsl select="xs:string(fn:current-dateTime())"></xsl>
    </B>
    How do I solve these two problems?
    BR
    MIkael

    please note, that it is the tag "br/" that is changed to "br" in the html file.

  • File download in servlet without download prompt

    hi,
    I am developing web application using jsp and servlet. with help of this application I am downloding files from server to client machine. it is working....
    But my problem is how to avoid the download window while download the files and store the perticular place in the system.
    please give suggession.
    thanks.

    But my problem is how to avoid the download window while download the files and store the perticular place in the system.So that you can install a virus on my system?
    There is a reason for the download window popping up and forcing the user to save it to a place of their choosing.

  • Problem in Creating a jar file using java.util.jar and deploying in jboss 4

    Dear Techies,
    I am facing this peculiar problem. I am creating a jar file programmatically using java.util.jar api. The jar file is created but Jboss AS is unable to deploy this jar file. I have also tested that my created jar file contains the same files. When I create a jar file from the command using jar -cvf command, Jboss is able to deploy. I am sending the code , please review it and let me know the problem. I badly require your help. I am unable to proceeed in this regard. Please help me.
    package com.rrs.corona.solutionsacceleratorstudio.solutionadapter;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.util.jar.JarEntry;
    import java.util.jar.JarOutputStream;
    import java.util.jar.Manifest;
    import com.rrs.corona.solutionsacceleratorstudio.SASConstants;
    * @author Piku Mishra
    public class JarCreation
         * File object
         File file;
         * JarOutputStream object to create a jar file
         JarOutputStream jarOutput ;
         * File of the generated jar file
         String jarFileName = "rrs.jar";
         *To create a Manifest.mf file
         Manifest manifest = null;
         //Attributes atr = null;
         * Default Constructor to specify the path and
         * name of the jar file
         * @param destnPath of type String denoting the path of the generated jar file
         public JarCreation(String destnPath)
         {//This constructor initializes the destination path and file name of the jar file
              try
                   manifest = new Manifest();
                   jarOutput = new JarOutputStream(new FileOutputStream(destnPath+"/"+jarFileName),manifest);
              catch(Exception e)
                   e.printStackTrace();
         public JarCreation()
         * This method is used to obtain the list of files present in a
         * directory
         * @param path of type String specifying the path of directory containing the files
         * @return the list of files from a particular directory
         public File[] getFiles(String path)
         {//This method is used to obtain the list of files in a directory
              try
                   file = new File(path);
              catch(Exception e)
                   e.printStackTrace();
              return file.listFiles();
         * This method is used to create a jar file from a directory
         * @param path of type String specifying the directory to make jar
         public void createJar(String path)
         {//This method is used to create a jar file from
              // a directory. If the directory contains several nested directory
              //it will work.
              try
                   byte[] buff = new byte[2048];
                   File[] fileList = getFiles(path);
                   for(int i=0;i<fileList.length;i++)
                        if(fileList.isDirectory())
                             createJar(fileList[i].getAbsolutePath());//Recusive method to get the files
                        else
                             FileInputStream fin = new FileInputStream(fileList[i]);
                             String temp = fileList[i].getAbsolutePath();
                             String subTemp = temp.substring(temp.indexOf("bin")+4,temp.length());
    //                         System.out.println( subTemp+":"+fin.getChannel().size());
                             jarOutput.putNextEntry(new JarEntry(subTemp));
                             int len ;
                             while((len=fin.read(buff))>0)
                                  jarOutput.write(buff,0,len);
                             fin.close();
              catch( Exception e )
                   e.printStackTrace();
         * Method used to close the object for JarOutputStream
         public void close()
         {//This method is used to close the
              //JarOutputStream
              try
                   jarOutput.flush();
                   jarOutput.close();
              catch(Exception e)
                   e.printStackTrace();
         public static void main( String[] args )
              JarCreation jarCreate = new JarCreation("destnation path where jar file will be created /");
              jarCreate.createJar("put your source directory");
              jarCreate.close();

    Hi,
    I have gone through your code and the problem is that when you create jar it takes a complete path address (which is called using getAbsolutePath ) (when you extract you see the path; C:\..\...\..\ )
    You need to truncate this complete path and take only the path address where your files are stored and the problem must be solved.

  • Why the error "unable to create unique temporary file" ?

    Hi,
    I've created a very simple zone on s10_69. The global zone is a default Solaris install, nothing added. When installing the local zones I get theses error messages:
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/100dpi/fonts.dirMMaypm>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/75dpi/fonts.dirNMaypm>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/F3bitmaps/fonts.dirOMaypm>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/misc/fonts.dirPMaypm>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.dirSMaypm>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dirUMaypm>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/server/etc/OWconfigjha4tm>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/sfw/lib/mozilla/.pkg_update_stampepaybn>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/75dpi/fonts.dirgOa4Gn>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/F3bitmaps/fonts.dirhOa4Gn>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/Type1/fonts.diriOa4Gn>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/misc/fonts.dirjOa4Gn>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/misc/fonts.alias.alllOa4Gn>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.dirfGaWoo>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dirhGaWoo>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/server/etc/OWconfigL2aqZo>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dirgPaW7o>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.dirhPaW7o>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/xil/config1Faipp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/xil/config2_aWtp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.dirEhaywp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dirGhaywp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dirsVaqAp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.diruVaqAp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/bin/wscompilejbaWAp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/bin/wsdeploykbaWAp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/F3/fonts.dirioaqBp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/server/etc/OWconfigLYaaCp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dir10a4Dp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.dirZAaOEp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dir1AaOEp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.dirhUaqFp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dirjUaqFp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.dirDNaGGp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dirFNaGGp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.diryVaGLp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dirAVaGLp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.dirdtaGMp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dirftaGMp>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/100dpi/fonts.dirgZaWKq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/75dpi/fonts.dirhZaWKq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/F3/fonts.diriZaWKq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/Speedo/fonts.dirjZaWKq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/75dpi/fonts.alias.alllZaWKq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/F3/fonts.alias.allmZaWKq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/encodings/encodings.dirlqaGLq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/lib/X11/fonts/TrueType/ttmap/ttmaps.dirnqaGLq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/bin/asadminsTaGNq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/pointbase/tools/serveroption/startcommander.shbHayPq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/pointbase/tools/serveroption/startconsole.shcHayPq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/pointbase/tools/serveroption/startserver.shdHayPq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/pointbase/tools/serveroption/stopserver.sheHayPq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/openwin/server/etc/OWconfigt2aGYq>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/bin/appclienta2aOyr>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/bin/asantb2aOyr>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/bin/capture-schemac2aOyr>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/bin/deploytoold2aOyr>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/bin/jspce2aOyr>
    pkgadd: ERROR: unable to create unique temporary file </zones/zone2/root/usr/appserver/bin/package-appclientf2aOyr>and more like these.
    Any ideas why ?
    The files are all there after installation, without the temporary names. So it doesn't seem to be a big problem...
    Thanks,
    Vlad.

    I don't have the bug number handy but I'm quite certain this was
    resolved in one of the post-s10_69 builds. Please download the
    official Solaris 10 initial release and by all means, let us know if you
    continue to see this issue during zone installation.

  • How to create the SWF file which was included surrogate pairs.

    I would like to make sure how to create the SWF file which are included surrogate pairs.
    The error of outside the scope of unicode occurred when I compiled(mxmlc) the as file which was set surrogate pairs to 'Unicoderange'.
    Ex, I set the '  '(UTF-16 is '20B9F') to 'Unicoderange'.
    However, I cannot add the surrogate pairs.
    The error of outside the scope of Unicode occurred when I compiled the AS file.
    The reason of error was that the Unicode(UTF-16) of surrogate pairs is invalid.
    Then, I read the following pages.
    These pages are written that unicode-range supported surrogate pairs.
    http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_07.html
    http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#descdef-unicode -range
    So please let me know how to create the SWF file which are included surrogate pairs.
    Environment
    - Flex3.5a
    - TTC: meiryo(ver6.02), msgothic(ver2.50), mspgothic(ver2.50)
    Thanks,
    Takeshi Ishihara.

    I've been able to create project jar files in Eclipse by selecting Export from the File menu, then choose Java - Jar file - and provide the required information, name, destination folder etc. But when I do this, I do not export other jars on the build path this way nor do I expect to do this. I am only concerned with creating a jar file of my own work. A jar file does not "contain" other jar files. If the jar file contains the main method, and requires other jars for it's execution, then you may wish to include a reference to required jars on the class path entry of the Manifest file of the jar file you create. I'm not sure how to create a Manifest file in eclipse though..

  • Can't create a movie file (wmv)

    Whe I try to create a wmv file the process freezes and eventually gives an error message saying the file cannot be created.  Then it closes the program.

    Which version of PSE you are on?
    Please try the troubleshooting steps mentioned here : http://kb2.adobe.com/cps/408/kb408940.html
    As a first step, you can try running Organizer directly from its exe in c:\program files or program files x86\adobe\elements organizer Ver\PhotoshopElementsOrganizer.exe by right clicking it >> run as Admin. Now try taking slideshow output. Keep all background processes turned off from Edit >> Pref >> Media Analysis, while taking output.
    Thanks
    Andaleeb

  • Distiller will not create a .pdf file

    Yesterday, I noticed—out-of-the-clear-blue-sky— that whenever I tried distilling a layout file in .eps, I kept getting 'Error' messages whenever I tried Distilling anything and Distiller wouldn't create a .pdf file!
    This is what I recieved.
    %%[ Error: undefined; OffendingCommand: MMXPR3 ]%%
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    Distill Time: 0 seconds (00:00:00)
    **** End of Job ****
    I even tried using an .eps file that I had created a .pdf file, from Distiller, on the previous day, and that wouldn't work either. So whats going on?
    I finally got fed up and just uninstalled Acrobat and Distiller, and reinstalled it, and that didn't work either. My Acrobat also won't manually update now. I keep getting a "Update Internal Error." This also kept happening after I reinstalled it.
    I need to use my Distiller in order to get a Press Quality .pdf.
    I'm operating on a Mac OS X 10.5.8
    I'd appreciate any help I can get.
    Melodie

    Sounds like an EPS with preview? Not suitable. Use postscript for printing, not EPS.

  • On start-up, PS CS6 Ex opens a new file menu automatically without be prompted to do so. Huh?

    Whenever PS CS6 Ex is opened, a new file menu automatically opens without be prompted to do so. This happens whether I'm opening any type of file in PS or just opening PS without a file yet. Once PS is open, this does not reoccur when opening more files from then on, just at start-up only. It's not too big of a deal, just kinda weird.
    PS just started doing this a short time ago so I'm guessing it's a Preference setting but can't figure which one.  

    Thanks for trying but this did not help. I assume you meant for me to open PS CS6 / Window / Workspace & select a new workspace such as Photography or 3D, etc. Then re-open PS & change Preferences / General / Reset all warning dialogue. None of that changed anything.
    Below is what happens when I open PS 64-bit; the New file dialog opens. This happens when open PS with a pre-selected file or just launching PS. I also have PS CS6 32-bit on my PC & this does NOT occur when it is launched.
    Still need some help.

  • Cannot create client identification file

    Hi.
    I am trying to run the Excel Add-In on Windows 7 but when I start excel I get the following Essbase Error:
    Cannot create client identification file
    Is there any workaround to avoid this error?
    Thanks,
    JC

    Update:
    I tried running the Excel as Administrator and didn't get the error message. The ini file was created in WINDOWS but the content is incomplete. The file is supposed to contain [Login] and [App Manager] sections, which are missing. And has only a portion of the [CSL Global Options] section.
    Excel still is not behaving as expected.
    [CSL Global Options]
    DoubleClick=1
    RightMouse=1
    FlashBack=1
    RouteMessages=0
    PurgeLogOnInit=1
    DisplayUnknowns=1
    RetrieveOnDblClk=0
    MemSelSaveMsg=0
    DatalessNav=0
    ErrorLevel=2
    SheetOpts=A1100000000030000000001100000_0000
    JC

  • Error 7 occurred at open/create/replace file

    Hello,
    I have searched the forum and could not find any useful information regarding my problem, so hope you may shed some light. MyVI can create a new csv (text) file by using the time to name the file, so every time the new file will be created with a different name and file path is not a relative path. I can run the VI in both development environment and stand along executable without any problem. But, 
    One of my colleagues  cannot run the executable exe on her machine because Error 7 occurred at Open/Create/Replace File in xxxx.vi Possible reason: LabVIEW: File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
    My question is why only she cannot run this exe on her machine. I have checked a few different PC in my office and all of them can run this exe without problem, so I am pretty sure the code is fine.
    I have already ask her to do,
    Run the executable as administrator
    Save the new file to other drives (not C: drive)
    but she still cannot run the executable. I dont think this is a premission issue, otherwise, LabVIEW would give a different error, Error 8 I believe.
    Both her PC and my PC is running Windows 7 professional 64-bit. The only difference I can see is that she is based in US and I am based Australia. Does anyone have any idea? Please help.
    Thanks,
    Sherman

    I’m not sure but expecting like below,
    As you said, your creating file name with Time. Make sure file name is correct and there is no special characters (like, / or : ). If your formatting time to string with “Format Date/Time String.vi” (while creating file name), based on UTC format, string will change.
    UTC format specifies if the output string is in Universal Time or in the configured time zone for the computer. If TRUE, date/time string is in Universal Time. The default is FALSE.
    Make sure you have access rights to create files into mentioned folder. Try to create new file manually.
    Munna

Maybe you are looking for

  • Previewing songs in iTunes on ipad2

    Why can't I hear the preview song clips in iTunes on my ipad2?  When I click on a song It looks like it's loading but never plays the preview song.

  • Invoiced quantity is smaller than ordered quantity

    HI Everyone, When i'm doing archiving for the object MM_EKKO.The following message i got "Invoiced quantity is smaller than ordered quantity". Please can any one tell me how to close this type of purchase orders and continue archiving Regards subhash

  • How to call view requests window from forms

    I have a custom form in which i am running a concurrent program using FND_REQUEST.SUBMIT_REQUEST. after I submit the request, I manually go to the view -> requests -> viewoutput to see the report output. Is there any function which can be used in the

  • Imovie sound but no image

    Hy Sometimes when working on an imovie projtect, I press space bar to watch it and it comes only the sound, but the image stays as a still frame of the image that is on the screen at that moment. It doesnt show as usually the movie. Thanks for any he

  • How do I sync with a different username in Palm desktop

    I inherited my husband's Treo 680 when he got his HTC EVO.  I want to keep all the applications/programs he has, but use my own calendar.  I installed palm desktop and created a new username.  How can I sync with that instead of the informtion my hus