ExifTool Forum

ExifTool => Developers => Topic started by: johnrcrellin on February 22, 2011, 10:47:08 AM

Title: Visual Basic 6 and Windows 7
Post by: johnrcrellin on February 22, 2011, 10:47:08 AM
I know - should I expect to get this working ? But ideally I do want to use ExifTool programatically in Vb6 or VBScript in Access.

The module "modEXIFTool.bas" looked just the job but CreateProcessA fails even if I turn UAC off temporarily and reading the CreateProcess documentation I'm not surprised in Windows 7.

Anyone managed to get this working in Windows 7 ?

I have Exiftool.exe set to "run as administrator"

John Crellin
Title: Re: Visual Basic 6 and Windows 7
Post by: Phil Harvey on February 23, 2011, 08:03:51 AM
There is a chance that someone here may be able to answer this, but I think you would have a greater chance in a visual basic forum.

- Phil
Title: Re: Visual Basic 6 and Windows 7
Post by: johnrcrellin on February 27, 2011, 09:14:55 AM
I've got there - the answer I got to was to go back to basic DOS stuff and make the command line write a temp file and then parse that:

Shell("Cmd /c " & exifTool & " -s " & exifFile & " > " & tempfile, vbHide)

There is some more stuff in the module that doesn't seem to have dependent functions but to do with writing - which I don't want to do...

Thanks

... and now to tap into the undoubted power of ExifTool ! :)

John