Results 1 to 13 of 13

Thread: Janus Grid Display Issue

  1. #1

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

    Janus Grid Display Issue

    I doubt I will get many responses but I am asking anyways

    We recently started getting display and functionality issues with the janus grid user control in one of the vb6 apps I am in change of. Now no updates to the program with any respect to the control, no updates to the control itself (its probably being phased out for support as nonew updates to it), but for some reason the grid in report view doesnt display any column headers, column header text or content. The scrollbars still show like there is much data loaded in it but its basically useless and users can not pass the screen.

    Google has no relevant results for this either.

    So far I have determined that its a permissions issue as the CM administrator has no problems with it in his terminal server instance. Locally the control runs fine for me but we need to know what the exact permission issue is as everyone cant be admins. I have had my terminal server profile deleted and was recreated upon next logon but still issues.

    Thanks
    Attached Images Attached Images  
    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

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Janus Grid Display Issue

    Not that this will solve anything.... Maybe see if there are certain messages being received/processed when it works vs when it doesn't work? Use Spy++ or similar tool? If there are, maybe it might lead you somewhere positive.

    FYI: From past experience it appears some APIs break depending on sys admin policies and permissions (XP system). For example, with recent changes one of my apps that queried domain SQL servers, from workstations, no longer works and I had to provide an alternative by offering a inputbox-type solution; yuck. Maybe a similar situation to whatever calls that control may be making?
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

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

    Re: Janus Grid Display Issue

    Thanks. Unfortunatly I can not run dev tools on the server. I could run it on my local system so that may be a good place to start but harder to identify. I have an email in with codejock but figure it will take at least a day to get a reply. I need to get this fixed asap as we spent several hours debugging to get this far.

    This is one reason why I hate to use heavy 3rd party user controls.

    Im thinking that I could create my own usercontrol with a listview on it to wrap alot of api functions to provide a mminimum set of features that will allow me to ditch the janus grid. Doing things like alternating row colors, data formatting and column resizing are easy with some apis and I dont think they will be restricted by any security policies.

    It will be completely unreasonable to replace the grid throughout the program within the time frame we have as its already into QA testing schedules with deployment coming up in about a month in which qa testing and full regression testing will need the entire 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

  4. #4
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Janus Grid Display Issue

    Hmmm, I assume you know data is being populated, i.e., you can test the values being sent to the grid for population or if the grid is databound via ADO or something else, you would be able to query the grid contents to see if it returns any values.

    If you know what grid control class is being used (maybe it is using an O/S syslistview32/systreeview32, subclassed of course), you might be able to google on permission related errors pertaining to that specific control. Even if you can't run spy++ on the server to determine what class that control is displaying, you should be able to whip up a quick vb/.net app to get class names the cursor happens to be over? Of course, if it is a custom, owner-drawn, usercontrol, then all bets are off.
    Last edited by LaVolpe; Sep 30th, 2009 at 03:54 PM.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  5. #5
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Janus Grid Display Issue

    Another thought: This may be a feature and not bug? Could the codejock license/validation be failing and purposefully preventing the grid from displaying correctly? For example, some validation software might be querying hard drive serial numbers or NIC/mac info via WMI or other tools that now may be disabled for non-administrators or possibly reading/writing to registry which is now failing. Something worth asking CodeJock.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  6. #6
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Janus Grid Display Issue

    Just a guess Rob... Never worked with Janus GC....

    What is the version that you are using? Is it up to date? Saw this link for patches (the last one was posted on Posted on June 19, 2001 )

    http://www.janusys.com/janus/beta/downloads_patches.htm
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  7. #7

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

    Re: Janus Grid Display Issue

    Nope, we have the patch/update already - 2.0.0.2215

    Arent all "Features" just bugs lol.
    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. #8
    New Member
    Join Date
    Oct 2009
    Posts
    3

    Re: Janus Grid Display Issue

    Hi LaVolpe,

    You asked "Could the codejock license/validation be failing and purposefully preventing the grid from displaying correctly?". To answer this question, no we do not purposefully prevent any third party control from displaying correctly, this seems to be an issue with Janus. We cannot control how other 3rd party controls draw themselves, however we are more than willing to work with you and / or Janus to resolve any problems you are having.

    Best regards,

    Kirk Stowell
    Codejock Software
    www.codejock.com

  9. #9

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

    Re: Janus Grid Display Issue

    Hi Kirk, Welcome to the Forums.

    As per the info and picture, what do you think could the issue be?

    Thanks
    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. #10
    New Member
    Join Date
    Oct 2009
    Posts
    3

    Re: Janus Grid Display Issue

    Hi RobDog888,

    At first glance it appears to be a refresh issue, that is the window is not getting redrawn after it is updated. It is hard to tell without actually seeing the code or stepping thru it with a debugger. Have you tried minimizing / normalizing your app to see if the window redraws?

    Kirk

  11. #11

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

    Re: Janus Grid Display Issue

    Im sure I tried but will double check tomorrow. Dont want to break out the work laptop and remote in at this hour lol.

    The records are actually there but not visible like in the screen shot attached in first post. If I double click on an area where a grid recrd should be it fires the double click event and attempts to open up a secondary form with the customer details but it locks up the thread and no choice but to terminate the process with taskmanager. Seems like some data may be being transmitted from the grid to the child form confirming that something is there.

    Friday we tried taking everything associated with the grid from one working terminal server over to the dev terminal server where its broken and still no luck.

    If its a refresh/drawing issue then not sure why being in the local admins group produces no errors. Seems it should be consistant but not sure how the grid is authored.

    Thanks and will keep the thread updated with any new findings.

    Thinking of writting a wrapper for the listview perhaps and replace the janus grid with that. We cant take the chance that the issue will arise in other environments like Production which will be disasterious.
    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

  12. #12
    New Member
    Join Date
    Oct 2009
    Posts
    3

    Re: Janus Grid Display Issue

    Ok, let me know if you need any help with this. Not to be self promoting or anything but have you looked at our Report Control as an alternative to Janus Grid? http://www.codejock.com/products/rep.../?platform=com. We have a feature tour you can walk thru to review major features.

    Cheers,
    Kirk Stowell
    Codejock Software

  13. #13

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

    Re: Janus Grid Display Issue

    Thats a nice control but we just need basic displaying of tabular data.
    They are now getting worried and I doubt they will want to take any risks that would be out of our control.

    Looks like a wrapper listview or a flexgrid perhaps. Almost done with a listvew demo for them to approve.

    Still dont have the root cause on this so I will leave it as unresolved for now. If a solution is found please let me know.

    Thanks
    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

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