We help IT Professionals succeed at work.

Freefile - Strange error

richardbc
richardbc asked
on
418 Views
Last Modified: 2008-02-01
Using VB6 SP6
Code is
intFileNum = Freefile

Works well most of the time but it has now returned a "File already open" error on this line of code with one of our customers.
How is this possible?
Comment
Watch Question

Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
is the error for sure on THAT line, or rather on another line of code?

Author

Commented:
The error is DEFINITELY on that line I have numbered lines and that is the line returning the error!
That is why I have asked the question as I do not understand how this can happen.
The freefile statement is used over 250 time in our program and the program is used on over 2000 computers every day and this error has never happened before.
We could not support this if we did not know what line an error happened on.
Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
I do not know either but as FreeFile is only called the once in that Procedure and as it has only ever happened on one machine I think I will put it to "one of those things" and return to more mundane errors and improvements.

Author

Commented:
I spilt the point as both tried - thanks
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.