Re: VB6 Generating Lots of Network Traffic

Tech-Archive recommends: Speed Up your PC by fixing your registry



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


.



Relevant Pages

  • Re: Questions about .NET Deployment Models (i.e. ClickOnce)
    ... With dotnet you can still leave the exe on the server with a shortcut to it ... it really allowed me to go ahead and play around with ClickOnce ... having all of the executables on 1 spot on the network. ... mini-app and put a shell execute for it in the bigger app, ...
    (microsoft.public.dotnet.framework)
  • Is this a virus / trojan / worm ?
    ... At least he had the common sense to unplug his PC from the network when he ... If I run the exe it does nothing but it does show up in the ... The next event in the Event Vwr "The shell stopped unexpectedly and ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Who is using the EXE
    ... Running applications across a network is a bad idea for several reasons, ... The normal solution is to write a small launcher program which is installed ... if it finds a newer one on the server it copies it over the local ... I developed an application using VB6, placed the exe in a shared ...
    (microsoft.public.vb.general.discussion)
  • RE: Running Fox Exes from a local network, VFP5.0 vs VFP6 - 8
    ... in the same folder on the network as the EXE and start the EXE with a ... Place the EXE and data on the network, ... Microsoft FoxPro Technical Support ... >responsibilties this is easy to connect new workstations to these apps. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Network Issue
    ... i created a test protected mode exe ... started on my windows network ... copied it over the exe running on the network ...
    (comp.lang.clipper)