-
Jan 19th, 2021, 05:37 PM
#1
Thread Starter
Lively Member
[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?
-
Jan 19th, 2021, 05:44 PM
#2
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.
-
Jan 19th, 2021, 05:47 PM
#3
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?
-
Jan 19th, 2021, 07:24 PM
#4
Thread Starter
Lively Member
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.
-
Jan 19th, 2021, 07:26 PM
#5
Thread Starter
Lively Member
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.
-
Jan 20th, 2021, 06:12 AM
#6
Re: Initial open of form with particular OCX takes 30+ seconds | SLOW
Originally Posted by zlander
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>
Last edited by wqweto; Jan 21st, 2021 at 01:31 AM.
-
Jan 20th, 2021, 11:28 AM
#7
Hyperactive Member
Re: Initial open of form with particular OCX takes 30+ seconds | SLOW
Originally Posted by zlander
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
-
Jan 20th, 2021, 03:14 PM
#8
Thread Starter
Lively Member
Re: Initial open of form with particular OCX takes 30+ seconds | SLOW
Originally Posted by Carlos Rocha
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|