On Thu, 15 Apr 2004 20:14:33 GMT, "PC Datasheet" <sp**@nospam.spam>
wrote:
"Denis" <po*****@hotmail.com> wrote in message
news:89**************************@posting.google. com... I am trying to launch an .mdb file via javascript. I do not need to
do anything but open the application. It is able to open the
application but for some reason it opens and then closes. At first I
thought it may be a permission problem as far as writing the .ldb file
to disk, but I added every single user and gave them write permissions
to the folder and there is still no change.
Has anyone been able to get this to work?
Thanks in advance.
My code;
var AccessApp = new ActiveXObject("Access.Application.10");
AccessApp.Visible = true;
AccessApp.OpenCurrentDatabase("c:\\case\\case.mdb" );
Denis,
Just curious ----
("c:\\case\\case.mdb")
Why the double backslashes??
Steve
PC Datasheet
\ is the escape character in JScript strings and regular expressions.
IOW the character that follows the \ is treated as a literal character
and loses any special meaning it has (if any).
Regards,
Steve
--
Please post questions to the newsgroup; everyone benefits.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sample code subject to
http://www.microsoft.com/info/cpyright.htm