Perform In-house Test Performance For .net Application?
Aug 21, 2009
my friend is currently development an application using SOA Architecture, He sent me a picture with a lot of layers (10 almost) and he is worried about performance issues, the application is development on VB.Net 2.0 & 3.5 (some libs).
View 3 Replies
ADVERTISEMENT
Jul 15, 2011
Currently I'm writing a VB.NET app and it's getting big, resulting in its become very slow.Is there any application (or plug in) that can test the performance in seconds?I mean, when I click a button and it displays a product, I want to know exactly how long it is gonna take.
View 3 Replies
Jan 13, 2011
I've developed a very small in-house web application with visual basic on VS2010. Can anyone give me any advice or literature s to how i can put the site on a server?
View 5 Replies
Jun 6, 2011
I am working as a software tester in Software Quality Assurance department in small company. And what I want to do is design a tool or application to test the performance of any software. Basically I want to create an application that I can use while I am doing the performance test to decrease the free space of the memory and also to make the processor 100% busy. And that will putting any working software under stress environment.
View 6 Replies
May 30, 2012
I study automation engeering!I am in the last year of my studies and i choose for the final project <<Smart house Design And Controlling>>.I would like to create a application on windows to present the plan of the house and control it I decide to use the Visual Basic Express!If someone can help me on this project.
View 1 Replies
Apr 11, 2012
I am new to working with SQL databases (and databases in general) so I do not have a lot of experience with how queries work and how I can practice them. When I was first learning xml and XPath, I found XPath Visualizer incredibly helpful after someone on stack overflow mentioned it to me.Due to this, I am wondering if a similar tool exists for SQL databases?Basically a tool that will allow me to connect to a database,enter queries and see somehow what the results would be like.
I have looked online a bit, however I have found relatively few options in terms of any utility that would do what I want, and that looks reliable.I will ultimately be writing an application to interact with an SQL 2008 server in vb.net, however for now I am just experimenting so I will know what I am doing when I actually want to create my application.So far I have managed to connect to the database using an OLE DB connection, but I am now looking for a way to experiement with queries without just querying and figuring out a way to interpret the results in my program. Basically I want to be able to remove the programming aspect of things so I can experiment with queries without needing to question anything in my code that is unrelated to the specific query.
View 7 Replies
Oct 27, 2011
Possible Duplicate: Memory leak in .net application I am working on a desktop application in VB.net 2005.The application contains a timer with an interval of 1 min. Each time the timer ticks, a set of functions gets executed, mostly database related. Initially the application runs fine. In processes(Task manager) the cpu usage goes to 100% every time the timer is invoked. But the timespan is around 1 sec(negligible). However as the time passes and after around 20 hours the time span of timer_tick increases to something like 20-30 secs. In this period cpu usage is 100% and the application does not responds.Gradually the time span of timer_tick increases to 1 min and the cpu uses gets stuck to 100% and the application does not responds. All objects are properly disposed. Moreover, this issue is with pentium 4 processors. The application runs fine on core 2 duo.I am using DevEx controls in my application.The program runs fine with less records in database.I have run the CLR Profiler. The code seems to be fine.
View 1 Replies
Jun 18, 2009
In my VB application,I am copying huge amount of data using VB string?This results in performance issue.What shoul I use in place of VB string to improve performance?
View 5 Replies
May 20, 2010
I have single-thread windows form application written with VB.NET and targeting Framework 1.1. The software communicates with external boards through a serial interface, and it mainly consist of a state machine that run some tests, driven in a loop done with a Timer and an Interval of 50ms. The feedback on the user interface is done through some custom events raised during the tests.
The problem that is driving me crazy is that the performance slightly decrease over time, and in particular after 1200/1300 test operations. The memory occupied does not increase over time, it is only the CPU that seems interested by this problem. The strange thing is that, targeting framework 2.0 and using the same identical code, I do not have this problem.
I know that is difficult without looking at the code, but do you have suggestions how can I approach the problem? EDIT: I am really lost, after a couple of intensive work the application starts slowing down. The selected row is related to its process, if it could help.
EDIT2: Using the Windows Task Manager I detected that the Handles counter is increased by 1 at the end of each operation. I don't know if it is the cause but the application starts to slow down when the handles counter reaches about 1500 handles. I checked that all necessary RemoveHandler are called after each operation. Any idea?
EDIT3: I found that the handles problem is generated by the C++ library we are using to communicated with the serial device. It then happens both in .NET 1.1 and .NET 2.0. The difference, and that's strange, is that if the target .NET 1.1 the application slow down/freeze instead for .NET 2.0 I reached more than 30000 handles without loosing performances. Now I don't know if the problem is really caused by this lost handles, I will try to ask to the developers of C++ library to correct the problem and see if it solves the problem I am having on .NET 1.1.
View 4 Replies
Oct 15, 2010
I'm using Visual studio 2008 and microsoft sapi in a forms application. I am using text to speech which works just fine however when the computer is speaking it "bricks" the application and the main ui is unresponsive until the computer is done talking then everything returns to normal. To counter this issue I tried using the background worker thread to establish the sapi on another thread however the form is still freezing when the computer speaks. I would like to note that at this point there is nothing on the form except a tabbed window and a few buttons the form is not performing any code what so ever other then the text to speech.
View 18 Replies
Mar 25, 2009
Stupid question, but how do I get access to this Explorer? To create a performance session for Windows client application:(1) Open the solution in the Visual Studio IDE. (2) On the Analyze menu, click Launch Performance Wizard.(3) From the Which of the following available targets would you like toprofile? drop-down list, select the name of the application that you wantto profile, and then click Next. You can add more binaries later
View 3 Replies
Apr 17, 2011
how to perform alter key press at the time of form loading in vb.net winforms application?
Means when the form's(devExpress's Xtraform) load event is executed that time alt key must be pressed pro-grammatically .
View 1 Replies
Jan 9, 2010
Until now, I have not create any massive applications using ASP.Net. However, I am looking to create an application that has the potential to be very performance intensive. So I am looking for some tools or best practices when it comes to performance. I would like to be able to know how to:
See my current performance (good or bad) View items that need fixing And being able to compare two performance variable items would be great as well.
View 2 Replies
Apr 10, 2009
How can I improve the performance of a Windows Forms application?
View 1 Replies
Jan 18, 2012
How can I improve the performance of a Windows Forms application?
View 5 Replies
Jul 23, 2009
I'm trying to weave a .NET performance counter into an application. When I call the incrementBy(value) method on my avg performance counter it is changing the RawValue of my base counter by value as well. I checked the variable names and think everything is correct. Then when I call increment() on my base counter it adds 1 to the rawvalue of the avgcounter as well as incrementing the base counter... adding insult to injury!
In code I'm using two different counters to measure the time a merge sort I wrote takes. I have a instantaneous counter for the elapsed time of the sort and an average counter.
Dim timePiece As New Stopwatch()
timePiece.Start()
MergeSort()
timePiece.Stop()
[Code] .....
I think I may be using the counters wrong, but why does changing the rawvalue of the average seem to also change the rawvalue of the base? i dont think that's supposed to happen.
View 1 Replies
Dec 5, 2011
In my application i want to perform some work when an application is closed from taskmanager.
View 11 Replies
Mar 3, 2010
I've developed a VB.NET application with Visual Studio 2008. The application communicates with SQL Server and processes a text file.
My question is about performance. While I run it from Visual Studio 2008, it takes 3 sec to complete. The same is when I run the executable created by the Setup Wizard on my desktop (Windows XP sp 3). But if I run the executable installed on a Windows 2003 Server, it takes 15 sec to complete! What could be the reason of degrading performance on the server vs. the desktop? The .Net framework 3.5 SP1 is installed both on the desktop and the server.
View 1 Replies
Feb 9, 2012
I'm working with a random number that generates a price for a house between 1 and 100 dollars (obviously very realistic).
Dim Housecost As Integer = (Int((100 * Rnd()) + 1))
My problem is that I put that number in the public class which does generate the number but only once. But I need the number to be re-generated every time a button is clicked. Now I would put this code snippet in the buttons Sub but there are 3 other subs in the code that call for that randomly generated number and the only way that I know of that allows all the subs to read this random number is to put it in the public class. So how do I put the number in a place where all Subs can read it and can be called to re-generate when needed?
View 1 Replies
Sep 27, 2011
When I try to run my DLL in Autocad, I got the message below.Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission, contact your.I know there are many threads on this error, but Im not sure about one thing.Can I resolved this on our FilesServer or I have to do something on each computers that will use the DLL ?
View 3 Replies
Mar 2, 2010
I want to ask how to i do this :
1. Make my application to go to a webpage .
2. Open a certain link .
3. Find & Select an element(mostly element ID or div ID) on a web page like buttons etc.
4. Then extract data from a webpage . Like there's a word for example "Yellow" word in the web page . I need it to find it and copy it then paste into a textbox in my application.
Extra details : I am using Visual Basic 2008.
View 1 Replies
Nov 10, 2009
I have written an application to perform a simple CRUD operation i've used MVC design pattern... DAL was designed using the wizard. I was able preserve the olds value of teh fields of EMployee class using a seperatemethod
PreserveOldValues(){ //code}
in the SearchByIndex() i call the fill method and i used the data to initialize the current Employee object also i preserve those values using PreserveOldValues() the i call update() and internall i pass the preserved values......However it doesnt do concurrencies and updates..
View 1 Replies
Apr 12, 2010
I've been creating a small application and now I'm going to make a setup file for it. And I started doing this using Installshield. Here's a prtscreen of where I'm stuck: Since I've developed my Application in .Net, I don't know whether it can be installed on earlier versions of Windows such as Windows 98. Should I uncheck some options?
View 6 Replies
Mar 25, 2009
Stupid question, but how do I get access to this Explorer? The says: To create a performance session for Windows client application:
(1) Open the solution in the Visual Studio IDE.
(2) On the <B>Analyze</B> menu, click <B>Launch Performance Wizard</B>.
(3) From the <B>Which of the following available targets would you like to profile?</B> drop-down list, select the name of the application that you want to profile, and then click <B>Next</B>. You can add more binaries later.
(4) Accept the default Sampling profiling method, and then click Next.
(5) Click <B>Finish</B>.
Only problem is that there is no <B>Analyze</B> menu in the IDE.
View 1 Replies
Jun 15, 2012
We develop small applications for various customers. I now got a task to set up some coding guidelines for in-house and external programmers. (Management know nothing about development and only see the problem in transferring projects from one developer to another. Customers pay by the hour and development is a small part of total project so code quality is a non-issue)My first step is to set up guidelines for C# and VB.Net (SQL will probably come later).(Most code here is created with CTRL-CCTRL-V and testing is done with F5.I have tried to introduce unit testing / code review but that is not going to happen. Static analysis is the only way forward at the moment)I am most comfortable in C#/C++ (but sometimes work with existing VB6/VBA/VB.Net code) so setting up C# guidelines is pretty easy: [code] For VB.Net I need to replace StyleCop with some written guidelines but how do I set up the VB.Net compiler.Personally I never code without Option Explicit / Option Strict etc but if I do that on our VB.Net projects I get hundreds of warnings/errors (implicit conversions, default return type/value etc).The VB developers does not seem to have a problem working without help from compiler warnings. I do not think their productivity generally differs from C# developers (it is more a personal thing).I do not want to enforce my own preference for static checking so my questions is: What warning levels are reasonable/best practice for VB.Net development?
View 1 Replies
Jul 9, 2010
im trying to make yahtzee. but i dont know how to do the full house (2+3 the same). if the user press the full house button then it has to do something smart. i cant write down all the combinations. does somebody know a smart technique? let's assume that:
number1 = 1
number2 = 1
number3 = 2
number4 = 1
munber5 = 2
How would the code look?
View 30 Replies
Feb 14, 2012
I am creating a server-client type application that allows the network administrator to perform tasks on remote computers by using TCP sockets (TCPClient and TCPListener).The server application needs to send out a message to a client machine (with client application installed) and from this, the client application will send back the required data (i.e. system info, task progress etc). This part works fine.However, I am having trouble in getting the client application to constantly listen for an information request in the background. It should be listening whenever the application is running. What I want to do is to have an event handler which, when a message comes through, acts upon the instructions to send the relevant information back. The server does not need to constantly listen for data, as it will only receive data after it has sent a request.
View 2 Replies
Jun 10, 2010
This error occurs when I want to add my app to the startup keys
My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWAREMicrosoftWindowsCurrentVersionRun", True).SetValue(Application.ProductName, app)
[code].....
View 1 Replies
May 31, 2011
I work with a database, the db is on the <project_folder>database folder.
If want to open the database, Application.StartupPath returns[code]...
So I have to compile the project to an .exe to make tests.
View 4 Replies
Sep 9, 2008
I am looking for some advise, I currently have a VB.Net application using .NET frameworks 2 written in VS 2005. One of my clients wants to know if the application works with Unicode, at the moment I have not tested this and what I am looking for is some advise on how to do this e.g.
1) Does anything need to be added to my project e.g. code to allow this functionality. 2) Is there a way that I can easily check to see if my application can work with Unicode? 3) Advise on how other people test for this? I know it is a bit general, but as I have not done this before I am obviously trying to build my knowledge and get it right with regards to testing etc.
View 9 Replies