Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Open Excel locked file using password without office installed

Hi,

I am building an application that recieve excel files from clients, extract
the data from it and store in on DB after verifying the data integrity and
several other data manipulations.
In order to get the correct data and avoid "cheats" I lock the excel (when
sent the files without the lock it caused many problems with retrieving the
data and with the data integrity)

The problem is that in order to retrieve the information from the excel I
use Ole connection, that cannot open the file if it is locked.

I cannot use excel application or excel to unlock the file as the server has
no office installed on it, and the excel application is not a usfull tool for
a server (will pop up messages on bugs that will need to be handled by hand
etc.)

Is there a way to unlock an excel file (using the correct password) on code
(c#...)?
Or is there another way to protect the cells from buing handled with beside
locking the excel?

(if I should post under a different topic, please update me)

Thanks,
Yaron.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot open File on newly installed Excel 2007 Thank you. Terri Excel Discussion (Misc queries) 1 December 6th 07 09:49 PM
downloading excel file for open causes "file is locked for editing HigherImpact Excel Programming 0 December 3rd 07 06:23 PM
PASSWORD REMOVAL I have the password to open the file and the password to modify the file now how to remove them LJ[_4_] Excel Programming 0 April 27th 06 03:18 AM
Trying to Open Excel File, But its says file is locked for editing Smeeta Geary Excel Discussion (Misc queries) 1 September 20th 05 01:28 PM
How can the macro open a sheet that is locked with a password Per Roar Øgaard Excel Programming 2 September 1st 03 06:06 PM


All times are GMT +1. The time now is 04:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"