winsock

Hi,

when I use the microsoft winsock OCX, how I can implement an event and use the methods.

I have no problems to use socket in VB but in Navision I haven’t any idea.

You should better use the Navision Communication Components (ComCom) and the Socket Bus Adapter (SBA).

This is an Automation Server which supports events and all the other things you need.

Navision does not support events for OCXs.

You find the Components either in the SDK folder of the Navision CD or it is also part of the “Commerce Gateway” feature when installing the client.

For examples on how to use the bus adapters (there are also BAs for Message Queue and Named Pipes) you can find in the devguide.chm which is included in the SDK