Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Access
3rdpartyusrgrp
access
activexcontrol
adp.sqlserver
commandbarsui
conversion
dataaccess.pages
developers.toolkitode
devtoolkits
externaldata
forms
formscoding
gettingstarted
internet
interopoledde
macros
modulescoding
modulesdaovba
modulesdaovba.ado
multiuser
odbcclientsvr
queries
replication
reports
security
setupconfig
tablesdbdesign
  
 
date: Thu, 26 Jun 2008 06:59:43 -0400,    group: microsoft.public.access.security        back       


Administer MDW File From VB.NET 2005   
Has anyone had any experience in administering an Access workgroup file from 
within VB 2005 or VB.Net ? I appreciate the direction.
Thanks
Paul
date: Thu, 26 Jun 2008 06:59:43 -0400   author:   Paul Ilacqua

Re: Administer MDW File From VB.NET 2005   
Hello Paul.

Paul Ilacqua wrote:
> Has anyone had any experience in administering an Access workgroup
> file from within VB 2005 or VB.Net ? I appreciate the direction.

Although I have no experience with that in .Net, I guess that the
easiest way will be through the DAO library (a COM component).
Set the SystemDB property of the DBEngine object to the path of your
workgroup file and then use the CreateWorkspace method to "log in" as
a member of the admins group and manage Users and Groups through the
collections of the workspace object.

-- 
Regards,
Wolfgang
date: Fri, 27 Jun 2008 01:08:29 +0200   author:   Wolfgang Kais

Re: Administer MDW File From VB.NET 2005   
Thanks Wolfgang....
     I appreciate the response... I'll give it a whirl. Sad part is in VB6 
this can be done in 5 minutes.
Paul

"Wolfgang Kais"  wrote in message 
news:u0KpWG#1IHA.5048@TK2MSFTNGP06.phx.gbl...
> Hello Paul.
>
> Paul Ilacqua wrote:
>> Has anyone had any experience in administering an Access workgroup
>> file from within VB 2005 or VB.Net ? I appreciate the direction.
>
> Although I have no experience with that in .Net, I guess that the
> easiest way will be through the DAO library (a COM component).
> Set the SystemDB property of the DBEngine object to the path of your
> workgroup file and then use the CreateWorkspace method to "log in" as
> a member of the admins group and manage Users and Groups through the
> collections of the workspace object.
>
> -- 
> Regards,
> Wolfgang
>
>
date: Fri, 27 Jun 2008 07:27:16 -0400   author:   Paul Ilacqua

Re: Administer MDW File From VB.NET 2005   
Hello Paul.

Just add the reference to the COM library (DAO).
Then, why should it take longer than the 5 minutes in VB6?

-- 
Regards,
Wolfgang

"Paul Ilacqua" wrote:
> Thanks Wolfgang....
> I appreciate the response... I'll give it a whirl. Sad part is in VB6 this 
> can be done in 5 minutes.
> Paul
>
> "Wolfgang Kais"  wrote in message 
> news:u0KpWG#1IHA.5048@TK2MSFTNGP06.phx.gbl...
>> Hello Paul.
>>
>> Paul Ilacqua wrote:
>>> Has anyone had any experience in administering an Access workgroup
>>> file from within VB 2005 or VB.Net ? I appreciate the direction.
>>
>> Although I have no experience with that in .Net, I guess that the
>> easiest way will be through the DAO library (a COM component).
>> Set the SystemDB property of the DBEngine object to the path of your
>> workgroup file and then use the CreateWorkspace method to "log in" as
>> a member of the admins group and manage Users and Groups through the
>> collections of the workspace object.
>>
>> -- 
>> Regards,
>> Wolfgang
>>
>>
date: Sun, 29 Jun 2008 22:09:45 +0200   author:   Wolfgang Kais

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us