Windows 7 - Run-time error 5:Invalid procedure call or argument
Asked By Docster
22-Jan-10 06:46 PM
Run-time error 5:Invalid procedure call or argument
I have been running a small app to backup OE for years (same app without
updates its) and now all of a sudden I am getting the above error message.
Does anyone have any idea what could be causing this message to pop up?
Oh, the app is Outlook Express Freeby Backup and Outlook Express Quickie
Backup.
I feel certain the problem is with the OS its self
Outlook
(1)
VB
(1)
ProcMon
(1)
Registry
(1)
Windows
(1)
Freebie
(1)
Quickie
(1)
Freeby
(1)
PA Bear [MS MVP] replied to Docster
[X-post to OE General]
The author withdrew OE Freebie Backup over 5 years ago. You should only be
using OE Quick Backup now.
Docster replied to PA Bear [MS MVP]
I get the same results no matter which one I use.
Have been using both successfully until now.
[X-post to OE General]
The author withdrew OE Freebie Backup over 5 years ago. You should only be
using OE Quick Backup now.
Andrew McLaren replied to Docster
This error message is produced by the Visual Basic runtime. I'd guess
that OE Quick Backup was written in Visual Basic; and for some reason,
the VB runtime is having a problem on your machine.
A quick way to try and fix the problem would be to re-install OE Quick
Backup, using the download version which contains the full VB Runtime,
bundled (I just looked at their website):
http://www.oehelp.com/oebackup/default.asp
Alternatively, you can install (or re-install) the Visual Basic Runtime
files, from here:
http://support.microsoft.com/gp/vbruntime
If it keeps failing after that ... I dunno. Even if it is a problem in
the OS, you may need to contact the app's author, to find out what is
causing the error message.
Hope it helps,
Andrew
--
amclar at optusnet dot com dot au
Steve Cochran replied to Docster
Error 5 indicates a permissions issue, so you might consider whether the
output directory has the correct permissions to write to. Also you can
reset the program by deleting this key in the Registry:
HKEY_CURRENT_USER\Software\OEBackup
that might fix the problem.
steve
Docster replied to Steve Cochran
Steve,
Thanks for the suggestion. I tried it after your suggestion but no dice. It
did not correct it either.
James
Error 5 indicates a permissions issue, so you might consider whether the
output directory has the correct permissions to write to. Also you can
reset the program by deleting this key in the Registry:
HKEY_CURRENT_USER\Software\OEBackup
that might fix the problem.
steve
Steve Cochran replied to Docster
Try changing the backup directory to something else.
At what point in the program do you get the error message? Is there
anything in the output directory, or is it empty after running the program
and getting the error?
steve
Docster replied to Steve Cochran
When I run the program it acts like it is making copies and backing up then
I get this run time error 5.
When I open the backup folder I have registry backups but not files
which I can import etc.
I tried to attach jpegs of the the images but the send was rejected as being
to large.
Try changing the backup directory to something else.
At what point in the program do you get the error message? Is there
anything in the output directory, or is it empty after running the program
and getting the error?
steve
Andrew McLaren replied to Steve Cochran
An "error 5" does indicate Access Denied, *if* it comes from a Windows
component; as shown in WinError.h
But in this case, the "Runtime error 5: Invalid procedure call or
argument" clearly matches the Visual Basic Runtime's "error 5", which
means that there was, well, an invalid procedure call or argument :-)
So the error here means that the VB runtime which drives this OE backup
application is unable to call one of the application's methods, rather
than anything to do with permissions.
As per my separate reply to the OP, I'd recommend making sure the VB
bits are in good order.
Sorry to be pedantic :-) but just had to throw this in.
Cheers
Andrew
--
amclar at optusnet dot com dot au
Steve Cochran replied to Docster
You can email them to me and maybe we can figure out the issue.
steve
Steve Cochran replied to Andrew McLaren
is run time error 5. Unfortunately the VB code is not accessible, as the
author is no longer accessible (I only host the program on my website
oehelp.com). So the chances of debugging the code are nil, which is why I
asked docster what the steps were leading to the error.
steve
Robert Aldwinckle replied to Steve Cochran
Ever tried running it under DependencyWalker's Profiler feature? <eg>
--while monitoring both with ProcMon? <EG>
---
Steve Cochran replied to Robert Aldwinckle
No, because I do not have the problem. It will not help for me to diagnose
something on a machine that is not sick.
steve
Jose replied to Docster
en
ing
m
.
e
an
only
out
p?
kie
Error 5 is generally a permission problem.
Which of these programs are you using, where did you download it, etc.
I want to download it myself and see if I have the problem and then
figure out what to do about it that does not involve guessing or
trying things that might work.
You cannot attach screenshots here, but here is what you can do:
Take a screenshot of what you see and upload the screenshot to one of
several
free picture hosting WWW sites.
When you are done, we will be able to see what you are seeing.
To create and post a screenshot:
Press the Print Scrn button to copy your entire screen to the Windows
clipboard.
have to be able to compile VB6 programs so I installed visual studio 6 ( only VB code) The IDE is working and I can run programs but when I try to with Dependency Walker profiling execution and added two missing DLL to my image ( coming from Outlook express and IE offline Exec and a lot of components required including MediaPlayer!) Comparing with you for any help. What kind of automation is involved? Raffaele Windows XP Embedded Discussions Outlook (1) EYUUFY (1) XP (1) VB (1) LINKare (1) DependencyWalker (1) FileMonitor (1) ProcMon (1) Are you saying you are trying to compile the app in VS installed under help, but it refuses to run on XPE"? Are you missing component(s) for the ProcMon? Then it should be easy to find out (with DependencyWalker, for instance) and fix because have to be able to compile VB6 programs so I installed visual studio 6 ( only VB code) T
was no way to determine which registry keys it was failing to access. Some sharp VB-scripter could probably write something which would step through the registry and set the ownership no way to determine which registry keys it was failing to = access. = 20 Some sharp VB-scripter could probably write something which would step = 20 through the registry and set the aren't the source of this so far, which is nice. Would you mind retrying ProcMon but this time filtering down to wmp.dll and mfplat.dll? Everything in wmplayer.exe USB memory stick to get: * your HKEY_CLASSES_ROOT registry * your HKEY_CURRENT_USER \ Software registry * a full (unfiltered) ProcMon log of WMP failing (UAC on) and succeeding (UAC off) The last by itself will entries are not populated / mirrored in HKCU. But HAY! png's display, even in my outlook junk mail ;)) JK Hm, OK - that seems like a hack designed to work around something
outlook / outlook express Windows 7 I am unable to print out from outlook or outlook express. I receive: A runtime error has occured. Do you wish to debug? Line 2020 Error unspecified. Can anyone help? BSM MSDN Discussions Regsvr32 (1) Outlook (1) Djcave1 (1) BSM (1) "BSM" wrote: I have the same exact problem I am using outlook express 6. need answer? I found solution!! after reading similar problems and answers. this is to START RUN typed regsvr32 ole32.dll pressed OK this corrected my printing problem!!! keywords: outlook / outlook, express description: I am unable to print out from outlook or outlook express. I receive
Repairing broken Outlook Express Windows 7 My Outlook Express is sending out email messages that are entirely blank, how can I fix this problem? Mail Discussions Outlook 2003 (1) Outlook 2007 (1) Outlook (1) Newsletter (1) Dailytips (1) Ol2007 (1) You need to post in an Outlook Express newsgroup. Outlook and Outlook Express are two different programs. disable email scanning by antivirus applications. If that doesn't