![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Dear experts, This is what my bosses want me to program and I wanted to see if you thought it was feasible. All the faxes come into a file on the server as tif files. They want Access to go out to that folder and create a record for each tif file. Then someone (within Access) will open each tif and see what it is and assign it to the right person to work on it. Do you think this sounds doable? How would I start? Thanks in advance, Laura |
#4
| |||
| |||
|
|
Open a standard or go to the code behind a form. Click on Tools - References and set a reference to Microsoft Office Document Imaging. Open Windows Explorer and navigate to a .Tiff file somewhere. Right click on the .Tiff file and do the following: Open with, Choose Program, Select MODI, * *(Microsoft Office Document Imaging) Set "Always use this program...." check box OK All .Tiff files will now open with MODI when you click on the file or for that matter try and open them. Now you can use automation to open Microsoft Office Document Imaging and then open any .Tiff file and display it on the full screen. Steve "musicloverlch" <lho... (AT) gmail (DOT) com> wrote in message news:a1f4a0e6-6509-475d-81bc-3c37e78d27a3 (AT) r36g2000prf (DOT) googlegroups.com... Dear experts, This is what my bosses want me to program and I wanted to see if you thought it was feasible. All the faxes come into a file on the server as tif files. They want Access to go out to that folder and create a record for each tif file. Then someone (within Access) will open each tif and see what it is and assign it to the right person to work on it. *Do you think this sounds doable? How would I start? Thanks in advance, Laura |

#5
| |||
| |||
|
|
Hi Laura, Here is a thought: *Use the Dir function to loop through the folder(s) that contains the tiffs. *Store the full filename (the drive location/folder/filename.tiff) in a record in a table in your mdb. Then, on a form add an image control. When the user selects a tiff to look at - display it in the image control by setting the location of that file which you stored in your table to the source for the image control. Note: *If there are subfolders - drilling down to the subfolders gets a little more sophisticated - requires an API function and recursion - to drill into and out of the subfolders. *If all the tiffs are stored in one folder on your server then don't worry about the drilling down part. Rich *** Sent via Developersdexhttp://www.developersdex.com*** |
#6
| |||
| |||
|
|
Dear experts, This is what my bosses want me to program and I wanted to see if you thought it was feasible. All the faxes come into a file on the server as tif files. They want Access to go out to that folder and create a record for each tif file. Then someone (within Access) will open each tif and see what it is and assign it to the right person to work on it. Do you think this sounds doable? How would I start? Thanks in advance, Laura |
#7
| |||
| |||
|
|
Hi Laura, Note: *If there are subfolders - drilling down to the subfolders getsa little more sophisticated - requires an API function and recursion - to drill into and out of the subfolders. * Rich |
#8
| |||
| |||
|
|
Hi Laura, Note: If there are subfolders - drilling down to the subfolders gets a little more sophisticated - requires an API function and recursion - to drill into and out of the subfolders. Rich Actually, you need neither an API function nor recursion, just a do while loop nested inside another loop. The trick is to put the directory paths found by the inner loop into an array, and have the outer loop read from the array each path to be processed. Bob Q |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
Turned out to be pretty easy. There is even a KB article about it:http://support.microsoft.com/kb/158941 I just modified it for my needs. Thanks again, Laura |
![]() |
| Thread Tools | |
| Display Modes | |
| |