Results 1 to 4 of 4

Thread: vb crashes, .frm file?

  1. #1
    New Member
    Join Date
    Aug 12
    Posts
    11

    vb crashes, .frm file?

    I have a bunch of these at the bottom of an .frm file. Same object name is higher up in .frm file. What does this mean?


    Begin EDGELOCATORLib.LineEdgeLocator c7_s21_test
    Height = 840
    Index = 2
    Left = -30000
    TabIndex = 84
    Top = 0
    Width = 3000
    _Version = 65536
    _ExtentX = 5292
    _ExtentY = 1482
    _StockProps = 0
    ToolName = "6"
    DisplayName = "c7_s21_test(2)"
    DummyCounter = 122
    IsDead = -1 'True
    End

  2. #2
    PowerPoster
    Join Date
    Feb 12
    Location
    West Virginia
    Posts
    4,956

    Re: vb crashes, .frm file?

    This stuff should all be at the top of the frm file and should not show in the IDE

  3. #3
    New Member
    Join Date
    Aug 12
    Posts
    11

    Re: vb crashes, .frm file?

    Quote Originally Posted by DataMiser View Post
    This stuff should all be at the top of the frm file and should not show in the IDE
    The same object name is higher up in the frm file... Could this be crashing VB? can I just delete the text and save the file?


    BeginProperty 384 {80FF6011-3666-11D0-9723-F60B2DD0A807}
    VersionNumber = 6020000
    Object.Left = 384
    Object.Top = 158
    Right = 444
    Bottom = 171
    ResultCS = "Inspection"
    PositionCS = "Inspection"
    ShowPropPages = "Edges;Location;Options;Data;Constraints;Viewport;Calibration"
    HasName = 1
    ToolName = "c7_s21_test(7)"
    StartPointX = 336.009
    StartPointY = 75.31
    EndPointX = 372.16
    EndPointY = 75.785
    PathWidth = 13
    FilterSize = 2
    MinimumStrength = 75
    PairPosition!XCutLeft= 15
    PairPosition!X1Left= 15
    PairPosition!X0Left= 4
    PairPosition!Y1Left= 0
    PairPosition!XCutRight= 15
    PairPosition!X1Right= 15
    PairPosition!X0Right= 4
    PairPosition!Y1Right= 0
    PairPosition!ExpectedValue= 31.5
    PairPosition!IsActive= 0 'False
    PairPosition!UnnormalizedWeight= 0
    PairSize!XCutLeft= 15
    PairSize!X1Left = 15
    PairSize!X0Left = 4
    PairSize!Y1Left = 0
    PairSize!XCutRight= 15
    PairSize!X1Right= 15
    PairSize!X0Right= 4
    PairSize!Y1Right= 0
    PairSize!ExpectedValue= 29
    PairSize!IsActive= 0 'False
    PairSize!UnnormalizedWeight= 0
    PositionE1!XCutLeft= 15
    PositionE1!X1Left= 15
    PositionE1!X0Left= 4
    PositionE1!Y1Left= 0
    PositionE1!XCutRight= 15
    PositionE1!X1Right= 15
    PositionE1!X0Right= 4
    PositionE1!Y1Right= 0
    PositionE1!ExpectedValue= 17
    PositionE1!IsActive= 0 'False
    PositionE2!XCutLeft= 15
    PositionE2!X1Left= 15
    PositionE2!X0Left= 4
    PositionE2!Y1Left= 0
    PositionE2!XCutRight= 15
    PositionE2!X1Right= 15
    PositionE2!X0Right= 4
    PositionE2!Y1Right= 0
    PositionE2!ExpectedValue= 46
    PositionE2!IsActive= 0 'False
    PositionE2!UnnormalizedWeight= 0
    StrengthE1!XCutLeft= 255
    StrengthE1!X1Left= 255
    StrengthE1!X0Left= 0
    StrengthE1!Y1Left= 0
    StrengthE1!XCutRight= 0
    StrengthE1!X1Right= 0
    StrengthE1!X0Right= 0
    StrengthE1!Y1Right= 0
    StrengthE1!ExpectedValue= 255
    StrengthE1!IsActive= -1 'True
    StrengthE2!XCutLeft= 255
    StrengthE2!X1Left= 255
    StrengthE2!X0Left= 175
    StrengthE2!Y1Left= 0
    StrengthE2!XCutRight= 0
    StrengthE2!X1Right= 0
    StrengthE2!X0Right= 0
    StrengthE2!Y1Right= 0
    StrengthE2!ExpectedValue= 255
    StrengthE2!IsActive= 0 'False
    StrengthE2!UnnormalizedWeight= 0
    DialogBuffer0 = 0
    DialogBuffer1 = 0
    DialogBuffer2 = 0
    DialogBuffer3 = 0
    DialogBuffer4 = 65536
    DialogBuffer5 = 0
    DialogBuffer6 = 0
    DialogBuffer7 = 0
    DialogBuffer8 = 0
    DialogBuffer9 = 0
    DialogBuffer10 = 0
    ExpectedPolarity= "Positive"
    EndProperty
    Surface(1)!Tool(15)!= 385
    Surface(1)!Tool(15)!AllowPick= -1 'True
    Surface(1)!Tool(15)!AllowContextMenu= -1 'True
    Surface(1)!Tool(15)!MarkRemoved= 0 'False

  4. #4
    PowerPoster
    Join Date
    Feb 12
    Location
    West Virginia
    Posts
    4,956

    Re: vb crashes, .frm file?

    If you delete it the control will be gone from your form and may cause other problems as well.
    It is not unusual to see a control with the same name on a form this is called a control array and each will have a different Index value.

    In general you should not be opening the frm files in notepad or other editor which shows this stuff and you should not make any changes to it unless you totally understand what it is and what it does.

    As for Vb crashing you would have to provide more info before anyone could be of much help.
    Such as does it crash only when loading this form or does it crash on others as well?
    When it crashes does it give you a message?
    Does it crash when you try to load the project, run it or compile it?
    Can you load, run, compile other projects on this system without issue?
    What OS are you using?
    Did it work before on this system?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •