D
djw
I am trying to use VBA in one program (Access) to perform some
operations in another (Microstation V8). When I run the code the
first time I get error 462. The second time I run the code it works
fine. Here is the error message:
Run-time error '462':
The remote server machine does not exist or is unavailable
An example line of code that will give the error is:
With MicroStationDGN.Application.CadInputQueue
.SendCommand "PRINT COLORMODE MONOCHROME"
.SendCommand "PRINT FULLSHEET ON"
.SendCommand "PRINT maximize
.SendCommand "PRINT EXECUTE "
End With
I have the "Bentley MicroStation DGN 8.0 Object Library" reference
turned on for the project.
Thanks for any help you can provide,
David
operations in another (Microstation V8). When I run the code the
first time I get error 462. The second time I run the code it works
fine. Here is the error message:
Run-time error '462':
The remote server machine does not exist or is unavailable
An example line of code that will give the error is:
With MicroStationDGN.Application.CadInputQueue
.SendCommand "PRINT COLORMODE MONOCHROME"
.SendCommand "PRINT FULLSHEET ON"
.SendCommand "PRINT maximize
.SendCommand "PRINT EXECUTE "
End With
I have the "Bentley MicroStation DGN 8.0 Object Library" reference
turned on for the project.
Thanks for any help you can provide,
David