i have posted under this subject before except it is different than the last time and i am trying to use the caps in this post to distinguish the code i am trying to get accross
hi
i have a picturebox with a picture image in it the image name is: PICADDRESS.BMP.
this is the code i am using to get it to paper:
Printer.PaintPicture picAddress, 7600, a + 500, 4000, 2500
is what i want to do is put this image in four spots on a sheet of paper and so i am using this counter:
a = 200
a = a + 3800
i then also would like to be able to enter a START NUMBER and a END NUMBER and then have it to print this image on multiple pages until the start and end number have been reached. here is the code i have been trying to use to accomplish this task. there always needs to be four images per page except if the total number of images comes up short shuch as if i had 15 images they would end up printing on a total of 3 and a part of another sheet of paper or if i have 1 image then it will print on a part of a single sheet of paper
Dim nIndex
Dim start, end, a
start = Text1
end = Text2
a = 200
For nIndex = start To end
Printer.PaintPicture picAddress, 7600, a + 500, 4000, 2500
a = a + 3800
next nIndex
Printer.NewPage
End
End
i need to be able to use numbers such as:
START NUMBER: 1 THROUGH 4000
END NUMBER: 1 THROUGH 4000
THANK YOU
STEPHEN MENTZER
hi
i have a picturebox with a picture image in it the image name is: PICADDRESS.BMP.
this is the code i am using to get it to paper:
Printer.PaintPicture picAddress, 7600, a + 500, 4000, 2500
is what i want to do is put this image in four spots on a sheet of paper and so i am using this counter:
a = 200
a = a + 3800
i then also would like to be able to enter a START NUMBER and a END NUMBER and then have it to print this image on multiple pages until the start and end number have been reached. here is the code i have been trying to use to accomplish this task. there always needs to be four images per page except if the total number of images comes up short shuch as if i had 15 images they would end up printing on a total of 3 and a part of another sheet of paper or if i have 1 image then it will print on a part of a single sheet of paper
Dim nIndex
Dim start, end, a
start = Text1
end = Text2
a = 200
For nIndex = start To end
Printer.PaintPicture picAddress, 7600, a + 500, 4000, 2500
a = a + 3800
next nIndex
Printer.NewPage
End
End
i need to be able to use numbers such as:
START NUMBER: 1 THROUGH 4000
END NUMBER: 1 THROUGH 4000
THANK YOU
STEPHEN MENTZER