|
-
Jul 31st, 2008, 01:48 PM
#1
Thread Starter
PowerPoster
[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 
-
Jul 31st, 2008, 02:46 PM
#2
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.
-
Jul 31st, 2008, 03:07 PM
#3
Thread Starter
PowerPoster
Re: Problem with VBRun60sp6.exe ?
 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 
-
Jul 31st, 2008, 11:55 PM
#4
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Aug 1st, 2008, 12:00 AM
#5
Thread Starter
PowerPoster
Re: Problem with VBRun60sp6.exe ?
 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 
-
Aug 1st, 2008, 12:29 AM
#6
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Aug 1st, 2008, 12:38 AM
#7
Thread Starter
PowerPoster
Re: Problem with VBRun60sp6.exe ?
 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 
-
Aug 1st, 2008, 05:53 AM
#8
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)
-
Aug 1st, 2008, 01:14 PM
#9
Thread Starter
PowerPoster
Re: Problem with VBRun60sp6.exe ?
 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 
-
Aug 1st, 2008, 01:30 PM
#10
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.
-
Aug 1st, 2008, 01:57 PM
#11
Thread Starter
PowerPoster
Re: Problem with VBRun60sp6.exe ?
 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 this Referenced 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 
-
Aug 1st, 2008, 04:59 PM
#12
Thread Starter
PowerPoster
Re: Problem with VBRun60sp6.exe ?
 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 
-
Aug 2nd, 2008, 12:19 PM
#13
Thread Starter
PowerPoster
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 
-
Aug 2nd, 2008, 12:23 PM
#14
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.
-
Aug 2nd, 2008, 12:39 PM
#15
Thread Starter
PowerPoster
Re: [RESOLVED] Problem with VBRun60sp6.exe ?
 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 
-
Aug 2nd, 2008, 12:40 PM
#16
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Aug 2nd, 2008, 12:58 PM
#17
Thread Starter
PowerPoster
Re: [RESOLVED] Problem with VBRun60sp6.exe ?
 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 
-
Aug 2nd, 2008, 01:13 PM
#18
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Aug 2nd, 2008, 01:23 PM
#19
Thread Starter
PowerPoster
Re: [RESOLVED] Problem with VBRun60sp6.exe ?
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|