hi! am making a sticky note program. where in i have 2 buttons for "add" and delete" and 15 richtextboxes not visible.
So for eveytime i click the "add" button , there will be a one richtextbox to appear for a new note. can someone help me how to code the part for the add button wherein the richtextboxes are incrementing.
i was like
Dim i As richtextbox

and it was all so wrong. so noob of me. someone help me pls. :)

Instead of having the unused controls hidden I think you'd be better off just creating them on the fly as needed. There is a code snippet for runtime creation of controls here. Put the controls inside a Panel with AutoScroll = True and you will get scroll bars as needed.