shoeb_fbd
asked on
LAN Enable/Disable Using VB 6.0
Dear,
I was writing a code to enable and disbale LAN on the PC using VB 6.0. Initially LAN is disbaled, the code enables it perform the action and disables LAN again. The next statement in the code after enabling the LAN connection is Xcopy statement where the copy operation is performed from other PC in LAN. As the enabling of LAN connection takes some time xcopy operation may not succeed. Is there any way of taking the code in to sleep mode for 3 to 4 seconds and then start executing things.
I was writing a code to enable and disbale LAN on the PC using VB 6.0. Initially LAN is disbaled, the code enables it perform the action and disables LAN again. The next statement in the code after enabling the LAN connection is Xcopy statement where the copy operation is performed from other PC in LAN. As the enabling of LAN connection takes some time xcopy operation may not succeed. Is there any way of taking the code in to sleep mode for 3 to 4 seconds and then start executing things.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.