Home > Software engineering >  Help to stick
Help to stick

Time:09-23

Doing a query system, use SQL server and vb6, now images in the database in the form of path, but how to use vb vb to read, such as input kobe Bryant, he showed his photos! A great god, please give directions

CodePudding user response:

If is a path, the path out, with a picturebox shows good,
If is the data, to come out of the school to save a file, reoccupy picturebox read out,

CodePudding user response:

If it's me, direct call baidu image search,

CodePudding user response:

Check my hair CSDN blog articles,

CodePudding user response:

VB to read the image needs to be the absolute path + name + extension, don't know you what is stored in the path to the storage, if is just a path, not including the file name and extension, VB is unable to read and display,
If the path is stored images of absolute path + name + extension, or pictures of relative path + name + extension, you can:
Image1. Picture=LoadPicture (RS (" path ")) 'absolute path
Image1. Picture=LoadPicture (App) Path & amp; "" & amp; RS (" path ")) 'relative path
  • Related