×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-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!
  • Students Click Here

*Eng-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.

Students Click Here

Jobs

Lenny's File macro (DSOfile version)

Lenny's File macro (DSOfile version)

Lenny's File macro (DSOfile version)

(OP)
I'm an API noob at worst but was trying to run Lenny's InforFileBuild(DSO) version.

http://www.lennyworks.com/solidworks/SWXMacros/InfoFileBuild(DSO).zip

I think the problem is the Dsofile.dll which this macro relies upon to read the file properties. The Dsofile makes this faster I've read. Problem is the Dsofile version has changed and thus the code to run it has changed. Lenny's version was coded for Dsofile v1.2 while v2.0 is current.

Does anyone have a fixed version of this macro by chance?

Jason

SolidWorks 2007 SP4.0 on WinXP SP2
SolidWorks 2008 SP0.0 on WinXP SP2

RE: Lenny's File macro (DSOfile version)

You might just need to change the reference to the DSOfile.dll. Do this under "Tools --> References" in your macro editor.  Deselect the old DSOfile and select the one you have installed.

batHonesty may be the best policy, but insanity is a better defense.bat
http://www.EsoxRepublic.com-SolidWorks API VB programming help

RE: Lenny's File macro (DSOfile version)

The simplest thing to do would probably be just to install the 1.2 version.  I've uploaded it here.  Just put it somewhere other than where version 2 is, go to the command prompt, and type:

regsvr32 "[the directory path]\dsofile.dll"

I'm not sure how long I've had both of them on my machine, but I have no problems out of either.

RE: Lenny's File macro (DSOfile version)

(OP)
Version 1.2 did the trick.....a lot easier than for a rookie VB programmer like myself to try and recode it to work.

Jason

SolidWorks 2007 SP4.0 on WinXP SP2
SolidWorks 2008 SP0.0 on WinXP SP2

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 Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

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

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


Resources