Use the parameters collection of your report object in VB.