Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Multiuser / Networking / October 2005

Tip: Looking for answers? Try searching our database.

Multi User.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Db_Stuff - 24 Oct 2005 14:33 GMT
I would like to know if there is a way to retrieve the name of any computer
that is connected to an access database that is residing on the server. And
if so, how do I go about performing this action? Any help in this area will
be greatly appreciated.

Thanks
Rogelio Pérez - 24 Oct 2005 15:50 GMT
>I would like to know if there is a way to retrieve the name of any computer
>that is connected to an access database that is residing on the server. And
>if so, how do I go about performing this action? Any help in this area will
>be greatly appreciated.
>
>Thanks

HI
Try This
Function CompName()
   Dim WshNetwork
   Set WshNetwork = CreateObject("WScript.Network")
   CName = WshNetwork.computername
   MsgBox CName
End Function
Douglas J. Steele - 24 Oct 2005 22:23 GMT
>>I would like to know if there is a way to retrieve the name of any
>>computer
[quoted text clipped - 14 lines]
>    MsgBox CName
> End Function

Or, likely more efficient (since you don't have the overhead of loading
WScript.Networks) is the API approach illustrated in
http://www.mvps.org/access/api/api0009.htm at "The Access Web"

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.