Bill,
I already made this change about a year ago and it has worked fine for a year or so.
Now it is a new error.
Line: 54
Char: 13
Error: Permission Denied: 'ParentWindow.Screen'
Code: 800A0046
Source: Microsoft VBScript runtime error!
I have copied a few of the lines below.
53 With .Document
54 With .ParentWindow.Screen
55 oIE.Left = 300
56 oIE.Top = 300
57 End With
I tried to comment it all out but I just ended up with a different error.
Any thoughts?
Bill
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Tuesday, January 6, 2015 10:14 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] Re: VBS auto updater error
Bill
Sorry for not being clear and for taking so long to respond.
Find this bit of code:
With .ParentWindow.Screen
oIE.Left = (.availWidth - oIE.Width) \ 2
oIE.Top = (.availheight - oIE.Height) \ 2
End With
Change to this:
With .ParentWindow.Screen
oIE.Left = 300
oIE.Top = 300
End With
Or just remove that entire bit. While it used to work in IE 7 it is no longer supported in later versions.
Bill Mosca
---In MS_Access_Professionals@yahoogroups.com, <Bill.Singer@at-group.net> wrote :
Bill
I understand the concept of putting in a fixed number and that would be fine with me.
However, I do not know this code so I do not have any idea where to make the change.
I put the code below.
53 With .Document
54 With .ParentWindow.Screen
55 oIE.Left = 300
56 oIE.Top = 300
57 End With
Would you be willing to show me where the fixed measurement goes?
Thanks for any help you can provide. I will just do it the hard way for not and get everyone new copies of the database as I can.
Bill
MN
-12 this morning.
Posted by: "Bill Singer" <Bill.Singer@at-group.net>
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (10) |
Tidak ada komentar:
Posting Komentar