How do you register ocx's using vb code.

I thought it would be like the code below but it comes up with an error.

VB Code:
  1. Shell "regsvr32 (app.path + "\data\ocx\mscomctl.ocx")"

Thanks in advance chris1990