VS 2008 Usage Of UDP In .net?
Sep 24, 2009I was thinking in doing some voice chat in my application which requires the use of UDP.
If you know any useful articles or can give me a boost I will be very glad and obliged.
I was thinking in doing some voice chat in my application which requires the use of UDP.
If you know any useful articles or can give me a boost I will be very glad and obliged.
Get the current number of usage days, unique usage days, etc in an evaluation license using CryptoLicensing Generator.
View 1 RepliesI am new to arraylist. I have used standard 2 dimension or single dimension arrays which is there is .net & legacy VB.What I want is removing & searching in arrays to be easy ? VB.net does provide something called arraylist whereby we can remove items easily like X.removeat (index) or x.remove (search) etc.[code]Now I have a array person. To add i do redim person(10) or using preserve if I need to dynamically add etc. To remove is a pain as I need to copy contents and remove manually.Anyways in .net you have option called ArrayList.How can I use this to make life easier? If I want an arraywhereby I can do person.removeat (2) or person.add person.name="XYZ" & so on.Just wanna ease up on searching & removing.
View 6 RepliesIs it possible to determine how much RAM a process is using?Let me rephrase that, is it possible in VB.net to do this, and if so, how can I do this?
View 2 RepliesI am currently running through a loop with 20 threads. These loops contain a series of 3 HTTPWebRequests (relatively CPU intensive). At the beginning, CPU usage never spiked above 10%. After about 7 hours of run time, CPU is spiking up to over 40%. I believe that this will eventually lead to the program crashing (it has before in less time, I modified some things and it seems to be running longer). What kind of intense CPU spikes are associated with threading? More importantly, how can the duration of runtime affect CPU usage by so much?
View 11 RepliesI'm trying to display the ram usage for my system with.
VB.net
MsgBox(My.Computer.Info.AvailablePhysicalMemory My.Computer.Info.TotalPhysicalMemory)
I always get zero why? Also i want to avoid the performance counter for this.
I found an ExtendedRichTextBox which was in C# i converted this class to vb.net using online code converter. There are number of options in like justifying the text, Inserting numbers list to selected text, Line spacing and etc i am unable to apply its some functions like line spacing, InsertOleObject etc if any one can figure out how to use the new functions of this control ? control is attached.
View 1 RepliesIs there a way to make an application show it's own memory usage?
View 9 RepliesIm wondering if there is some way of monitoring individual processes (read: not mine) cpu usage and ending (asking politely then killing it off) the offending process. I dont know about you, but i've been in multiple instances where i've been unable to get to taskmanager to "choose" process to be killed. For multiple reasons (Either taskmanager has been visible, but a game window is still showing (alt+tab not working), leading to a guess game of clicking processes or cpu usage has been so high that one mouseclick takes 30 sec.)
[Code]...
Im trying to monitor the battery of notebooks to diagnose whether there charging/discharging correctly or not for my work. I can get the basic info using SystemInformation.PowerStatus but i want to be able to see the slope or decline of the charging via a graph. Is this possible? i was playing with the system monitor control and thats the kind of output im trying to get. A simple line graph would be perfect....passmarks battery test is a example of what im going for
View 2 RepliesWhy does CPU usage jump so high when a WebBrowser control is navigating to a page?Is there a way to drop CPU usage?
View 17 RepliesHow do I get the cpu usage percentage to display in the label on a form?
View 4 RepliesIn this discussion let us discuss every usage of interfaces in .NET. Any real time examples and difficulties in using interfaces can also be discussed here.
View 6 RepliesHow would i moniter how long a user uses my program and when it reaches a hour it will close the program, but then the user will have to wait 24 hours before they can gain accesss to the form again perhaps open a msgbox that shows how long is left till it can be used I like.. [code]...
View 2 Repliesim making a task manager and want to get cpu usage of a process this is how my code looks now
For Each proc As System.Diagnostics.Process In pList
Dim lstStuff As ListViewItem = New ListViewItem()
lstStuff.Text = proc.Id.ToString
[code]....
everything works but the cpu part it returns values over 100%?
im using visual basic 2010 express and im wanting to know how i can display the CPU usage (over all CPU usage like you would find on the task manager), the RAM usage, the temperature, and the frames per second all in separate list boxes.I have searched around on the internet for a long time looking for the code's to do this, none seem to be compatible with the 2010 express version.
View 12 RepliesI was told to use this to specify a folder that I want my node to go to.
(Declaration)
<ComVisibleAttribute(True)>
Public Enumeration SpecialFolder
(Usage)
Dim instance As Environment.SpecialFolder
i am a beginner in vb.net programming...started a project in it.Below is the breif project description.The application is to ensure the integrity of the files.Following are the majors things that i have to implement
1. To browse the files from the disk on runtime.initially i am just taking the database files so it's basically to connect with the MS access db files.
2.To apply the different hash and encryption algos on the file.
3.To store the results on the hard disk back.
4. To calulate the performance of each algo using some performance matrix.(TIME,MEMORY USAGE etc)
Now i am having problem in two things.First in runtime connectivity with MS access batabase..and secondly and the main problem is that i could'nt find any appropriate builtin function to calulate the processing TIME and the MEMORY usage.
instead of using if control.invoke required in a procedure can I just call the procedure with begininvoke?I have, possibly, the following:
Private Sub UpDateTimer_Elapsed(sender As Object, e As System.Timers.ElapsedEventArgs) Handles UpDateTimer.Elapsed
UpdateTime()
If MicActive Then
PTTCancelTime += 1
[code]....
When are predicates appropriate and what is the best pattern for usage? What are the advantages of predicates? It seems to me like most cases where a predicate can be employed a tight loop would accomplish the same functionality?
View 3 RepliesI would like to use C# for an application I'm building, but the application makes heavy use of automation (i.e. Excel, Word).
Is it feasible to use C# for such an application? It used to be a nightmare to use C type languages for things like parameter lists with null arguments etc..?
for the form styles, the manual writesQuote:
View 2 RepliesVB code to use a dbo SQL stored procedure which allow the VB form to insert data into SQL dabase table?
View 2 RepliesI've been using 2005 but just downloaded 2010 and discovered Generate From Usage.
Did 2008 have this provision?
How Do I get the CPU usage of my application with a PerformanceCounter?
View 3 Replies1- I need to de-activate or make the button invisible after it was used once so the user can not return and use the button again.
2- What is the code to create an exit button. This is additional to the X button in the upper right corner of the Form.
How do you limit the CPU of a while loop?
In this case, the code which is inside the while loop[code]...
Well there are several ways that you can implement such a log. You could write to a text file or XML file...or you could use the Windows Event log.
What do you envision using for logging purposes?
I've been having complaints about my applications that they use to much memory.Is there a way to make them use less?
View 11 RepliesI'm trying to split some prior crafted code into a DLL. It's a simple logger system.There are a few things that need to be shared with the main form in the project, so I set them up as a shared variable, but I don't use shared stuff often, and I worry it will cause variable conflicts regarding scope. I figured I would make a post here about it and see if someone can explain what I don't fully understand.Since this is a logger it will be used a couple of places. Other DLLs that need logging may reference it through a instanced object and project reference. My main form will also have an instanced object and a reference to the logger libary.Since one of my properties is a connection string and it's shared, does this mean that a instance of my logger class inside a DLL will have the same shared values as a instance on my main UI form? Or will the fact that the instance is inside of a DLL provide the scope boundary I need?
View 1 Replies