I want ot write an active X control which can write binery code to a port for example in C++ we have outportb(X125,12).
First how can I write to a port?
second is there any syntax for this in VB?

besr regards,
Sam