| |

VerySource

 Forgot password?
 Register
Search
Author: jin_kasama

Problems of VC operating WORD and excel files

[Copy link]

0

Threads

36

Posts

22.00

Credits

Newbie

Rank: 1

Credits
22.00

 China

Post time: 2020-10-14 17:00:01
| Show all posts
You can save it to a temporary directory first, and then VC++ automation controls Word to open the file.
VC++ can get the event of Word saving and closing the file, and then compare whether there are changes, and then upload it to the database
http://www.codeguru.com/cpp/com-tech/activex/tutorials/article.php/c2629/
Automation and Eventing with Word
Many applications save temporary files, such as IBM's Domino, and ??? eRoom.
Reply

Use magic Report

1

Threads

4

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

 Author| Post time: 2020-10-14 17:30:01
| Show all posts
Listen to the boss, save to a temporary directory, and then open the file
Reply

Use magic Report

0

Threads

1

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-12-9 15:08:37
| Show all posts
Use third-party tools, recommend libxl
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list