Current location - Music Encyclopedia - QQ Music - How to create a photo album using VB programming?
How to create a photo album using VB programming?

First put the photos of those people into a folder (such as the D:\PHTO folder, and name it the name of the photo owner; name + 1; name + 2.... ..)

Create a new project, add TEXT1.TEXT, button, and IMAGE control.

The button click code, I will only say roughly:

IF TEXT1.TEXT = "My own photo" THEN

image.picture=loadpicture("d:\photo\" + TEXT1.TEXT + ".JPG")

Then add A button with the name: Next

Click code: image.picture=loadpicture("d:\photo\My own photo" + "1" + ".JPG")

BitBlt

StretchBlt