Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. 123help1234

    Keep pdf/text from being downloaded

    Thanks, I'll give it a shot!
  2. 123help1234

    Keep pdf/text from being downloaded

    I have some pdf files that I have permission to display on my website, but do not have permission to distribute (i.e. let people download, print, share) without them first requesting permission in writing. How would you recommend doing this? Is there any way to embed the pdf in a flash element...
  3. 123help1234

    Copy File that is currently open

    I guess that's an option I could try. I'm still curious why I'm having this problem in the first place though. Thanks
  4. 123help1234

    Copy File that is currently open

    Would it be possible to emulate this behaviour using the clipboard object? This seems like a pretty week solution, but it works when you use the clipboard manually as opposed to using file copying code. If I could copy the file to the clipboard and then paste it to the destination folder, do you...
  5. 123help1234

    Copy File that is currently open

    This is only for when the database has become corrupted and no one can access it anyways. It's sort of a last resort to repair the database.
  6. 123help1234

    Copy File that is currently open

    It's a database utitlity of sorts. First it tries to compact an access 2000 database by making a shell call to JetComp.exe. If it fails (presumably because it's locked by someone on the network) it tries to copy the file from the network to a local temp folder (this is where the error is...
  7. 123help1234

    Copy File that is currently open

    Here's the code that calls the SHFileOP: Dim lRet As Long Dim fileop As SHFILEOPSTRUCT With fileop .hwnd = 0 .wFunc = FO_COPY .pFrom = fromLoc .pTo = toLoc .lpszProgressTitle = strMessage .fFlags = FOF_SIMPLEPROGRESS Or...
  8. 123help1234

    Copy File that is currently open

    I changed the code as follows and still have the same problem. Is there any other code I should be using to copy a file that may be opened by someone? The client gets the error using the code below, but has no problem doing a copy and paste using explorer. Private Function SHFileOP(ByRef...
  9. 123help1234

    Copy File that is currently open

    I use the SHFILEOPSTRUCT to copy an access database file from one folder to another. The only problem is if I step through this code while the database is open, I get error "Cannot copy file: Cannot read from the source file or disk." This only happens if I use F8 to step through the code in the...
  10. 123help1234

    Method '~' of Object '~' failed on adodb.connection.open

    Here is the code I'm using to connect to an Access 2000 database: dim cn as adodb.connection set cn = new adodb.connection cn.open "Provider=Mircrosoft.Jet.OLEDB.4.0; Data Source=" & sDbPath & ";" I've used it on all sorts of other projects with no problem. I shipped a VB6 program to a...

Part and Inventory Search

Back
Top