Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lenny's File macro (DSOfile version)

Status
Not open for further replies.

J-C

Mechanical
Sep 8, 2003
1,066
I'm an API noob at worst but was trying to run Lenny's InforFileBuild(DSO) version.


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
 
Replies continue below

Recommended for you

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.

[bat]Honesty may be the best policy, but insanity is a better defense.[bat]
-SolidWorks API VB programming help
 
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.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor