From your form:
WITH Thisform
DO ReadRegValues WITH .TxtBox1.Value,.TxtBox2.Value, .TxtBox3.Value
ENDWITH
Into your .PRG
LPARAMETERS tcValue1, tcValue2, tcValue3
.... Your Code
....
HTH
>I want to pass four text boxes values to my program
>text1, text2, text3, text4 all the four values i need to pass.
>do "Programs\readregvalues.prg"
>Can you please tell me how i can send the 4 text box values to my program when i call it.