Using excell file on forms with ole2..... lock the excell file

i want to read an excell file on a form. i use the ole2 library. And i dont know why the xls file get locked everytime i run the form.
can you tell me how open and close a xls file without lock.
thanks

you need to relaase the object which contains the ole2 object otherwise the XLS file will lock
first invoke quit option from the ole2 object
and then destroy the object container.

Similar Messages

  • Please help!!!!!! i filled out a job application using adobe reader but i cannot send the file back via email because the file is protected with a lock. how do i unlock this file to send it?!!!!!!!!!

    please help!!!!!! i filled out a job application using adobe reader but i cannot send the file back via email because the file is protected with a lock. how do i unlock this file to send it?!!!!!!!!!

    Hi kevinv1987,
    It doesn't sound like the PDF was password protected (or Adobe Reader would prompt you for a password). Instead, it sounds like that file may be marked locked by your operating system. Are you on Mac OS or Windows? In either case, here are instructions for removing the lock icon from the file:
    Remove the Lock Icon from a Folder in Windows 7 (check Microsoft's website if you have a different version of Windows)
    On Mac OS, select the file in the Finder, and choose File > Get Info. Then, just deselect the Lock checkbox.
    Please let us know how it goes.
    Best,
    Sara

  • I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please

    I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please. This has been happening for a while and i've tried everything but it doesn't work.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • What does the error "Unable to lock the following files:" mean?

    What does the error "Unable to lock the following files:" mean? After the colon in this error message, a path to the .icml file is listed. We are using InDesign CS6 with InCopy CS6 (Mac), assignment-based workflow, on a shared server.
    Thanks,
    Gita M

    Sounds like a permissions issue on that server.
    Bob

  • Automatically replace jpgs with tiffs of the same file name.

    Is there a way to relink automatically files replacing jpgs with tiffs of the exact same file name?
    Thank you!

    http://indesignsecrets.com/relink-from-one-image-file-type-to-another.php/comment-page-1
    Relink from One Image File Type to Another
    by:  David Blatner  | February 20, 2009
    18 Comments
    Share This
    Eugene asked an excellent question in the comments to this old post:
    Say if I do decide to change the .tif to .psd and I move the .tifs out to another folder, would it or would it not be a good idea if Indesign said, “Hey, those .tifs aren’t available, there’s a similar name with a .psd extension, would you like to use these instead?” Then you just press, yes use my .psd files.
    Many folks had asked for this ability, and so Adobe delivered: InDesign CS4 has a feature called Relink to Folder. It’s an awesome command (it lives in the LInks panel menu) because it basically directs InDesign to some other folder on your computer (or server, or whatever), where your images may live. So you can relink a hundred images from one folder to another quickly.
    But even cooler, you can tell InDesign whether to insist on the same file type or use a different one. Here’s the control in the Relink to Folder dialog box:
    So, you select one or more images in the Links panel, choose Relink to Folder, tell it which folder to look in, and choose a file extension. The original image doesn’t even have to be “Missing”! In fact, the two images (psd and tiff, in your case) can even live in the same folder.
    Sweet, yes?

  • How to download the ALV output with colors into the excel sheet

    Hi,
      I'm having an ALV Grid report output where each and every row has some colors in it. When i download it to an excel sheet whatever the colors that comes on the output of the report the same should come in the excel sheet. When i download the output to an excel sheet using List --> Export -->Local file . If i open the excel files no colors are coming in the excel sheet.
    can anyone tell how to get the colors in the excel sheet also. thanks...
    Regards,
    Rose.

    Hi Camila,
    Use the OLE concept.
    Check the below threads:
    Colors in Excel Sheet
    colors in alv
    Regards,
    Soumya.

  • Protecting email from people viewing your inbox with out locking the phone

    Keeping people from viewing email with out locking the phone.
    Is there a app or other way to keep people from looking at your inbox?
    Thanks

    In a word, no.
    If you notice someone that you are allowing to use your iPhone perusing through your email account mailboxes without your knowledge or permission, that should be the last time they are allowed to do so.
    There is no app that provides for this and there won't be one. 3rd party apps do not have access to Apple private APIs for the iPhone.

  • I downloaded an update for my Safari web browser to "snow leopard". When I click on the .dmg file, a window opens up with a .pkg file but when I click on the .pkg file I get a prompt saying that it doesn't know what program to open it with. with a

    I downloaded an update for my Safari web browser to "snow leopard". When I click on the .dmg file, a window opens up with a .pkg file but when I click on the .pkg file I get a prompt saying that it doesn't know what program to open it with.

    I suspect if you're trying to open a file in 08 that's been opened in 09 the file has been updated to 09 and will not open in 08.

  • Use Members on Data Form is unvalid if the Run on Save setting is not on

    Hi, I found a problem of the setting Use Members on Data Form is unvalid if the Run on Save setting is not on. It will just get the default value of the variables but not the form members, I don't know whether it is a bug or a normal behavior. Does anyone have experience to fix it or avoid it? Thanks.

    Hi,
    If you are running your rule simply double clicking on the name of it at the botom left corner, that's the normal behaviour I would expect.
    However, instead of running it that way, if you create a menu, attach the rue to a menu item, add the menu to your form and then run it by right clicking on your form, it will pass all selected form members to your variables.
    Cheers,
    Alp

  • I had to restore my computer. After reinstalling itunes and sincronizing with my ipod, the music files were not organized in itunes as in the ipod: some songs were missing, some albums has no cover? Why is the sincronization not working properly?

    I had to restore my computer. After reinstalling itunes and sincronizing with my ipod, the music files were not organized in itunes as in the ipod: some songs were missing, some albums has no cover? Why is the sincronization not working properly?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • How can I work with my adobe Lightroom Version 5 which was added to my Samsung NX3000. If I want to load an .SRW File it is not possible, only the .JPG File. How and from where can I the Module and how is it to install ?

    How can I work with my adobe Lightroom Version 5 which was added to my Samsung NX3000. If I want to load an .SRW File it is not possible, only the .JPG File. How and from where can I the Module and how is it to install ?

    You need Lightroom 5.5 or later (the most current version is 5.7.1). This is a free update if you have already purchased an earlier version of Lightroom 5.
    Product updates

  • [svn] 1267: fixed . patch creation to create patch with the selected files only, remove, fix newlines in the patch file.

    Revision: 1267
    Author: [email protected]
    Date: 2008-04-16 17:02:53 -0700 (Wed, 16 Apr 2008)
    Log Message:
    fixed .patch creation to create patch with the selected files only, remove, fix newlines in the patch file.
    Modified Paths:
    flex/sdk/trunk/tools/diffpack/diffpack
    flex/sdk/trunk/tools/diffpack/readme.txt

    All,
    I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
    Thanks,
    Clif Bridegum

  • Metagen is skipped sometimes complaining because all output files are up-to-date with respect to the input files

    Hi,
    In one of my dll (VS2010), the process Skipping target "MetaGen" because all output files are up-to-date with respect to the input files.
    it is at  random.  I have checked the time stamps of the dll and metagen.write.1.tlog both having the time stamp on the failed build.  But all files in release folder did not have the same time.  They are one hour earlier than the dll
    and the  metagen.write.1.tlog.
    On the good build  it said the input file is is newer than output file ".\Release\\metagen.write.1.tlog" and allfiles in the release folder have same time stamp.
    Any clue to solve this ?
    Regards,

    Hi,
    Based on your post, I am not very clear about your issue. I feel your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
     Could you please provide us more information so that we resolve your issue better?
    What type of project are you working with? C++ MFC project?
    How was the
    metagen.write.1.tlog file generated in your project?
    What error messages did you get?
    What is the 'input file'?
    If possible, please provide us a sample project to reproduce your issue.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I bought a phone with icloud lock, the find my phone app is off but when i restore it still requires previous owners login details

    Hi all,
    I bought a phone with icloud lock, the find my phone app is off but when I restore it still requires previous owners login details??
    Any ideas would be appreciated..

    iCloud: Find My iPhone Activation Lock in iOS 7
    The phone is useless to you without the previous owners information.  Either get a hold of the owner and get the info or return the phone and get your money back.

  • Can I auto submit a WebApp Search form (with javascript) so the results show up automatically?

    Can I automatically submit a WebApp Search form (with javascript) so the results show up automatically?

    yes. I also interested in how to do it.

Maybe you are looking for