Re: VB6 Generating Lots of Network Traffic
- From: "Mark Yudkin" <myudkinATcompuserveDOTcom@xxxxxxxxxxxxxx>
- Date: Fri, 18 Nov 2005 08:57:15 +0100
What surprises me is the quantity of the network traffic. You will have
traffic when running code from a network drive, and you will have it when
"new bits" are loaded. Unlike running code from removable storage,
network-based code is not loaded into memory (the swap file) when first
read. Also, you have to consider thread local storage and so on.
As Ken and Raph say, look at your code to see if you're doing something that
also goes back to the main program's source location.
"Rodrigo" <Rodrigo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:779E8E9E-E241-4EC2-9E10-8F8672FFCC98@xxxxxxxxxxxxxxxx
> "Ralph" wrote:
>
>> It doesn't matter if it is a database or what ever. What Ken is pointing
>> out
>> that the code supporting the ComboBox is fetching something "local" to
>> where
>> it "thinks" it is running.
>>
>> When you run the ActiveX Exe from the network, the downloaded image in
>> the
>> PC is likely returning to the appserver to retrieve some item. When the
>> Exe
>> is on the PC it just goes next door. Find that item.
>>
>> Take a peek at the code used to fill the ComboBox.
>>
>> Still stumped, post it here.
>
> Okay. Let me ask you some things then...
>
> Suppose I have an ActiveX EXE which I use to encapsulate all database
> connections (i.e. my app only have access to the db via this ActiveX EXE)
> and
> this ActiveX is registered in the local machine pointing to the EXE
> located
> in some network share. Does this mean that everytime I use a new instance
> of
> the object, it will load the EXE to the memory again (reading the EXE from
> the network share) ?
>
> Another thing: I tried registering all my ActiveX EXEs locally (putting
> them
> on the local hard disc), leaving only the main app EXE (standard EXE) in
> the
> network share. It still generates network traffic (in port 139) while I'm
> using the application.
>
> I still don't get it.
>
> Rodrigo
.
- References:
- Re: VB6 Generating Lots of Network Traffic
- From: Ken Halter
- Re: VB6 Generating Lots of Network Traffic
- From: Ralph
- Re: VB6 Generating Lots of Network Traffic
- Prev by Date: Re: Combo Box Question
- Next by Date: Re: Kick off job on-the-fly
- Previous by thread: Re: VB6 Generating Lots of Network Traffic
- Next by thread: Re: VB6 Generating Lots of Network Traffic
- Index(es):
Relevant Pages
|