Painkiller
Programmer
Hi all,
I'm currently working on a project where data is read from a Word file to store in a database. In order to ease the extraction of data I've converted the Word file to a .txt file. It is however user unfriendly to ask the user to first convert the file himself. So I'm looking for a way to make sure that when the user selects a file (using a dialogwindow) the file is automatically converted to a .txt file. Does anybody know how to go about this? I think the easiest way would be to use a Word object, but I don't know what commands to use for the convertion part.
any help would be greatly appreciated
I'm currently working on a project where data is read from a Word file to store in a database. In order to ease the extraction of data I've converted the Word file to a .txt file. It is however user unfriendly to ask the user to first convert the file himself. So I'm looking for a way to make sure that when the user selects a file (using a dialogwindow) the file is automatically converted to a .txt file. Does anybody know how to go about this? I think the easiest way would be to use a Word object, but I don't know what commands to use for the convertion part.
any help would be greatly appreciated