ExifTool Forum

ExifTool => Newbies => Topic started by: steve3456 on June 19, 2016, 07:56:46 AM

Title: Exiftool from VB.
Post by: steve3456 on June 19, 2016, 07:56:46 AM
Can you help me please?

I am trying to write an Exif tag editor (for .jpg images).

Exiftools seems to show promise, but I need to access it through Visual Basic (to set tags).

I do not understand why the line

"exiftool -csv  d:\test\_DSC0214.JPG >d:\test\exifoutput.csv"

Works from the command prompt but.

'  Dim shellstring As String = "exiftool -csv  d:\test\_DSC0214.JPG >d:\test\exifoutput.csv" '

Shell(shellstring)

Does not work within Visual Basic, it does not give them error but it does not create file either.

Furthermore-

   Process.Start(shellstring)
produces  an error-
"win32exception was unhandled"
"the system cannot find the specified file"

Apparently this is something to do with me running a 64bit system

Windows Version   Microsoft Windows 10 Pro Build 10586 64-bit

Allthough none of the online fixes seem to work.

Visual Basic 2010 express.
Thanks,

Steve

Title: Re: Exiftool from VB.
Post by: Hayo Baan on June 19, 2016, 03:23:33 PM
Looks like the exiftool command can't be found from within VB. Try specifying its full path instead.