• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 578
  • Last Modified:

INET Freezes (VB6)

I have a Visual Basic 6 program that uses INET, and constantly makes inet requests using a timer.  This program used to work quite well, and then i reformatted my computer.  Now, the same program (I put it on a CD) freezes within about 5 minutes of running it.  It works well on my friends computer.  I tried changing the priority of the task to low in the task manager, but that didn't work.  Any idea how I can fix this problem?  Thanks in advance.
0
jtk207
Asked:
jtk207
1 Solution
 
mugman21Commented:
I believe the cause of this is due to the INET's registration info in the registry has been currupted. Re-register the msinet.ocx control.

To do this,  open a command prompt by clicking on your start menu, select RUN, and type in CMD and hit enter. Then, at the prompt, type the command "regsvr32 c:\windows\system32\msinet.ocx /u" . That will unregister the Inet control and now you need to re-register it.

Now type this at the command prompt, "regsvr32 c:\windows\system32\msinet.ocx". This is basically the same command as above, but minus the "\u" parameter.

Try your project again, it should be fine now.

Good Luck,

Mugman
0
 
jtk207Author Commented:
Heh.. thanks a lot!  All you truely needed to say was:

"I believe the cause of this is due to the INET's registration info in the registry has been currupted. Re-register the msinet.ocx control."

...the rest I knew.  But thanks for the extra effort.  Good job!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now