|
-
Dec 24th, 2008, 06:18 PM
#1
Thread Starter
PowerPoster
[RESOLVED] File Not Found Error - strange....
I've got one user who when he attempts to open a screen in my app he gets the error message 'File Not Found'. The strange thing is the screen he's attempting to open doesn't open/copy/delete etc... any files.
Below is the code:
The screen shot he sent me said the error occurred on line 50
vb Code:
10 On Error GoTo mmuScoreGraph_Click_Error
20 If NoRecords("tblScores") = True Then
30 MsgBox "There are no stats available as no scores have been entered", vbInformation + vbOKOnly, AppTitle
40 Else
50 frmPieStats.Show vbModal
60 End If
70 Exit Sub
mmuScoreGraph_Click_Error:
80 MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure mmuScoreGraph_Click of Form frmMain on line " & Erl & _
Chr(10) & Chr(10) & "Please contact Lintz with this error message", vbExclamation
Anyone had a similar situation or know of a solution?
Thanks.
-
Dec 24th, 2008, 07:49 PM
#2
Re: File Not Found Error - strange....
You could be using external controls in that form which does not exists? Or is it not opening any kind of files? If it is okay then you could attach that form here so we could take a look?
-
Dec 25th, 2008, 10:01 AM
#3
Re: File Not Found Error - strange....
2 things
1) either recompile your exe and give it to him or
2) upload the exact snapshot of the error
Do you get the same error when you try it at your end? or at any other pc at your end?
and yes...
Merry Christmas
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Dec 25th, 2008, 04:33 PM
#4
Thread Starter
PowerPoster
Re: File Not Found Error - strange....
 Originally Posted by dee-u
You could be using external controls in that form which does not exists?
The form has a picture box, 2 combo boxes and a control called RMChart (for graphing things.) I presume the error is being caused by the RMChart.ocx file (as that is the only external file being used) but I have emailed that file directly and got him to save it to C:\Windows\Systems32 and then registered the file which he said displayed a message saying 'Successed'. Even after doing this the error still occurs.
 Originally Posted by koolsid
1) either recompile your exe and give it to him or
I've done this a few times after adding extra coding to trap the error.
 Originally Posted by koolsid
2) upload the exact snapshot of the error
Attached. (error.jpg)
 Originally Posted by koolsid
Do you get the same error when you try it at your end? or at any other pc at your end?
No, not on my development machine but if I delete the RMChart.ocx file from another machine I get a similar error message. (also attached error1.jpg).
-
Dec 25th, 2008, 04:36 PM
#5
Re: File Not Found Error - strange....
Why don't you just make an installer of your application so its dependencies would be properly registered?
-
Dec 25th, 2008, 04:40 PM
#6
Thread Starter
PowerPoster
Re: File Not Found Error - strange....
My installer does register all required dependencies. This guy is the only one getting an error from around 250 users.
-
Dec 25th, 2008, 04:50 PM
#7
Re: File Not Found Error - strange....
Did you use RMChart in other forms as well? Perhaps he could test if the other forms are showing or not. Or probably a reinstall? Or that different OS could probably causing it?
-
Dec 25th, 2008, 04:53 PM
#8
Thread Starter
PowerPoster
Re: File Not Found Error - strange....
I have only used RMChart on the form he gets an error with.
I might create a new app with only the RMChart control on it and see if he gets the same file not found error as well.
-
Dec 25th, 2008, 04:59 PM
#9
Re: File Not Found Error - strange....
Yes, that should be the best thing that you could do to determine if RMChart is the culprit or not.
-
Dec 25th, 2008, 05:04 PM
#10
Thread Starter
PowerPoster
Re: File Not Found Error - strange....
I've just sent the guy a new EXE just with the RMChart control added to a form. It will be interesting to see if he gets the same error message.
-
Dec 25th, 2008, 07:03 PM
#11
Thread Starter
PowerPoster
Re: File Not Found Error - strange....
Success!
I got the guy to download and install the setup file direct from the RMChart website which solved the issue.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|