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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-Time error 713 Application-defined or object-defined error

Status
Not open for further replies.

501

MIS
Aug 6, 2003
75
FI
There is a VB application that was written in the company. Don't know where the orginal VB files are to edit the program. Everytime it is open on certain machines a "Run-Time error 713 Application-defined or object-defined error".
I went to the link from Microsoft and tried what they suggested about .dll missing with no luck. I installed VB 6 on the machine, but it still won't work. Can this problem be fixed on the local machine, or does it have to be fixed in the program its self?

Any help would be great.
 
Look for DEPENDS.EXE on your amchine and run that. It's a dependency walker which should show the full dependency tree.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Hi 501,

Note that the MS Knowledgebase article you referenced makes reference to
Code:
\program files\common files\designers\msderun.dll
but on my system the path is
Code:
\program files\common files\designer\msderun.dll

Struck this problem on site yesterday - remove the "s" from designers and the problem went away...



Hope this helps ...
 
Oops, looking back, I wasn't clear with that last statement - should be remove the trailing "s" from designers to make it designer (obviously wont work if you make it deigners!!) :)
 
Tried all of the solutions, with no luck. Thanks for the answers.
 
OK, I move the tools folder over from another system that had it on it. I ran the DEPEND.EXE and open up the executiable for the program. It shows me the paths of all the files being used, but I don,t really know what to do next?
 
Look at each of the paths to make sure they exist, and that the components being referenced in those paths exist. If anything is missing, post the filename here and we'll tell you if it's safe to copy over (some files are operating system specific, and if you blindly copy them over you'll break the OS)

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
I checked all of the paths and .DLL's, they all exist and the path are correct.
 
...and do the version numbers match?

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Given that any raised error with a value of 513 or above will result in the "Application-defined or object-defined error" error message, you have accept the possibility that the program might contain code like:

Option Explicit

Private Enum CustomErrors
NotWin2K = 713
End Enum

Private Sub Form_Load()
If SysInfo1.OSVersion <> 5 Then ' 5 is W2K
Err.Raise NotWin2K
End If
End Sub
 
I have compared it to a machine that the program is working on and there seems to be a difference on the Product Ver and the File Ver, but everything else is the same. The dll's that are diferent are:

ADVAP32.DLL, RPCRT4.DLL, OLE32.DLL, USER32.DLL, KERNEL32.DLL, NTDLL.DLL and GDI32.DLL.

Can I Copy these .dll's from the machine that the program is working on and over write the DLL,s on the machine that isn't working?
 
Uhh, those were some of the DLLs that you shouldn't copy from machine to machine. I hope you made backups before overwriting them.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top