Results 1 to 19 of 19

Thread: [RESOLVED] Problem with VBRun60sp6.exe ?

  1. #1

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Resolved [RESOLVED] Problem with VBRun60sp6.exe ?

    I have roof estimating software and am having a problem on one computer.
    I think the machine may not have the right version of vb runtime files.
    Will running VBRun60sp6.exe overwrite the the incorrect runtimes with the correct ones?
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Problem with VBRun60sp6.exe ?

    What is the problem?

    Is there anything obviously different about that computer? (eg: does that one have Windows Vista, but none of the others do?)


    With the information you have given so far, there is no way to limit it to anything.

  3. #3

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: Problem with VBRun60sp6.exe ?

    Quote Originally Posted by si_the_geek
    What is the problem?

    Is there anything obviously different about that computer? (eg: does that one have Windows Vista, but none of the others do?)


    With the information you have given so far, there is no way to limit it to anything.
    Thanks for your reply
    It's an xp machine. My installer does not overwrite any files, if they are already present and it installs 3rd party Ocx's and dll's. The error occurs when he tries to save a file. It works fine on his desktop, but not his laptop. I have searched thru the file save routine to no avail. My reason for this post is to make sure he has the correct vb runtimes as a starting point. My installer includes the vbruntimes but does not install them if they are present
    Ps
    I am waiting for my hair to grow back from the last time I tried to install to Vista
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Problem with VBRun60sp6.exe ?

    If it doesnt save on his laptp then what is the error message? It could just be as simple as a permissions issue on his laptop if its not on the domain for example.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: Problem with VBRun60sp6.exe ?

    Quote Originally Posted by RobDog888
    If it doesnt save on his laptp then what is the error message? It could just be as simple as a permissions issue on his laptop if its not on the domain for example.
    RUN-TIME ERRE 380 INVALID PROPERTY VALUE
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Problem with VBRun60sp6.exe ?

    Its not polite to type in all caps as that means you are yelling, I'm sure you know this.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: Problem with VBRun60sp6.exe ?

    Quote Originally Posted by RobDog888
    Its not polite to type in all caps as that means you are yelling, I'm sure you know this.
    I just copied and pasted his email, didn't think about it. I guess he was yelling at me. Sorry
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  8. #8
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Problem with VBRun60sp6.exe ?

    I'm fairly sure that error can be caused by many different things.. can you show us the code for that routine? (and preferably tell us which line it occurs on, but I'm guessing you don't know that)

  9. #9

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: Problem with VBRun60sp6.exe ?

    Quote Originally Posted by si_the_geek
    I'm fairly sure that error can be caused by many different things.. can you show us the code for that routine? (and preferably tell us which line it occurs on, but I'm guessing you don't know that)
    The file save routine just has too many lines of code and subroutines to post.
    I am going to send the customer a exe with check points in the file save routine.
    Like this Msgbox " Check point 1" etc and see if i can narrow it down to a specific line, subroutine or function
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  10. #10
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Problem with VBRun60sp6.exe ?

    There is no need for that long-winded process - you can find out the exact line by adding ERL to your error handler, eg:
    Code:
    ErrorHandler:
      MsgBox "Error " & Err.Number & ": " & Err.Description & vbNewLine _
            & "on line " & ERL
    Unfortunately you also need to write numbers on every line of code in the routine, but if you have MZTools (free, link in my signature) it can do it for you automatically - just press a button to number all lines in the routine/form/project.

  11. #11

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: Problem with VBRun60sp6.exe ?

    Quote Originally Posted by si_the_geek
    There is no need for that long-winded process - you can find out the exact line by adding ERL to your error handler, eg:
    Code:
    ErrorHandler:
      MsgBox "Error " & Err.Number & ": " & Err.Description & vbNewLine _
            & "on line " & ERL
    Unfortunately you also need to write numbers on every line of code in the routine, but if you have MZTools (free, link in my signature) it can do it for you automatically - just press a button to number all lines in the routine/form/project.
    My error hander is written like thisReferenced in about 500 places)
    e:
    MsgBox "file save " & err.number & " " & err.Description
    But its not getting to the error handler

    Code:
    Public Sub ErrHandler(loc As String, Num As String, dscr As String)
        MsgBox "There was an Error" & vbCrLf & vbCrLf & _
               "Error Location  " & loc & vbCrLf & _
               "Error Number    " & Num & vbCrLf & _
               "Description     " & dscr & vbCrLf, vbOKOnly, "Warning - Error"
    End Sub
    I am starting to think maybe a subroutine or function does not have error handling i will have to check. I do have MZTools, didn't know you could use it that way. I have put 16 breakpoints compiled and sent it to my customer.
    I will be back
    Thank you
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  12. #12

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: Problem with VBRun60sp6.exe ?

    Quote Originally Posted by si_the_geek
    There is no need for that long-winded process - you can find out the exact line by adding ERL to your error handler, eg:
    Code:
    ErrorHandler:
      MsgBox "Error " & Err.Number & ": " & Err.Description & vbNewLine _
            & "on line " & ERL
    Unfortunately you also need to write numbers on every line of code in the routine, but if you have MZTools (free, link in my signature) it can do it for you automatically - just press a button to number all lines in the routine/form/project.
    Never mind
    Last edited by isnoend07; Aug 1st, 2008 at 05:38 PM.
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  13. #13

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: Problem with VBRun60sp6.exe ?

    I changed the order of items being loaded in a form load and fixed the problem
    Just goes to show the least tweak can create or fix a problem. Remains a mystery why just 1 computer

    Code:
     Call FormSize 'moved to here 08-01-08 setformsize based on resolutation
               Call LoadGrids 'moved to here 08-01-08 fill the 5 flexgrids from file
               Call PositionGridLabels 'Position label and other layout
               'Call LoadGrids 'moved from here 08-01-08
               'Call FormSize 'moved from here 08-01-08
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  14. #14
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: [RESOLVED] Problem with VBRun60sp6.exe ?

    I would guess that the size calculations (or default positions) that are used in LoadGrids or PositionGridLabels are not valid due to the particular resolution on that computer - so you were probably trying to do something like set the width of a control to a negative number.

  15. #15

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: [RESOLVED] Problem with VBRun60sp6.exe ?

    Quote Originally Posted by si_the_geek
    I would guess that the size calculations (or default positions) that are used in LoadGrids or PositionGridLabels are not valid due to the particular resolution on that computer - so you were probably trying to do something like set the width of a control to a negative number.
    I think you hit the nail on the head. The form in question saves it's position to an .ini file. Have not checked yet but I hope i wrote code to check for form being minimized
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  16. #16
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [RESOLVED] Problem with VBRun60sp6.exe ?

    Yea, if you save the minomized coordinates then they will all be negative numbers and cause your error.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  17. #17

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: [RESOLVED] Problem with VBRun60sp6.exe ?

    Quote Originally Posted by RobDog888
    Yea, if you save the minomized coordinates then they will all be negative numbers and cause your error.
    I fixed that form by taking off the minimize button as there is no reason to allow it to be minimized. Also wrote code to check for negitave numbers as a save guard
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  18. #18
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [RESOLVED] Problem with VBRun60sp6.exe ?

    Cool, so everything is working now?

    Ps, GO Raiders FTW!!!
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  19. #19

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: [RESOLVED] Problem with VBRun60sp6.exe ?

    Quote Originally Posted by RobDog888
    Cool, so everything is working now?

    Ps, GO Raiders FTW!!!
    Yep, my customer is probably whistling right now.
    PS after this year I'm changing my signature to have a smiley next to Raiders
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

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