Click here to Skip to main content
15,393,037 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVB Script stopped working on Windows 10 + Office 365 Pro Pin
Member 1463660627-Oct-19 21:29
MemberMember 1463660627-Oct-19 21:29 
AnswerRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
OriginalGriff27-Oct-19 21:33
mveOriginalGriff27-Oct-19 21:33 
GeneralRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
Member 1463660627-Oct-19 21:36
MemberMember 1463660627-Oct-19 21:36 
GeneralRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
OriginalGriff27-Oct-19 21:39
mveOriginalGriff27-Oct-19 21:39 
GeneralRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
Member 1463660627-Oct-19 22:28
MemberMember 1463660627-Oct-19 22:28 
GeneralRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
OriginalGriff27-Oct-19 22:41
mveOriginalGriff27-Oct-19 22:41 
GeneralRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
Member 1463660627-Oct-19 22:53
MemberMember 1463660627-Oct-19 22:53 
GeneralRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
OriginalGriff27-Oct-19 23:08
mveOriginalGriff27-Oct-19 23:08 
So you need to look at all the data in MailItem, and check that you can write a file with that name to that folder manually (i.e. not using SaveAs, but using the same filename).
It may be worth setting up an "all users full access" folder and trying to write your file to that under a "nondescript name": "MySafeFolder\AAA.txt" perhaps.

One of the major changes between Win7 and Win10 is a tightening up of security over the file system, and it's possible that the user that the SaveAs is running under (which is conceivably not the same as your user ID) doesn't have the right permissions over the folder.

But this is speculation - this needs carefully thinking about on the actual system(s) it's failing on, and we have no access to that!
Good luck!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!

QuestionListbox event, ItemSelectionChanged, how to wait for last event, or cancel events Pin
jkirkerx24-Oct-19 7:36
professionaljkirkerx24-Oct-19 7:36 
AnswerRe: Listbox event, ItemSelectionChanged, how to wait for last event, or cancel events Pin
Dave Kreskowiak24-Oct-19 15:35
mveDave Kreskowiak24-Oct-19 15:35 
GeneralRe: Listbox event, ItemSelectionChanged, how to wait for last event, or cancel events Pin
jkirkerx25-Oct-19 10:56
professionaljkirkerx25-Oct-19 10:56 
Questionhow i create a video conference program Pin
Member 1462143013-Oct-19 8:09
MemberMember 1462143013-Oct-19 8:09 
AnswerRe: how i create a video conference program PinPopular
Dave Kreskowiak13-Oct-19 16:05
mveDave Kreskowiak13-Oct-19 16:05 
QuestionStepper Motor control code Pin
Member 1462018511-Oct-19 12:10
MemberMember 1462018511-Oct-19 12:10 
AnswerRe: Stepper Motor control code Pin
Eddy Vluggen11-Oct-19 12:44
professionalEddy Vluggen11-Oct-19 12:44 
AnswerRe: Stepper Motor control code Pin
CHill6021-Oct-19 5:37
mveCHill6021-Oct-19 5:37 
QuestionMove to Windows 10 on HP messes up display Pin
Todd (10789346)9-Oct-19 4:30
MemberTodd (10789346)9-Oct-19 4:30 
AnswerRe: Move to Windows 10 on HP messes up display Pin
Gerry Schmitz9-Oct-19 9:18
mveGerry Schmitz9-Oct-19 9:18 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Todd (10789346)17-Oct-19 6:25
MemberTodd (10789346)17-Oct-19 6:25 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Gerry Schmitz17-Oct-19 15:26
mveGerry Schmitz17-Oct-19 15:26 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Eddy Vluggen17-Oct-19 23:10
professionalEddy Vluggen17-Oct-19 23:10 
AnswerRe: Move to Windows 10 on HP messes up display Pin
jkirkerx10-Oct-19 14:11
professionaljkirkerx10-Oct-19 14:11 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Todd (10789346)17-Oct-19 6:32
MemberTodd (10789346)17-Oct-19 6:32 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Dave Kreskowiak17-Oct-19 13:12
mveDave Kreskowiak17-Oct-19 13:12 
AnswerRe: Move to Windows 10 on HP messes up display Pin
Todd (10789346)18-Oct-19 7:31
MemberTodd (10789346)18-Oct-19 7:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.