Httpwebrequests Takes Too Much Bandwidth?

Apr 24, 2012

I have a multi-threaded application that sends requests to my online app and that page is less than 1kb now the question is how do 15 threads take 300kbs

View 1 Replies


ADVERTISEMENT

VS 2010 HTTPWebRequests - Memory Usage Indefinitely Increasing?

Jun 23, 2011

I'm having an unusual problem that I've never had with WR's before. I have a very user-driven program that interacts with a server of mine through webrequests. Depending on what the user's doing, it could end up sending a dozen requests/minute. This has never been a problem before, but for some reason system memory usage increases and doesn't stop increasing, as if something is cluttering it up for every webrequest that is sent out.

Is there a known problem with WR's like this? Or is it just a random screw up? I can get my system back up and running smoothly.

View 5 Replies

How To Limit Bandwidth Using Ftp

Feb 25, 2010

how to limit Bandwidth using ftp

View 1 Replies

IDE :: Monitoring Bandwidth Client In Lan?

May 21, 2010

<!-- [if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent>[code].....

I am a beginner in network programming with VB 6, I am a beginner in network programming with VB 6,I wanted to ask is how the VB 6 source code to know the bandwidth usage of each client in an Internet cafe, we as a server at the cafe, suppose that we had five clients that are connected directly to server, on the server so we know the bandwidth usage of the clients.

View 4 Replies

Restrict The Bandwidth Of An Application?

Apr 18, 2009

I'm using a webservice to update some data to server.my webservice is written in asp.net and vb.i'm invoking it from a windows application(vb.net) but when my webservice is running it uses the complete bandwidth of my internet connection. is there any way to alllocate a particular bandwidth to this webservice sothat it wont affect other applications using internet?

View 5 Replies

Develop A Internet Bandwidth Limiter?

May 12, 2010

how to develop a internet bandwidth limiter in vb.net 2005

View 2 Replies

Bandwidth Calculation (Internet Data Transfer)?

Jan 11, 2011

I have used the following code to get bandwidthIt works but i have following doubts1.I need Total Internet Data transferred in MB, how do i convert?, total data transferred (download+upload) varies with other bandwidth monitoring applications. how do i get exact data transferred?2.I need to exclude file transfer in local LAN in Data Transfer, The follwoing method includes internet data transfer + Local file transfer

Option Explicit
Public Enum OperationalStates
MIB_IF_OPER_STATUS_NON_OPERATIONAL = 0

[code].....

View 1 Replies

Speed Up A Download / Increase Bandwidth Usage?

Nov 5, 2010

How do I speed up a download / increase bandwidth usage? I tried using more threads but the speed caps at 2 threads.how do download accelerators like internet download manager speed the download so much?

View 1 Replies

How To Connect At A Lower Bandwidth But Am Unable To Find An Option

Oct 20, 2011

im currently making use of the VNCSharp lib here this is the API im trying to understand how to connect at a lower bandwidth but am unable to find an option, i know from the vnc protocol (RFB) it requires a setpixelformat command to be sent during the client init to the framebuffer process

View 2 Replies

Sleep For PacketSize/Bandwidth Amount Of Duration For A Network Application In VB?

Sep 20, 2011

I would like to sleep for packetSize/Bandwidth amount of duration for a network application in VB. This value varies from "10^-3 - 10^-6" seconds.When I use the Sleep() func, I think it is not sleeping for the duration if it is less than unity (< 1 sec ~~ 0 sec??).

Edited:I have to keep sending packets after a short nap of above range. So, I could not specify, for eg., to sleep for 0.001 milli seconds at the client side.My requirement is for the client side of CS app, which reads a file and keeps sending small packets at regular or irregular interval of sleeps to the Server. The Server, later, captures the packets and processes it at its own rate..

View 4 Replies

VS 2010 Stream Voice Without Using Alot Of Bandwidth With Minimal Delay Between Talking?

Aug 4, 2010

Anyone have any examples, or source code or SDK's that are FREE?I'd like to setup a simple voip program to play with.Was curious whats the simplest way of doing it, using UDP across an IP.I planned on having a server program, as i'd want multiple clients.My question is, how can i stream voice, without using alot of bandwidth with minimal delay between talking?

View 1 Replies

Check The Bandwidth (download Speed And Upload Speed) Of A User In .net Or Php?

Dec 31, 2010

how do i check the bandwidth (download speed and possible upload speed) of a user in vb.net or php that uses my app or visits my site resp?

View 1 Replies

Program Takes All Cpu?

May 10, 2010

A couple days, I figured up a working program and it was def. faster than what we needed. Now, adding a couple more loops, the program barely uses any memory, but the cpu used spikes up to 90+ and just letting it sit doesn't help.I tried taking out the couple loops I put in, but it does not revert back to being fast. It's nothing big, but since dealing with 1000+ excel files a day, I'd rather not do that by hand.

how many infinite loops vb.net can support without dragging down the system? I know, infinite loops are poor design, but it works.

View 11 Replies

.Net Exe Takes More Time While Loading?

Feb 9, 2010

When I run my .net application exe .It takes time while loading first time How can I reduce a loading time of my application exe ?

View 6 Replies

Hyperlink In Asp.net That Takes The Value To The Next Page?

Feb 2, 2010

im using asp.net with vb.net in backcode. On my first page, i diplay names of all employees. I want to give that a hyperlink, that when clicked upon shall open the next page with say a querystring and opn only that employees records. Also I want the save the employeeid (which is not shown on page 1) on the second page, cause when i do updates on second page, I want to use that employeeId in "where" clause for update or insert statements.

View 2 Replies

IDE :: .Net Exe Takes Time While Loading?

Feb 4, 2010

When I run my .net application exe .It takes time while loading How can i reduce a loading time of my application exe.

View 2 Replies

Opacity Takes Away Smoothness?

Feb 1, 2012

I designing a form with different control have different opacity values.the problem is when i use the transparency key method to make a portion of the form transparent the resulting form and text is not smooth and traces of the transparency colours can be seen is there a way to remove this or any other way to implement transparency?

View 2 Replies

C# - Which Takes More Memory - String Value Or Long Value

Apr 16, 2012

I have a client application that connects to a WCF service, i get the file size from the server as a long value then i convert it at the client to a string so it appears like ex:52.21 MB the application gets too many files sizes every time user changes the directory pathso the question is :should i convert the values to a string format from WCF service app then return it to the client as a string format or should i just return the size as a long value and let the client to convert it to a string format in other way which value take more bytes in the memory:

[Code]...

View 3 Replies

Form Takes Forever To Load?

Aug 3, 2010

Ok, this might be something stupid that im not doing right, but here is my problem. Im moving from my 1st form, a small window, into my second form, that is full screen, but it takes like 4-5 seconds to load the full form. It sucks because during this 4-5 second load time, parts of the form at transparent and it just look bad. I think it might be because i have around 35 labels and a few other objects on the form. Does anyone know a way to make this not happen? Im in VB08.

View 14 Replies

Function That Takes A String As A Parameter?

Jan 1, 2012

I have a function that takes a String as a parameter And in it I have variables, so if I call it it's like

Dim Text As String = MyStringConverter("Hello Mr. " & Name & " " & Surname "!")

View 4 Replies

Getting Mac ManagementClass Takes To Long To Fail?

Jan 28, 2009

I'm using the following code to fetch a mac address

Try
Dim cls As New ManagementClass("\" & IP & "
ootcimv2", "Win32_NetworkAdapter", New ObjectGetOptions(Nothing, TimeSpan.MaxValue, False))
Dim col As Object

[Code]...

It is working as expected. My problem is that it seems to wait far too long for devices which do not respond, and when the output of GotMac is "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" How do I shorten the wait time for these types of events?

View 5 Replies

Method/sub That Takes An Object As A Parameter?

Dec 23, 2010

I have a method/sub that takes an object as a parameter, then it scans through a panels controls and trys to find if it is in the window.

Public Sub removetype (ByVal findobject As Object)
Dim types As System.Type = findobject.GetType
For Each ThisCtrl In Flow.Controls 'flow is a panel

[Code]......

View 3 Replies

MySqlDataAdapter.Fill Takes Almost 6 - 7 Seconds

May 13, 2012

I run a simple SELECT (noted below) in a stored procedure of a table that's around 1,500 rows.

[Code]...

This operation takes around 7 seconds. I inserted Breakpoints and used F11 to determine that upon MySqlAdapter.Fill is where the lag starts. Both my computer and the server hosting the MySQL database are NOT challenged spec wise. I'm guessing it's the query itself. collectionitem holds the 2 foreign keys linking an itemproperty to a collection. we feed the sproc sId(PK of collection) so that the subquery returns all the itemids from a specific collection and then we use the itemid(PK) in itemproperty. Is there any way to speed up the process?

UPDATE My issue was entirely due to improper indexing. Once I learned which columns to index, everything is extremely smooth!

View 2 Replies

Program That Takes A SSN Into A Number Field?

Oct 26, 2009

I am writing a program that takes a SSN into a number field.Issue is when a SSN is entered with a leading 0. Ex. 012-34-5678 The zero is cut off and turns it into an 8 byte field, which is not good for SSN obviously.What can I do to prevent this from happening?

View 10 Replies

Takes A Screen Capture Of Monitor?

Mar 18, 2009

I have some code that takes a screen capture of my monitor. This code seems to work perfectly OK and can take multiple screen captures, apart from when I do a Print Screen using the keyboard or open SnagIT 8, when I then try to run my code again I get an error "A generic error occured in GDI+"

I am at a bit of a loss, I have had a look on the internet, but everything I seem to find appears to be related to web apps. and access permissions. This is a window based application and therefore can not seem to find an answer.Below is the code I am running:

[Code]...

View 1 Replies

Takes A Single Byte As An Argument?

Dec 4, 2009

Ok, this is going to be a bit bizarre, but I'm looking for something strange, so all suggestions are welcome:I have a function that takes a single byte as an argument. From that byte, without using any random function, I need to create two other random bytes. I specifically cannot use the Random object, but fortunately, the other bytes do not need to be random relative to the argument. Also, the argument is random.

Therefore, one other byte can be created by XORing with &HFF, which will create the inverse of the argument. Since the argument is random, the inverse is also random. I need one other technique that will create that last pseudo-random byte. I thought about bit shifting, but that results in something quite a bit less than random (it will be biased high or low, depending on the bit shifting).

One possibility that I am trying is to use CByte(100000/arg). Does anybody have any other suggestions?

EDIT: The result of that equation for all values of the argument is a very interesting pattern. It will probably be fine, but I'd still take suggestions.

View 10 Replies

Takes A Value In A Combo Box And Appends It To A String?

Jul 23, 2009

I have the following expression that takes a value in a combo box and appends it to a string :

Dim Expression As String = "COMPANY = '" & cmbCompany.Text & "'"

View 2 Replies

VS 2010 70KB App Takes 10MB Of RAM?

Jul 4, 2011

Was just wondering, why would a 70KB application takes almost 10MB of RAM? All the application does is that it shows the amount fo FREE RAM my computer has. It has 2 pictures, an icon and 2 labels. The amount remains the same, it doesn't increase with the passing of time, I just think such a small application shouldn't eat that much memory.

All code is below:

vb.net
Public Class Form1
Dim drag As Boolean
Dim mousex, mousey As Integer

[Code]....

View 5 Replies

Word Application Takes Time?

Apr 5, 2011

I achieved all functionality what was needed but my issue is creating and disposing the object is time consuming.Is there any method by which we can make it faster .

I am using word object for spell checking in richtextbox

View 3 Replies

WPF Application Takes Too Long To Start

Dec 16, 2011

I am creating a WPF Application that uses Fluent library.

On my computer with Windows 7, 2GB RAM and AMD Triple Core processor, after double clicking on the program icon, The Splash image shows after about 1-2 seconds.

But on my brother's old computer with Windows XP, 512MB RAM and Intel Celeron 2.0 GHz Processor (Single core), after double clicking on the program icon, First, a process called PresentationFontCache.exe runs and it uses almost 100% of CPU for some seconds. And Total time is needed for displaying the initial Splash image is almost 30 seconds (or more).

I don't want that some users have to wait 30 seconds for displaying splash image and about 7-8 seconds for loading application. (my application load process takes 7-8 seconds)

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved