|
-
May 2nd, 2007, 08:48 AM
#41
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Does your program seem to be not doing its job because of the missing .frx files?
-
May 2nd, 2007, 08:50 AM
#42
Thread Starter
Frenzied Member
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
nah the program seems to run fine... its just having problems in the IDE.
-
May 2nd, 2007, 08:52 AM
#43
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
What kind of problems? The same that you were having with that one form?
-
May 2nd, 2007, 08:55 AM
#44
Thread Starter
Frenzied Member
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Yes the IDE crashing when I am done stepping through code and hit the stop button... only seems to happen on certain areas.
gonna have to learn VB2005 with a quickness :P
-
May 2nd, 2007, 08:59 AM
#45
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
If VB.NET is a requirment tell your people you need to go to a class.
-
May 2nd, 2007, 11:48 AM
#46
Thread Starter
Frenzied Member
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Just created a new form and it doesn't even generate a .frx for it....
-
May 2nd, 2007, 12:24 PM
#47
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Did you place any images on it? If not then a frx wont be generated as its only for graphics. The controls are not graphics and are in the frm file.
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 
-
May 2nd, 2007, 12:53 PM
#48
Thread Starter
Frenzied Member
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
yeah I just did a restore from an old tape backup and realized they all didn't have .frx before. So now I am guessing it is just a corrupt .vbp which can't be fixed on Vista due to MS's lack of support. So I am thinking that I am left with 2 options... either live with the constant crashing or throw another partition on this PC and load XP and rebuild my .vbp.
shoot me :P
-
May 2nd, 2007, 01:17 PM
#49
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Bang! 
Well its just down to the one form now isnt it? Di you try my suggestion about creating a new vbp in a separate folder and copying over the forms and modules cand classes and adding each one, one at a time?
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 
-
May 2nd, 2007, 01:18 PM
#50
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Also, if there is no frx for the form then its possible to open the frm in notepad and copy out the code as its nothing more then a text file. Then create a new frm file (like when recreating the project as suggested in the previous post) you can paste it in and viola!
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 
-
May 2nd, 2007, 01:22 PM
#51
Thread Starter
Frenzied Member
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Yeah I tried making a new .vbp and importing all of my stuff. When that didn't work I deleted the suspect form and copied the code into a new one and it still produced the same problem. I haven't tried rebuilding it on a XP box yet... that would be my next option. Unfortunately it isn't only one form like I thought... I have another form that has a crystal report viewer control on it that I preview all of my reports on. Whenever I preview a report then exit the program normally when running it from the IDE it crashes the whole IDE.
-
May 2nd, 2007, 01:25 PM
#52
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Hmm, then that makes me think if its a CR issue. Whats on the other form that we were originally talking about?
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 
-
May 2nd, 2007, 01:34 PM
#53
Thread Starter
Frenzied Member
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
On the other form there was a mshflexgrid, 2 ssoption buttons, 3 command buttons and a textbox.
-
May 2nd, 2007, 01:36 PM
#54
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Can you paste the code in a new file but do it one control at a time. You know that code that is in the beginning of the frm file that specifiles the controls properties on the form? Maybe you can find the offending control that way.
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 
-
May 2nd, 2007, 01:50 PM
#55
Thread Starter
Frenzied Member
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
That form only crashes the IDE when I step through the code and has no problem when I run it. I can't really do one control at a time and step through anything because most of the controls are tied into the grid populating sub which is the one I found the problem in. I am gonna go try to step through another subroutine in that form.
-
May 2nd, 2007, 02:18 PM
#56
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Perhaps adding some error logging so you can find the procedure that is crashing it. Then you may be able to determine the code or control.
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 
-
May 2nd, 2007, 02:42 PM
#57
Thread Starter
Frenzied Member
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
what kind of error logging would you suggest?
-
May 2nd, 2007, 02:47 PM
#58
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Just some On Error GoTo statement at the top of the most obvious procedures. In the error sub just write out to a textfile or use the App.LogEvent method to write to the system app event log.
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 
-
May 2nd, 2007, 03:22 PM
#59
Thread Starter
Frenzied Member
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Found a couple events in my event log that are generated on each crash:
Faulting application VB6.EXE, version 6.0.97.82, time stamp 0x403acf6c, faulting module VBA6.dll, version 6.0.0.9782, time stamp 0x403ad081, exception code 0xc0000027, fault offset 0x0017ccd5, process id 0x3e4, application start time 0x01c78ce7bb081003.
Faulting application VB6.EXE, version 6.0.97.82, time stamp 0x403acf6c, faulting module usp10.dll, version 1.405.2416.1, time stamp 0x3a56a9b2, exception code 0xc0000005, fault offset 0x00029b73, process id 0xe5c, application start time 0x01c78cd39dd362bd.
-
May 2nd, 2007, 04:04 PM
#60
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Yes but those are not specific enough as vb6 loggs it when your app that is running inside it crashes. You need to log your own or write a log file.
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 26th, 2010, 02:35 AM
#61
New Member
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
I've just had the same problem and solved it.
The the key to it was Error: faulting module usp10.dll, version 1.405.2416.1 .
Do a file search for usp10.dll an you'll find an ancient version of usp10.dll in a Crystal folder (view Properties -> Details) . Replace it with a newer version.
-
Aug 26th, 2010, 07:57 AM
#62
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
I know this is an old topic but I will add my two pence worth.
The Sheridan 3D (Threed32.ocx) is an old ocx that used to be used with VB5, its still available on the VB6 CD, search.
If you can't find vbalGrid6.ocx from VB accelerator then its used with Malwarebytes but its in the C:\Program Files\Malwarebytes' Anti-Malware folder and it does register. You could try copying it to the Windows\System32 folder and register it again. I can add vbalGrid6.ocx from the C:\Program Files\Malwarebytes' Anti-Malware folder and it shows on the Toolbox and works.
All of these work on my Vista.
Keith
I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
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
|