I have developed an application using embedded visual basic 3.
it works prefectly
... then I exchange some data from a server using a winsocket...
When the communication ends (8K of data data exchanged), the
application becomes weird... after a while, when I click on a command
nothing happens...nor listbox, grid... no one *_click event works.
The app stop to respond. I have to reset the palm.

I use a different form to exchange data, and after the data exchange
the "hourglass mousepointer" remain always visible (rotating)
there are no loops... so the program cannot be in a loop.

any suggestion?
thanks

Re: embedded visual tools does not fire events anymore by kitesurfz

kitesurfz
Sun Apr 20 17:57:15 CDT 2008

... if I close the winsocket (winsock1.close) IT WORKS

so... WHAT IS DOING THE WISOCKET?

does anybody uses the winsocket and known how to use it correctly?

(of course in my applicatiob I should have to leave it open... I
cannot close it)

Re: embedded visual tools does not fire events anymore by r_z_aret

r_z_aret
Tue Apr 22 15:35:50 CDT 2008

On Sun, 20 Apr 2008 14:16:24 -0700 (PDT), kitesurfz
<newsgr@pookmail.com> wrote:

>I have developed an application using embedded visual basic 3.
>it works prefectly
>... then I exchange some data from a server using a winsocket...
>When the communication ends (8K of data data exchanged), the
>application becomes weird... after a while, when I click on a command
>nothing happens...nor listbox, grid... no one *_click event works.
>The app stop to respond. I have to reset the palm.
>
>I use a different form to exchange data, and after the data exchange
>the "hourglass mousepointer" remain always visible (rotating)
>there are no loops... so the program cannot be in a loop.
>
>any suggestion?

You haven't given us enough detail for a specific answer. But you
should start by making sure you undo anything you've done. That means
closing any threads, calling shutdown, perhaps calling
WSACancelBlockingCall. For each function you call during socket start
up, check the help file info to determine what you need to do during
shut down.

>thanks

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com