I have program he moves pictures from file in excel worksheet and print
out.I wont every time I add path of picture in list1.I wont to have view
picture in image1.
Sorry about my Englich.
Thanks anyway
I have program he moves pictures from file in excel worksheet and print
out.I wont every time I add path of picture in list1.I wont to have view
picture in image1.
Sorry about my Englich.
Thanks anyway
Hello Ivica Lopar,
Here is the code to load Image1 with a picture from Listbox1, ListBox1 must contain the full path to the picture, e.g. "c:\My Document\Pictures\img001.jpg"
Dim ImgPath
If ListBox1.ListIndex = -1 Then Exit Sub
ImgPath = ListBox1.List(ListBox1.ListIndex)
Image1.Picture = StdFunctions.LoadPicture(ImgPath)
Sincerely,
Leith Ross
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks