Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Posts
    1

    Question Unanswered: how di I protect my data in Access;basic question

    Hi,
    I have written an application in javasript/vbscript, running in an .hta file. the data is stored in Access. Nobody shall see the data exept my programm.
    I tried it to create users in an .mdw file but I get errors when connecting from JS to the DB.
    any suggestions

    <script language="javaScript">
    1 var connJS = new ActiveXObject("ADODB.connection");
    2 connJS.Properties("Jet OLEDBystem Database")="E:/User.mdw";
    3 connJS.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\adb1.mdb;UserId='user';Password='xxxx';M ode=ReadWrite|Share Deny None;Persist Security Info=False");
    </script>

    I got an can´t find objekt ERROR in 2 if I delete this row the error is: cant find .mdw file

    Thank you
    Frank

  2. #2
    Join Date
    Oct 2003
    Location
    US
    Posts
    343

    Re: how di I protect my data in Access;basic question

    Try using E:/User.mdb in your line 2. It may fix the problem.


    Originally posted by FrankNStein
    Hi,
    I have written an application in javasript/vbscript, running in an .hta file. the data is stored in Access. Nobody shall see the data exept my programm.
    I tried it to create users in an .mdw file but I get errors when connecting from JS to the DB.
    any suggestions

    <script language="javaScript">
    1 var connJS = new ActiveXObject("ADODB.connection");
    2 connJS.Properties("Jet OLEDBystem Database")="E:/User.mdw";
    3 connJS.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\adb1.mdb;UserId='user';Password='xxxx';M ode=ReadWrite|Share Deny None;Persist Security Info=False");
    </script>

    I got an can´t find objekt ERROR in 2 if I delete this row the error is: cant find .mdw file

    Thank you
    Frank

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •