VS 2010 Slow IDE?
Jul 27, 2010
its' only me, or is VS2010 really so slooow? This taking 50 seconds to open vs2010, 30 seconds to change from an small project to other small project.as a comparation, in the same machine I can open three different vb6 projects, each one in one different vb6 instance and each one takes "only" three to five seconds. of course I can maintain all the three instances opened all the day, sutching from one to other, debugging, changing, even generatin' exe files, without noticeable penalties.machine is Dell Vostro 1700 4 GB, two internal disks, Win Vista business, Intel Core 2 Duo T 7500 2,2 GHz. two years old.
View 4 Replies
ADVERTISEMENT
Sep 30, 2011
I have created an app, that reads data from a .txt file, and compares it to data retrieved from a website. The only problem is that my program slows down and sometimes even freezes at specific points in the program. I don't understand why, because that specific point in the .txt file is no different then the rest of the file.
Here is my
Function vertaalGegevens(ByVal teller)
Dim webStream As Stream
Dim webResponse = ""
Dim req As HttpWebRequest
[code]....
I also tried making a different thread, but that became way to complex for this simple program.The text file i import is 1.5 mb big, and contains aproximatly 66,000 records that need to be run trough. These records are contained in a ArrayList. The word "teller" in the code stands for count, this value gets higher each loop. The loop is run outside this peace of code.I was thinking that maybe I didn't close the webresponse object, so I also tried webResponse.Dispose(), with no success.
View 6 Replies
Aug 22, 2011
I was sending some data to the server and i was getting only 200-300 kbps speed but when i tried from Internet explorer i was getting 3-4 mbps
I googled and found that these setting should be imprelemented
[code...]
View 3 Replies
Jul 1, 2009
I've tried using the VS 2010 beta to edit some real projects, and it is next to unusable due to performance issues. The cpu is more or less constantly at 100%, and most often the code editor uses around 10 seconds to respond to any text input. If I introduce a couple of compile errors things get even worse. Are there some drastical performance improvements that are planned in the VB editor before release, or are there special things that might trigger this?
View 22 Replies
Aug 12, 2010
I have been using VS2010 without any issues, always on the same application. Suddenly within the last my solution has become unbearably slow when right clicking. When doing other projects, it is fine. The only thing I can think of that I changed was disabling the SQL Server debugging.It happens if I right click anywhere within the code editor. Everything freezes for about a minute and a half, then the right click menu shows up. Intellisense seems to work fine. It is only the right click.The project is fairly big, but it has been working fine. I am working on a 2 month old top of the line MacBook Pro (running Windows 7 64 bit in Boot Camp). I did do the patch Tuesday big batch of Microsoft patches in the last 24 hours...
View 2 Replies
Nov 27, 2010
I have a number of FTP routines all based on the code below. Why does this take 15 seconds to run the first time? [Code] If I use an FTP program like FileZilla or CuteFTP to connect to the same FTP server they make a very much quicker connection. Any ideas?
View 10 Replies
Oct 19, 2011
I am using DataSet.ReadXml() to create a DataSet from the following XML file, so that I can quickly query it using Linq.[URL]..I then use the following object to create a DataTable which can be used as a dictionary, with a ConvertToFriendlyFormat function that takes an Emulator_Id and and a string that corresponds to a DicEntry node's StoredFormat attributed, and return the same node's FriendlyFormat attribute.
This does work BUT it is extremely slow (~11 seconds to call it ~220 times). I have been unable to figure out how create the DataSet when the object is initialised and just query the simple DataTable in the ConvertToFriendlyFormat call. I guess this is what is slowing it down?
[Code]...
View 4 Replies
Mar 22, 2012
am new here. am using vb2010. I have a form with 3 panel. each panel have 10buttons. when click on button 1 from panel 1, it will show panel 2. Then on panel 2, when cancel button is click, it will go back to panel 1. My problem is, when go back to panel 1, all the buttons in panel 1 shows very slow. It shows one button after another.
View 8 Replies
Jun 17, 2010
I`m trying to write a small program which connects to a serial port at 115kbps and reads a stream of continuous bytes from a microcontroller. The program should then graph these bytes by time. Ideally this all happens in "real time" and as quickly as they can be sent.With a 50ms serial write delay on the micro the VB program keeps up fine, but if I lower the delay any further, say down to 1ms, the update can`t keep up and the serial buffer just grows.I wasn`t expecting the bottleneck to be the PC side so it`s likely my code is doing something wasteful. Or maybe it`s the graphics which are drawing slow?
Private Sub DrawGraph()
Try
Dim y As Integer = m_Y
Do
[code]....
View 8 Replies
Feb 23, 2012
I have a text file I'm trying to pull specific data from to make a report in excel and am wanting to know if my code can be improved or if I have something wrong. If it's apparent to anyone that I should be doing something elThis code does work but, very slow. These reports take up to 20 minutes for about 100 files so I am wanting to decrease the time somehow. I have attached the whole sub in a text file, it's about 900 lines long so don't think I should post all of it. This is one part that seems to take the longest:Partial code that reads the text into a string, then each line is read to find whether it holds the data or not. Inside this while loop, I am checking numerous lines to see what they hold and extract specific items. First I verify it's a interface by checking for "line protocol".
Dim str As StreamReader = File.OpenText(filefound)
While (str.Peek <> -1)
If txtLine.Contains("line protocol") = True Then 'Found an interface,
[code].....
View 10 Replies
Feb 17, 2011
I'm making a program that will print jpeg's.The way i have it is I have lots of forms with buttons and when you click a button it prints the photo and a databound label with a line of text.The problem is that i want the user to be able to click one and then click another button right after, to print another one, but as soon as i click one, the program freezes until the photo starts printing so the user cant click to print another one right away.Each picture is around 4 mb.Is there away to make it go faster?The pictures i'm printing are from a pdf file with text and images in it that were converted to jpg. Each page is another jpg. Is it possible to print directly from the pdf and would it be faster since the words are 'text' and not a 'photo'?
View 5 Replies
Oct 21, 2010
I am working on developing a simple console game in Visual Basic in which the "level" is drawn out after being read from a file.
[Code]...
View 1 Replies
Feb 1, 2011
I make a program to check certain website.
The idea is to do webclient.DownloadStringAsync thingy and then wait till each one is solved. So like multi threading application.
The program itself is a single thread.
Well, when I loop 400 times it takes too long. Every time I press pause the program in debug it stop at this line[code]...
View 19 Replies
Oct 21, 2011
Currently, the sendkeys command is too fast for a game called "Minecraft" to process. Here is the code I got currently:
for the button:
appactive("Minecraft")
timer1.enabled
[code].....
View 14 Replies
Oct 13, 2009
Something happened to my VS2005 setup and now the first time load for F1 can take a full minute to load. I think the last significant thing I did was install an add-in for ESRI ArcExplorer. I uninstalled that add-in but help is stil VERY slow to start.Does anyone recognize the problem and have a simple fix?
View 2 Replies
Jun 9, 2011
Is there any way that i can be able to get the ExecutenonQuery to Execute faster. Am using it to run mysql queries that have joins from diffrent tables. As I have come to notice, the user has to wait a while before the statement ExecutenonQuery can be completely executed.. is there any way that I can get it to execute faster?
View 2 Replies
Sep 3, 2011
Im using VB2010 professional edition and Ms Access 2007 DB. Main form contains a button which accesses database, fetch results in textboxes and update database. But sometimes it takes almost 40seconds to fetch and sometimes it fetches immediately. Couldn't understand any pattern for this. The table in the database contains 8000records and Main form has 3000 lines of code.
View 2 Replies
Oct 27, 2010
We have old VB6 code, and now that Windows 8 is coming along, we are worried that it won't work. So we have to decide what to port it to. VB.net would seem to make sense, but since it compiles to an intermediate level, its not as fast as programs that compile straight to assembly language. Another choice we found was "Power Basic" which is supposed to be much faster that VB.net.
I happen to like various features of VB.net such as the GUI editor, and intellisense and so forth, and so I'm wondering - is there some way to get around the MSIL (intermediate level) factor in slowing the language down?
View 1 Replies
Jan 8, 2010
I have a simple code that looks up a text file, reads the line of text, splits the string by semi-colons and then posts the results.
After it has done this, I have created a really simple while loop to waste 10 seconds before going for it again.... here is the code:
Private Sub checkTemps()
While Abort = False
Try
[Code]....
View 2 Replies
Aug 7, 2011
I have this program, which prints a sine wave but it's too fast, how can I slow down the console's line printing speed?
[code...]
View 2 Replies
Mar 12, 2011
am using system.net.mail to send email as shown below, but its too slow. it takes about a minute to send, whats wrong with my code. Am calling the code below in backgroundworker_dowork. is there a faster alternative, maybe free or open source code
' send the email '
Dim smtp As SmtpClient = New SmtpClient()
Dim mail As New MailMessage()[code]............
View 2 Replies
Jul 12, 2009
All of a sudden all vb programs running very slow in XP...... nothing has changed.I took the vb2008 complete out, and reinstalled...... and no difference. other programs like excel run as before, just all my vb2008 programs are really slow.....
View 2 Replies
May 24, 2009
Basically i have designed an app that runs smoothly on my desktop PC (3GHz processor, 2GB RAM, Windows XP Media Centre (SP3)).
When i put the app on my laptop(1.4GHz processor, 448MB RAM, Windows XP Home Edition (SP2)) it runs really slow and is unusable.
I have tried deploying the app and also just copy the whole folder to my laptop and run the apps *.exe from the bin/debug folder, but it has the same results.
I have tested it on higher spec machines with 2GB RAM and they also replicate the slowness, so i'm at a loss as to why it behaves 100% on my desktop PC, where i have Visual Studio installed but not on any other machine.
My question is if little differences like operating system, RAM, service packs, VS installation, etc, make apps run differently on different machines.
View 4 Replies
Jul 22, 2009
I have designed an application just like it is an Excel table. By changing each textbox the application runs a huge amount of vb code and it takes time.
E.g. you want to enter a three digits number it takes from two to four and sometimes more seconds for ech digit to enter. That`s really embarrassing.
View 11 Replies
Jan 23, 2009
I have a problem with a application, when i start the program the speed is ok.after 1 hour of use the prohram go very slow.
View 7 Replies
Mar 14, 2009
I didn't think that setting a background of a form may slow it down seriously, but it's real now
View 3 Replies
Jun 5, 2011
I've got a vb.net 2005 form that calls a stored proc to load a combobox with eligible sales reps. There are approximately 40k sales reps available...I know that's a lot, but that's what I'm dealing with. I'm trying to figure out why it's taking this form 15 seconds to load.
Here's my code:
Want to load this in the most efficient way possible given the HUGE amount of data that my client is wanting to see.
Can you help me? :confused:
View 1 Replies
Apr 11, 2008
i know this question was asked a couple of years ago by TheMinistered .. but i cannot find an answer, and i have exaclty the same problem (using both VB6 and VB.net 2003) :
When I attempt to connect to a remote SQL server via ADO it takes almost 20-30 seconds before Open returns. I don't know if it's something I'm doing wrong... here is my connection string/code:
Private Sub Class_Initialize()
Dim strConnectionString As String
Set m_objConnection = New Connection
[Code]......
View 5 Replies
Oct 13, 2009
I'm writing a application that need to execute a certain code several times a second. At first, i wrote a Function and used it. But it was too slow... So, using Stopwatch i started measuring the performance of my code. And apparently it was from the funcion call. So i wrote a example code, just a simple loop. And using the Stopwatch it took 4E-6 = 0.000004 seconds. Then i copy and paste the loop code, into a function and made a call to the function. it took 0.03 seconds. It was 7500 times slower with a function call. Why using a function call can be so much slower?[code]...
View 9 Replies
Feb 6, 2011
I have the following code to manipulate the points in a path before drawing it.
Private Function CurvePath(ByVal inputPath As GraphicsPath) As GraphicsPath
Dim tmpPath As New GraphicsPath
Dim newPath As New GraphicsPath
[code].....
View 2 Replies