View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
joel[_824_] joel[_824_] is offline
external usenet poster
 
Posts: 1
Default How to code macro to disconnect internet connection?


Are you trying to shutdown the entire modem or just the IP address
where the files are located? I think you would have to shutdown the
modem. You would need to find the name of the process in the Task
Manager and kill the process. It is possible to go through the task
list of active processes and kill the particular process associated with
the modem. You would need to do this by using the
windows\system32\win32.dll


The website below has a similar request using a phone dialer. the code
accesses the Win32.dll using VBA library functions.

'How to terminate process with VBA? - Microsoft Access / VBA answers'
(http://tinyurl.com/y96yzfp)


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=189248

http://www.thecodecage.com/forumz/chat.php