Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

After Computer crash program cant find vba6.dll

Status
Not open for further replies.

dpepper

Technical User
Jul 19, 2005
12
US
Hello,

My hard drive crashed a while back, the drive was cloned everything was saved, sort of except my email. When my friend set up my computer he did it under a different username spelling my name incorrectly 'deloris' so he made another 'dolores'.

All my files where there but they didn't recognize the new name 'dolores' and many I had to install again because they were missing files.

I have a program called style writer that works in microsoft word but when I try to use the program it can't find VBA6.dll, I tried reinstalling it and the came pop up comes up. If I can find one online (if possible) what folder would I put it in?

Any help would be appreciated

Sincerely,
Dolores
 
Register the .dll with Regsvr32 and it doesn't matter what directory it is in.

At a command prompt, or in the Run dialog, type:

regsvr32 "C:\path\to\file\VBA6.dll"

The thing you really need to watch out for is the version of the .dll.


I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
Hi jbenson,

I typed the above in RUN and it popped up
loadlibray("C\path\to\file\VBA6.dll")
failed - The specified module could not be found

What should I do next?

I do have visual basic 6.0 (which I did reload) and visual studio 6.0 (which I never reloaded) could the file be on there?

I had trouble with Microsoft Money too. I actually had to use an older version, it wouild not install from my disk...crazy

sincerely,
Dolores
 
You have to put the REAL path to the DLL in there, which is what jebenson was trying to indicate. You'll have to find where the file is located first, then run the regsvr32 command again, with the actual path on your computer.

Lee
 
Sorry for being confusing...I usually explain when I type things like "C:\path\to\file".


I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
Given that you seem to be talking about StyleWriter in Word, I'd suggest that you actually want the Office VBA dll, not the VB one (they are somewhat different), which is normally located in C:\program files\common files\microsoft shared\vba\vba6\vbe6.dll
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top