|
-
Dec 27th, 2016, 04:31 PM
#1
Thread Starter
Hyperactive Member
SAVEAS2 Word 2013 and Windows 10
Anyone know why, and how to fix the fact that the Word API to save a document to PDF (SAVEAS2) no longer seems to work with Windows 10?
I'm using Word 2013 and VS 2012 and VB.Net. When I was on my Windows 7 Pro boxes for deployment all was fine. Now... not so much.
thanks
gollnick
-
Jan 3rd, 2017, 03:39 PM
#2
Thread Starter
Hyperactive Member
Re: SAVEAS2 Word 2013 and Windows 10
Nobody has ANYTHING on this. Come on Microsoft..... It's your windows 10 OS
-
Jan 4th, 2017, 06:08 AM
#3
Re: SAVEAS2 Word 2013 and Windows 10
i tested in w10 using both vba (within word) and vb6, both times worked fine, file was saved to pdf
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jan 4th, 2017, 08:03 AM
#4
Thread Starter
Hyperactive Member
Re: SAVEAS2 Word 2013 and Windows 10
Ok.. but release/version/step number of Windows 10 are you using. My installed version does NOT save but actually gives me error that saveas2 is not supported.
thanks
gollnick
-
Jan 5th, 2017, 04:41 AM
#5
Re: SAVEAS2 Word 2013 and Windows 10
Version 10.0.14393 Build 14393
error that saveas2 is not supported.
are you doing this in .net? it seems to me to have some problems
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jan 5th, 2017, 05:57 AM
#6
Thread Starter
Hyperactive Member
Re: SAVEAS2 Word 2013 and Windows 10
Yes.. DOT net it is.. So.. any work a rounds?
-
Jan 5th, 2017, 06:20 AM
#7
Re: SAVEAS2 Word 2013 and Windows 10
i tested in .net using latebinding and also with a reference to word, both worked as desired
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jan 5th, 2017, 03:14 PM
#8
Re: SAVEAS2 Word 2013 and Windows 10
can you create a simple sample project in .net to demonstrate the problem, attach to post and i will test
note i an using VS2015, but assume the results should be the same, but if not maybe you can just upgrade
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|