Hello experts i need help about screenshot code.

i have two form ( Form1 & Form2 ) form1 have one button and picturebox. and form two is empty.
i want to take screenshot with form width and Height. mean's where i move form2 and press Command1 button on form1 then it take a screenshot that area where is my form2. and save it in (c:/ drive)
my form2 is moveable so i can move my form anywhere.
Here i attached Example pictures.

i am very thanksfull to you .
Regard Razamughal

You left out your code and where you are having problems. How to take a screenshot is on the web so that can't be the problem. In VB6 a form's properties can be found and more so that's not the issue either.

Try again but share where you got stuck.

Finally, in some Windows you won't be able to save to the root folder of C: ( %SystemRoot% ).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.