RPC unavailable error in Win 2003 serve

G

Gautam

I am using Dim oPort As Por
Dim oPrinter As Printe
Dim oMaster As PrintMaste

oPort = New Port(
oPrinter = New Printer(
oMaster = New PrintMaster(
' for adding the port---------------------------
oPort.ServerName = "\\" & strServerNam
oPort.PortType =
oPort.PortName = strPortNam
oPort.HostAddress = strHostAddres
On Error Resume Nex
oMaster.PortAdd(oPort
The error occurs at the above line. Please help

Thanks
Gautam.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,133
Messages
2,570,776
Members
47,334
Latest member
danialcarter

Latest Threads

Top