Senin, 29 Desember 2014

RE: [MS_AccessPros] VBS auto updater error

 

Bill Mosca,  … or anyone with knowledge of this error fix.

 

I have been using Bill Mosca’s auto updater to update the FE database to a series of computers.  I have had no issues for the last year and a half.  Now, without any known changes on my part I am getting this error…

 

 

Script:  

Line:      54

Char:     13

Error:     Permission Dedied: ‘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

 

 

Does anyone have any idea what needs to be change to get this working again?

 

Thanks

Bill

MN

 

 

 

From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Bill Mosca
Sent: Tuesday, March 19, 2013 3:30 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: RE: [MS_AccessPros] VBS auto updater error

 

 

Bill

I've seen that error, too. It's the browser. I started seeing it with IE 9. I
haven't found a work-around yet, but since all the lines with that code are just
sizing the splash screen, you can just put in a hard-coded size (I think the
measurements are in pixels). Keep the window small. If I can get a test machine
with IE 9 and figure out a solution, I'll update the script.

And what better place to come to ask about my code than right here.

Regards,

Bill

From: MS_Access_Professionals@yahoogroups.com
[mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Bill Singer
Sent: Tuesday, March 19, 2013 8:27 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] VBS auto updater error

This is somewhat related to Access. For quite a few months I have been
using Bill Mosca's VBS auto updater to update the Front end Access Databases
automatically. I have been using it on two different network and two
different databases. It has been working great until now. One of the
machines in each network gets this error.

Script

\\Server-hcc\users\Public\Documents\FrontEnd\Contacts_FEupdate.vbs
<file:///\\Server-hcc\users\Public\Documents\FrontEnd\Contacts_FEupdate.vbs>
<file:/// <file:///\\>
\\Server-hcc\users\Public\Documents\FrontEnd\Contacts_FEupdate.vbs>

Line: 55

Char: 17

Error: Object doesn't support this property or method: 'availWidth'

Code: 800A0186

Source: Microsoft VBScript runtime error

This is what line 55 is

oIE.Left = (.availwidth - oIE.Width) \ 2

The strange thing is that the computer that is having the issue in each of
the networks is the one that I do the Access programming on. The Users
computer seem to run fine.

Again, I understand that this is not directly an Access question but I do
not know where else to go.

Thanks for any help you can supply.

__._,_.___

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 (7)

.

__,_._,___

Tidak ada komentar:

Posting Komentar