Search results for query: *

  1. P

    What happens to WinService when logged off?

    Hi,I have a Windows Service that connects to remote drives using UNC paths (no drive letters). I make the connection with the remote drive in my OnStart procedure. I run the service with my username so that the service can have enough privelege to do its job. My questions are:1. What happens...
  2. P

    How to map network drive in Windows Service

    I have to apologize I didn't post this sooner. This past weekend I decided to give it my last try and I still couldn't verify the connection using command console NET USE command (the connection sought was not listed). Frustrated, I went ahead and tried to open a file on the remote drive, and...
  3. P

    How to map network drive in Windows Service

    Hi John, Thanks again for the reply. I did try to logon as local system with the option to interact with desktop enabled. But it's still not working for me. I use NET USE to see all the network connections to my machine and it is not there. Do you think I have to use WMI? What's the...
  4. P

    How to map network drive in Windows Service

    John, Thank you for your reply. I'm following your first advice on using Win32 API. I'm using WNetAddConnection2 to connect to the network drives with the following NETRESOURCE: nr = New NETRESOURCE nr.lpRemoteName = UNCPath nr.lpLocalName = Nothing<-----I don't want a drive letter...
  5. P

    How to map network drive in Windows Service

    I am coding a Windows Service application in VB.NET that needs to map/mount multiple network drives using UNC path in its OnStart procedure so I can access the drives later. Normally I use NET USE to map the network drives to be used in my Win32 application and it works. But when I tried the...
  6. P

    How to verify other program on network is running

    Hi JohnH, Thank you very much for your reply. This looks exactly what I need. Thanks again.
  7. P

    How to verify other program on network is running

    Hello, I would like my application to verify if another one of my application is currently running or not. Both programs are Win32 applications. The two applications are running on two different computers on the network. Please point me to a direction so I can start reading/researching more...
Back
Top