Results 1 to 11 of 11

Thread: [RESOLVED] File Not Found Error - strange....

  1. #1

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Resolved [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:
    1. 10       On Error GoTo mmuScoreGraph_Click_Error
    2.  
    3. 20        If NoRecords("tblScores") = True Then
    4. 30        MsgBox "There are no stats available as no scores have been entered", vbInformation + vbOKOnly, AppTitle
    5.  
    6. 40        Else
    7.          
    8. 50        frmPieStats.Show vbModal
    9.          
    10. 60        End If
    11.  
    12.  
    13. 70       Exit Sub
    14.  
    15. mmuScoreGraph_Click_Error:
    16.  
    17. 80        MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure mmuScoreGraph_Click of Form frmMain on line " & Erl & _
    18.            Chr(10) & Chr(10) & "Please contact Lintz with this error message", vbExclamation

    Anyone had a similar situation or know of a solution?

    Thanks.

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    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?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    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

  4. #4

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: File Not Found Error - strange....

    Quote 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.
    Quote 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.

    Quote Originally Posted by koolsid
    2) upload the exact snapshot of the error
    Attached. (error.jpg)

    Quote 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).
    Attached Images Attached Images   

  5. #5
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: File Not Found Error - strange....

    Why don't you just make an installer of your application so its dependencies would be properly registered?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  6. #6

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    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.

  7. #7
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    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?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  8. #8

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    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.

  9. #9
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    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.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  10. #10

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    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.

  11. #11

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Resolved 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
  •  



Click Here to Expand Forum to Full Width