Actually i have no idea how this kinda disks works. Its the first time i deal with such disk. I putted some pictures in a folder named as oldpics and with a vb code i wanna reach it but some how i just cant find the picture inside it and its imposible cause i know that the picture is in that folder.
'This A_PicRoad is = "\\198.162.1.20\oldpics\" which is exist for sure
If mdiMain.fsoexist.FileExists(mdiMain.A_PicRoad & stock & ".jpg") Then
pic1.Picture = LoadPicture(mdiMain.A_PicRoad & stock & ".jpg")
Set img = New ImageFile
img.LoadFile mdiMain.A_PicRoad & stok & ".jpg"
End If
'But somehow cant find the picture and leaving this if statement without processing anything..
so what could be causing that?
Edit: I just remember that at first i must enter a username and pass while reaching \\198.162.1.20\
after that i can reach \\198.162.1.20\oldpics\
..
If it's a normal SMB network share, then you must use a full valued UNC path (Note the preceding \\
)
\\198.162.1.20\oldpics\
You can also map a drive and access it via a drive letter.