Page 2 of 2 FirstFirst 12
Results 41 to 62 of 62

Thread: [Semi-RESOLVED] Vista and VB6.0 Components issue...

  1. #41
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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?

  2. #42

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...

    nah the program seems to run fine... its just having problems in the IDE.

  3. #43
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...

    What kind of problems? The same that you were having with that one form?

  4. #44

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    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

  5. #45
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  6. #46

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...

    Just created a new form and it doesn't even generate a .frx for it....

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

    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 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

  8. #48

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    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

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

    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 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

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

    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 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

  11. #51

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    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.

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

    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 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

  13. #53

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    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.

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

    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 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

  15. #55

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    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.

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

    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 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. #57

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...

    what kind of error logging would you suggest?

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

    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 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. #59

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    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.

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

    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 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

  21. #61
    New Member
    Join Date
    Aug 2010
    Posts
    1

    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.

  22. #62
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    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.

Page 2 of 2 FirstFirst 12

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