473,383 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Connect to workgroup file (mdw) thru code

Can I connect to a workgroup information file (MDW) thru code?

I have a user level secured database and I want to automatically connect to the mdw file once I double clicked the database. Is it possible?

My purpose is to hide the mdw file from the user although I have given them access to it. I don't want them to know the location of the mdw file so I would like it to hide thru code in Access. There are password cracker software (even crack the mdw file) available on the internet for a small amount of 40 US$ you could break all the secured access database in the world.

Thanks,
May 27 '08 #1
3 6596
ADezii
8,834 Expert 8TB
Can I connect to a workgroup information file (MDW) thru code?

I have a user level secured database and I want to automatically connect to the mdw file once I double clicked the database. Is it possible?

My purpose is to hide the mdw file from the user although I have given them access to it. I don't want them to know the location of the mdw file so I would like it to hide thru code in Access. There are password cracker software (even crack the mdw file) available on the internet for a small amount of 40 US$ you could break all the secured access database in the world.

Thanks,
You can use the /wrkgrp <WIF Path> Command line Option within a Shortcut to open an Access Database using the specified Workgroup Information File but unfortunately there isn't much Security in this approach unless you can disable the Shortcut View.
May 27 '08 #2
Thanks Adezii,

Right now I'm using a shortcut that displays the location of the mdw file. This is the reason why I want to know if there is a code I could use that could connect to a mdw file at start up from the form I would use as a start up.
May 29 '08 #3
ADezii
8,834 Expert 8TB
Thanks Adezii,

Right now I'm using a shortcut that displays the location of the mdw file. This is the reason why I want to know if there is a code I could use that could connect to a mdw file at start up from the form I would use as a start up.
Personally, I've never used it, but you can experiment with the SetDefaultWorkgroupFile Method of the Application Object as in:
Expand|Select|Wrap|Line Numbers
  1. 'The following example sets the default Workgroup file to the File
  2. 'Test.mdw in the directory C:\Documents and Settings\Security\
  3. 'Application Data\Microsoft\Access\.
  4.  
  5. Application.SetDefaultWorkgroupFile _
  6.   path:="C:\Documents and Settings\Security\" _
  7.   & "Application Data\Microsoft\Access\Test.mdw"
NOTE: It may not be practical in your case, since you would probably have to Close, then Re-open the Database in order to be effective.
May 29 '08 #4

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

Similar topics

3
by: Larry R Harrison Jr | last post by:
I have an Access 97 secured database which I designed myself. I have the workgroup file and I have been both been trying to access it using a custom shortcut--which I updated to reflect the current...
1
by: raydelex | last post by:
I am new to securing a database with logins. My questions is: I want only one database to use a new Workgroup file that I have created, not all the Access databases that I bring up under my...
13
by: Javier Gomez | last post by:
Is it posible to change by code (in a form) the active .mdw by another one ? When I open the DB I have the system.mdw active after some procesess I need to change to another secure.mdw and make...
1
by: Angelo | last post by:
I recently created a workgroup for an access database and it works fine. But I have other versions of that same database (beta copies) for which I didn't create that workgroup file. They have...
2
by: kathyk | last post by:
Hi All, I am using Access 2003. I have a function that I have been using to log on to linked tables using the system ODBC and it has been working great. Now I want to do the same thing using a...
2
by: dogman_2000 | last post by:
Hi All I am new to working with Access workgroup files and have a question. I joined a new access workgroup (one which was already created by a previous access developer) via the access Tools...
6
by: loissuha | last post by:
I Have WorkGroup File ( System.mdw ) and all users in this file .... when i want to show or edit permission to user i open the security on the menu Tools -------> Security -------> User And...
0
by: iworldsatellite | last post by:
hi i m developing an accounting system, i m creating separate database for each company's account so want to implement user-level security wizard from vb code, so i need to create new workgroup...
1
by: gihan chamara | last post by:
i have only owner name and pid of a access database. can i create .mdw file and open database using that. if i can please tell me tha way. please, database is very important to me . *** Sent...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.