INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Photoshop CS6 / VB6 / Scripting / Actions / Windows 8 Conundrum

Photoshop CS6 / VB6 / Scripting / Actions / Windows 8 Conundrum

Photoshop CS6 / VB6 / Scripting / Actions / Windows 8 Conundrum

(OP)
For years, I have used Visual Basic 6 to control Photoshop batching to create large numbers of images (often more than 100,000). There have been occasional wrinkings when upgrading through the various Photoshop versions (beginning with CS2), but the thousands of lines of VB code I have written have proven reusable until now. I recently upgraded to CS6 and Windows 8 and found (to my dismay) that VB6 is no longer supported, and only partially functional, under Windows 8. Also CS6 appears to have lost some of it's scripting functionality.

The sticky problem is that I can only create one instance of the Photoshop.Application object. I must close Photoshop and allow the scripting code to open it (otherwise, I get an "unable to create ActiveX" error). Then, after creating the photoshop object, it is only partially functional. I can't, for instance, drag in files from a folder (drag and drop is disabled). I have to restart Photoshop first.

Searches through the internet resources have drawn blanks. Has anyone else encountered this problem? I could have posted this question in at least four forums... but I suspect the problem lies with CS6.

Add water (makes its own sauce).

RE: Photoshop CS6 / VB6 / Scripting / Actions / Windows 8 Conundrum

Quote:

but I suspect the problem lies with CS6

You're probably correct and I'm sure you don't want all that code going to waste; have you tried any Adobe forums or Adobe support?

sam

RE: Photoshop CS6 / VB6 / Scripting / Actions / Windows 8 Conundrum

(OP)
I do thank you for the rapid reply. I discovered, accidentally, that the problem wasn't the fault of CS6. VB6 and CS6 worked together without error when I ran the same code from the compiled EXE. I rarely compile my programs, since I like to modify the code on-the-fly in break mode (I might have to learn to live without that habit now).

There are no more problems creating the ActiveX, drag and drop into Photoshop works the way it should, Photoshop now returns the proper error codes, and gone are all the other problems I didn't bother to mention. It appears that the VB6 IDE (not any given VB6-created program) has limited functionality under Windows 8. This assumption may be way off track... but it seems to work. Thanks again.

Add water (makes its own sauce).

RE: Photoshop CS6 / VB6 / Scripting / Actions / Windows 8 Conundrum

Thanks FF

Thanks for the update that's good information and I'm glad you were able to fix your problem.

Sam

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close