Cetin--
>Declare integer WNetCancelConnection in WIN32API String lpName,short lForce
>Declare integer WNetAddConnection in WIN32API ;
> string lpRemoteName, ;
> string lpPassword, ;
> string lpLocalName
>
>*Add connection
>WNetAddConnection("\\W0028109792\DATAWARE", "", "R:")
>
>*Remove connection
>*WNetCancelConnection("R:",0)
>
>PS: WNetAddConnection2 and WNetCancelConnection2 supersedes and have more options for connections like dipslaying a prompt for username and pw for user to connect.
I did the old cut and paste and my R drive does not appear. I moved the WnetCancelConnection in front of the WNetAddConnection.
Any thoughts on what the problem might be? How do I get the errors from these guys?
Tim
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only