Program Error RT Error 13

Discussion in 'Archives' started by Jdhp_Admin, May 26, 2007.

Program Error RT Error 13
  1. Unread #1 - May 26, 2007 at 11:03 PM
  2. Jdhp_Admin
    Referrals:
    0

    Jdhp_Admin Guest

    Program Error RT Error 13

    Ok i have a very wierd error coming up.

    on my code i have

    Code:
    private sub mnuOptions_Click ()
    frmoptions.show
    end sub
    it works fine in vb

    BUT WHEN ITS IN AN .EXE FILE IT BRINGS UP RUNTIME ERROR 13

    Runtime Error 13:
    Type Mismatch

    Its totally got me... i dont know what to do.
     
  3. Unread #2 - May 27, 2007 at 12:27 AM
  4. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    Program Error RT Error 13

    Knowing you Jacob you have put some savesettings in the form load of frmOptions. Now when you use savesettings when in visual basic it saves it to a separate place than when it is an exe. If you are working on the Client then what has happened is, you ran a previous version with an error in the savesettings area, since it is a previous version it is still saved in the same place. I was having the same error you are getting, you will have to redo the savesettings portion use a different key in each one than you did previously. If the problem persists buzz me on msn, I will see which control is firing off the error.
     
  5. Unread #3 - May 27, 2007 at 3:22 AM
  6. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Program Error RT Error 13

    make sure you don't have another control (like a label) called frmsettings also post your frmsettings (the form) Form Load code.
     
  7. Unread #4 - May 27, 2007 at 12:20 PM
  8. Jdhp_Admin
    Referrals:
    0

    Jdhp_Admin Guest

    Program Error RT Error 13

    JD, there is a load settings,that is the problem

    EDIT: Its Fixed
     
< Help a mayjor noob :P (Please and thankyou) | Master xp [ Free ] [ Do anything} {free} >

Users viewing this thread
1 guest


 
 
Adblock breaks this site