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 Westi 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. Tipster007

    Pause VBA code while opening and closing Windows Explorer

    Hi lameid, thank you for your help. I was trying to avoid using a file dialog but as you say it may be too hard using Windows Explorer, I've spent a fair bit of time on it already. I will try the dialog idea or I may have to rethink what I am trying to achieve. Appreciate your help Lameid...
  2. Tipster007

    Pause VBA code while opening and closing Windows Explorer

    Hi all, I have a button on a form to open Windows Explorer and select a file variable set in the code. I want to pause the execution of the code while the Explorer window is open. I am using WScript.Shell as below but the code continues to run, Explorer opens and correctly selects the file. It...
  3. Tipster007

    Can I set the folder location for Access Lumir Mik's scanner code

    Hi jrbarnett, Thank you, the ChDir function works well, thanks for the suggestion, quick and neat. I called the routine from within the TransferWithUI and TransferWithOutUI functions, depends on which interface you wish to use. Thank you to all who contributed [thumbsup2] Code below for...
  4. Tipster007

    Can I set the folder location for Access Lumir Mik's scanner code

    Thanks jrbarnett, I'll give ChDir a go, certainly a bit more elegant. I don't think any posts are missing strongm. I'm in a different time zone, hence the delay.
  5. Tipster007

    Can I set the folder location for Access Lumir Mik's scanner code

    Sorry strongm, I missed your post. Yes the path exists but the code seems to be trying to save as a filename and a filename with : and \ is not allowed.
  6. Tipster007

    Can I set the folder location for Access Lumir Mik's scanner code

    I have come up with a workaround. At the point where the file is saved in the scanner code (Open sFileName For Binary As #iFileNum) I have used the GetOption and SetOption functions to get the current database default folder (as set in Options under the General tab) and set it to where I want...
  7. Tipster007

    Can I set the folder location for Access Lumir Mik's scanner code

    I tried that but it doesn't save the file at all. It gets to the function 'SaveDIBToFile' and the line 'Open sFileName For Binary As #iFileNum' and generates the error "Path/File access error".
  8. Tipster007

    Can I set the folder location for Access Lumir Mik's scanner code

    I am using the TWAIN scanner code written by Lumir Mik's (lmik@seznam.cz) to scan documents into Access. It works very well but doesn't give the option of setting the folder to save the scanned document. It currently saves the file to the Default Database Folder set in Access options. I have...

Part and Inventory Search

Back
Top