473,466 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Opening a Secured Database

6 New Member
Hello,

I am running Access 2000 and have 2 databases. From database 1 I need to open database 2. The problem is that I set up user level security using the Access wizard so I have a workgroup file that must be used to open the database which creates a shortcut to the database that looks like it routes itself through the workgroup file. I have included the shortcut target code below but have been unsuccessful in including it in either an Access hyperlink or in VB code using the onClick() function.

"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "T:\shr\Tool Order Management\Backup\Tool Database.mdb" /WRKGRP "T:\shr\Tool Order Management\Backup\Secured.mdw"

Any help?

Thanks
Nov 5 '07 #1
3 1859
Rabbit
12,516 Recognized Expert Moderator MVP
Expand|Select|Wrap|Line Numbers
  1. Call Shell("""C:\Program Files\Microsoft Office\Office\MSACCESS.EXE"" ""T:\shr\Tool Order Management\Backup\Tool Database.mdb"" /WRKGRP ""T:\shr\Tool Order Management\Backup\Secured.mdw""")
  2.  
Nov 5 '07 #2
timekeepumd
6 New Member
Expand|Select|Wrap|Line Numbers
  1. Call Shell("""C:\Program Files\Microsoft Office\Office\MSACCESS.EXE"" ""T:\shr\Tool Order Management\Backup\Tool Database.mdb"" /WRKGRP ""T:\shr\Tool Order Management\Backup\Secured.mdw""")
  2.  
Thanks much. The code worked like a charm.
Nov 8 '07 #3
Rabbit
12,516 Recognized Expert Moderator MVP
Not a problem. Good luck.
Nov 8 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Norman Fritag | last post by:
Hi there, I would like to retrieve of a secured database the Username and the group that he / she belongs to, to apply access rights to some button click events, which are accessing forms that...
4
by: xunitinmullik | last post by:
Hello ppl: I am facing a problem that I ahve never experienced before with the secured database. I created an MS Access 2000 application (.mdb) using MS Access 2002 and secured it using exactly...
2
by: Zlatko Matić | last post by:
Hi! How to prevent opening the database window (tables, queries, modules) in MDE? I have created MDE and set in Startup that database window is not visible. I also disabled Access shortcut...
3
by: TK | last post by:
Excuse me for multiple posting because I've posted this message to aspnet.security NG but have not got any response yet. I'm building an ASP.NET application works in Forms Authentication mode...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
2
by: rdemyan via AccessMonster.com | last post by:
I'm getting Error 3051 with the following snippet of code. What I'm trying to do is to open an update version on the server (ServerFile) to check it's version number in a front-end...
0
by: rdemyan | last post by:
I'm trying to use TransferDatabase to transfer tables from an external secured DB to a database created in the code. I would like to kind of use automation, although OpenCurrentDatabase apparantly...
1
by: securedcardss | last post by:
http://card.2youtop.info secured credit card card credit instant secured card cash credit secured card
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.