WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Errors

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Error 514: Device Not Currently Available using NetGetCon on LPT

Keywords:    netgetcon 514 LPT   512 

Question:

I'm having problems with NetGetCon. I'm getting the error message, "Error 514: Device Not Currently Available".
        RESOURCE=NetGetCon(DEVICE)
The DEVICE variable in turn queries LPT1, LPT2 and LPT3 (tried with colons appended, i e LPT1:, but WB didn't like that).

The code works on some machines and not others. All are running Windows 95. Any idea why?

Answer:

That error indicates that the device is not currently connected, but it is a persistent (remembered) connection. If you don't care, you can suppress it with ErrorMode(@OFF) just around the wntgetcon, w95getcon, or netgetcon functions.

If you get the 512, "512: Device not currently connected" error message, the same situation as above probably exists.


Article ID:   W13532
Filename:   Error 514 - 512 with ...GetCon.txt
File Created: 1999:04:15:16:54:40
Last Updated: 1999:04:15:16:54:40