Results 1 to 12 of 12

Thread: [2005] "#Region" Design-Time Performance

  1. #1

    Thread Starter
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    [2005] "#Region" Design-Time Performance

    I'm in a little bit of a debate with one of the guys I work with about #Region/#End Region and whether it's causing his computer to slow down while he codes in a document. I did some researching and haven't been able to find anything proving or disproving my opinion.

    If know of any articles or maybe a kb of a hotfix that took care of this - please let me know.

    Thanks.

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

    Re: [2005] "#Region" Design-Time Performance

    Ive never heard or seen such an issue. Do you have service pack 1 installed?
    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

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: [2005] "#Region" Design-Time Performance

    I'm trying to figure out what one would have to do with the other. It's strictly a visual/organizational thing. There was an issue with Intellisense acting up in some cases, but the SP should take care of that.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

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

    Re: [2005] "#Region" Design-Time Performance

    I would think that since the IDE is like a hybrid treeview that the collapsed regions would help imporve ide performance.
    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
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: [2005] "#Region" Design-Time Performance

    We have the latest and I've been reading through what they fixed to see if there was an issue that has been adressed, but nothing.

    The only reason I'm so fed up with this is when he confronted me about it, he announces to the floor that I should "do research before I start spewing about this." I asked him for an article or something that said my regions do cause an issue - but he said it was almost "months ago when the problem existed and didn't have it anymore."

    So I'm looking for something, anything to prove or disprove one way or the other.

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

    Re: [2005] "#Region" Design-Time Performance

    Hes a fraud and just trying to make himself look more knowledgable then any other programmer. People like that are soon exposed for the incompetant foos that they are.

    It could be that he was the cause of some of the bugs back then that got fixed and he doesnt want anyone to know it was because of him

    I would tell him to present proof of his argument before he starts blaming others. Let him do your research for you.
    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
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: [2005] "#Region" Design-Time Performance

    I tried telling him to furnish proof. Problem is, this place tends to run on the "was once, is always" policy. If he can say that he proved it once, then it is true and a waste of time to furnish the proof again. And unless I can find something "since" then that says otherwise or that it was fixed (regardless of if the problem existed at any given point) - then the supposed problem still exists.

  8. #8

    Thread Starter
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: [2005] "#Region" Design-Time Performance

    He tried to tell me it has to do with outlining. That using #Regions/#End causes automatic outlining to crawl. Thing is, when I shut outlining off, #Regions persist as if they aren't even part of outlining.

  9. #9
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: [2005] "#Region" Design-Time Performance

    Right, because they are part of the code. All turning off outlining does is turn off the ability to collapse/expand code section. I think. Come to think about it, I've never messed with it.

    Meanwhile, if regions is affecting performance, it makes me wonder how long your code base is that it becomes a problem.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  10. #10
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [2005] "#Region" Design-Time Performance

    seven, your best bet may be to visit the connect site

    connect.microsoft.com

    (I believe you need to sign in using a Live/MSN ID)

    That is the site where people report BUGS to Microsoft on their various products. From there you can search feedback on a keyword like "region" and see if anyone posted a bug stating regions were causing a problem. Likely there will also be a response from MS (usually to the tune of "not reproducible") however any actual bug fixes will be indicated there as well.

  11. #11

    Thread Starter
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: [2005] "#Region" Design-Time Performance

    I have an msdn license. Haven't been told how to use it yet, but thats beyond the point I guess.

    I'll check it out. For now, my nerves are back in check and the new tv is installed; so I can't stay mad forever.

  12. #12
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [2005] "#Region" Design-Time Performance

    no MSDN license needed.. just a standard windows live/msn ID that you would use to do things like log into Live Messenger, etc...

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