Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Windows PE and accessing an Access-DB

Featured Replies

Hello.

I am using Win PE 2.0

I am trying to connect to an MDB-file through an HTA-script.

But I only get this error.

safety settings on this computer prohibit accessing a data source on another domain

How can I change the settings for this in WinPE?

Or can I access to the DB in another way.

I am now trying this method.

Set Con = CreateObject("ADODB.Connection")
Con.open("driver={Microsoft Access Driver (*.mdb)};dbq=Z:\Share\Scripts\computers.mdb")

I have also tried with Jet4, but that doesn't work at all.

  • Author

When I try the same thing with an VBS-file everything work as it should.

Well, that does not help me cause the system depends on HTA. :-(

How have you guys did to access some sort of database through HTA?

I've never tried accessing a database, but I believe your issue results from IE zone settings. In your software registry hive goto the key: SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones. For each zone (0-4), ensure that the value for the 1406 entry is 0. I'm fairly certain that zone 3 is the only one that matters, but I'm not sure so just try all of them.

Heres a M$ page about zones and their settings: http://technet2.microsoft.com/windowsserve...3.mspx?mfr=true

Edited by zorphnog

  • Author

Thanks for your reply.

I change the settings for 1406 on all zones but I still get the error-message.

I think that I just might call an VBS-file to do the database-tasks for me and then pass the info to the HTA in some way.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.