Results 1 to 8 of 8

Thread: [RESOLVED] Initial open of form with particular OCX takes 30+ seconds | SLOW

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    100

    Resolved [RESOLVED] Initial open of form with particular OCX takes 30+ seconds | SLOW

    Details:

    * Occurs both in IDE and EXE
    * Same exact form+OCX is not slow when tested on another machine

    Things I've Tried:

    * Uninstalled and reinstalled OCX completely
    * Tried a few black magic tactics like creating a new project and adding the OCX to a form (also slow to load)

    Never seen this before - any suggestions?

  2. #2
    PowerPoster
    Join Date
    Nov 2017
    Posts
    3,116

    Re: Initial open of form with particular OCX takes 30+ seconds | SLOW

    Is this an OCX you've developed, or is it a 3rd party OCX? If 3rd party, what is it?

    A 30 second timeout is common for a network connection attempt, so my first suspicion with the limited information provided would be that if this is a 3rd party OCX, it is probably trying to "phone home" at load, or make some other network connection somewhere, and that connection is failing for some reason.

  3. #3
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,393

    Re: Initial open of form with particular OCX takes 30+ seconds | SLOW

    More details would be helpful, like:

    1. Differences between the 2 computers. Windows versions, 32 or 64-bit OS, etc.

    2. What does the OCX do?

    3. What happens on a form without that OCX?

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    100

    Re: Initial open of form with particular OCX takes 30+ seconds | SLOW

    The OCX is TX Text Control version 14 tx4ole14.ocx and I've never had any trouble with it. I can't imagine it's phoning home, though the 30 second timeout is worth noting.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    100

    Re: Initial open of form with particular OCX takes 30+ seconds | SLOW

    Both computers running Windows 10 64bit. My sense is that this is some registry issue.

  6. #6
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    5,120

    Re: Initial open of form with particular OCX takes 30+ seconds | SLOW

    Quote Originally Posted by zlander View Post
    Both computers running Windows 10 64bit. My sense is that this is some registry issue.
    Control's OCX file might by code-signed by vendor. Then on first load Windows would be checking for certificate revocation by phoning CRL server that is provided in the code-signing certificate. The server might be unreachable exactly this day, exactly from your local ISP's network.

    cheers,
    </wqw>

  7. #7
    Hyperactive Member
    Join Date
    Jul 2013
    Posts
    400

    Re: Initial open of form with particular OCX takes 30+ seconds | SLOW

    Quote Originally Posted by zlander View Post
    The OCX is TX Text Control version 14 tx4ole14.ocx and I've never had any trouble with it. I can't imagine it's phoning home, though the 30 second timeout is worth noting.
    It's probably related with the printer driver. TX has an option to format the text to the printer or the screen. Check it it makes any difference
    Carlos

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    100

    Re: Initial open of form with particular OCX takes 30+ seconds | SLOW

    Quote Originally Posted by Carlos Rocha View Post
    It's probably related with the printer driver. TX has an option to format the text to the printer or the screen. Check it it makes any difference
    And we have a winner! I removed the active printer and the problem vanished. Thanks Much!

Tags for this Thread

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