473,398 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Error: Invalid Procedure call or argument

I run a program which read emails from a text file. There is some thing
invalid in one or more text file. When program is busy doing parsing it
shows that error and process stop. I dont know which text file has that
error. Is it possible that i can handle that error during processing
some thing i mean ignore line, email so that my process will not be
interrupt.
Error: Invalid Procedure call or argument
Run time error 5
I want to handle this error by means of skip that line, email or any
thing but not to stop the parsing.

Aug 11 '06 #1
5 4210
Might help maybe just a little bit if you let us in on a BIG secret.
The actual CODE that's causing the error. Think of this NG this way...
if you want an answer you can use, provide just enough information so
that anyone reading your post can at least accurately recreate the
problem you're having. Otherwise you're pissing in the wind.

Aug 11 '06 #2
ON Error Resume Next, maybe?

Aug 11 '06 #3
pi********@hotmail.com wrote in news:1155265184.830339.248180
@i3g2000cwc.googlegroups.com:
Might help maybe just a little bit if you let us in on a BIG secret.
The actual CODE that's causing the error. Think of this NG this way...
if you want an answer you can use, provide just enough information so
that anyone reading your post can at least accurately recreate the
problem you're having. Otherwise you're pissing in the wind.
I like you, Piet.

--
Lyle Fairfield
Aug 11 '06 #4

Lyle Fairfield wrote:
pi********@hotmail.com wrote in news:1155265184.830339.248180
@i3g2000cwc.googlegroups.com:
Might help maybe just a little bit if you let us in on a BIG secret.
The actual CODE that's causing the error. Think of this NG this way...
if you want an answer you can use, provide just enough information so
that anyone reading your post can at least accurately recreate the
problem you're having. Otherwise you're pissing in the wind.

I like you, Piet.

--
Lyle Fairfield
LOL. Why's that? Because I'm starting to sound like you? Or am I the
only one that gets tired of listening to "it doesn't work [but I was
too lazy to (a) check the help file (b) test things out (c) provide a
complete description of what's going on... Maybe that's the burned out
tech support geek in me coming out.

Aug 11 '06 #5
You're not the only one, it's just that the rest of us are so mature we
never let our feelings overcome our desire to help. (Phht, yeh, right!)

I can't think of any regular (or slightly irregular) contributor who doesn't
think that.

--

Terry Kreft
<pi********@hotmail.comwrote in message
news:11**********************@74g2000cwt.googlegro ups.com...
>
Lyle Fairfield wrote:
pi********@hotmail.com wrote in news:1155265184.830339.248180
@i3g2000cwc.googlegroups.com:
Might help maybe just a little bit if you let us in on a BIG secret.
The actual CODE that's causing the error. Think of this NG this
way...
if you want an answer you can use, provide just enough information so
that anyone reading your post can at least accurately recreate the
problem you're having. Otherwise you're pissing in the wind.
I like you, Piet.

--
Lyle Fairfield

LOL. Why's that? Because I'm starting to sound like you? Or am I the
only one that gets tired of listening to "it doesn't work [but I was
too lazy to (a) check the help file (b) test things out (c) provide a
complete description of what's going on... Maybe that's the burned out
tech support geek in me coming out.

Aug 11 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Anton van der Merwe | last post by:
I'm getting the foolowing error when trying to view an asp page on a windows2003 server. On our previous IIS server (Windows 2000) the error was described in detail. Windows 2003 ------------...
4
by: Philipp Lenssen | last post by:
This drives me crazy: I have a file upload script to save an image on the disk (and later on in the database)... it used to work and now it doesn't, though I didn't change anything within the file...
6
by: MacKenzie | last post by:
The statement in an asp page: dim objShell Set objShell = WScript.CreateObject("WScript.Shell") now gives this error: VB err= 424,Object required If I use...
1
by: Ima Lostsoul | last post by:
I am using Access XP to develop an application that will be distributed to mnay users. All is going well until I run it through the Packaging Wizard to build the distrubution. At the final step...
5
by: PeteCresswell | last post by:
----------------------------------------------------------------- Sub Sheesh() Dim myYears As Double Dim myRawCumulative As Double Dim myAnnualizedROR As Double ...
0
by: HKSHK | last post by:
This list compares the error codes used in VB.NET 2003 with those used in VB6. Error Codes: ============ 3: This Error number is obsolete and no longer used. (Formerly: Return without GoSub)...
0
by: AparnaKulkarni | last post by:
Hello, I m working with Templates in MS Word. I have established the user Template locations in Word with ".dot" file But after that I m getting error as "Invalid procedure call or argument...
3
by: rich9791 | last post by:
I was posting a application for on the web, filled in all the details, pressed submit and got the error code..(Error: 5: Invalid procedure call or argument (Invalid procedure call or argument line =...
25
by: dennijr | last post by:
ok, shell always used to be easy for me, now its starting to get annoying cause i dont know wats wrong heres the simplist code possible: Private Sub IExplorer_Click() a = Shell("C:\Program...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.