IDE :: Slow Code Editing In VS 2010 Beta 1?

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


ADVERTISEMENT

VS 2010 Getting Started With Linq, Code Is Very Slow?

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

2010 - Editing .net Code Without Stopping Executable?

Apr 13, 2011

I need to be able to edit vb.net code using visual studio without stopping the debugging executable.How can I go about doing this? If it's impossible, how can I code and reload that code without stopping the executable? I know of scripting languages like Lua, but I fear the implementation of another language within the VB is unnecessary to save me the trouble of stopping the executable. The issue is that starting and stopping this executable can take a very long time, and I need to be able to edit the code quickly and frequently.

View 3 Replies

Error Created When Opening Beta 1 File In Beta 2

Apr 19, 2005

I have save the file in beta 1 and when i upgrade to beta 2?Error 1 Type 'System.Windows.Forms.WindowsFormsApplicationBase' is not defined. Error 2 'AuthenticationMode' is not a member of 'Forms'. Error 3'ShutdownMode' is not a member of 'Forms'.Option Strict On[cod]e...

View 6 Replies

Can't Uninstal VS 2010 Beta 2

Apr 19, 2010

I've tried to install the Visual Studio 2010 VB Express - but no luck. Can't uninstall the beta 2 version I have. I've tried to uninstall each component in control panel but continue to get windows installer errors - or error 1719. how to delete the beta version? Tried deleting the .net framework 4 keys in registry, no luck.

View 2 Replies

IDE :: WebBrowser In VB 2010 Beta 2?

Jun 2, 2010

Im trying to make a web browser in VB 2010 well i tried the simpleWebBrowser1.Navigate(ToolStripTextBox1.Text)For the search button but it doesent go anywhere but the name of that form in a random search engine everytime how would i code this with Back Forward and refresh button als

View 3 Replies

VS 2010 BETA Version Of App?

Oct 16, 2010

What's the best way to store that the app is beta?You can't enter letters in the assembly info version (a "b" would be great).So is a setting who is set to Beta = True the best? I don't want to hardcode it, I want it to be at one place in the program.

View 8 Replies

IDE :: VS 2010 Beta 2 - Downgrading An Application To Use .Net 3.5?

Dec 8, 2009

I have a simple application that stores settings using My.Settings. When built using .Net 4.0, it works fine. If I change to build with .Net 3.5 Client (or just .Net 3.5) I get an error 'An error occurred creating the configuration section handler for userSettings/My_Application.My.MySettings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089''.

How can I build an application for PC's that do not have .Net 4.0.

View 14 Replies

IDE :: VS 2010 Beta 1 Does Not Change .NET Versions As Expected

Jun 1, 2009

VS 2010 Beta 1 offers the user the opportunity to change .NET versions.I compiled a solution then built same in .NET 4.0 Then compiled/(re)built in 3.5. The output info showed 3.5 but on an XP Pro (up to date .NET 3.5 machine) the Setup install produces an error message:"You need to obtain NET 4.0. Do you wish to get it now?"

View 14 Replies

Installing The First Beta Of Visual Studio 2010

Feb 6, 2010

I've been having a problem since installing the first beta of Visual Studio 2010 which has limited what i have been able to do. The problem centres around one reference: System.Design When I attempt to add the reference i get the following error: However, the System.Design.dll file actually does exist and is valid:

[Code]...

View 1 Replies

Upgrading From Vb6 To Visual Studio 2010 Beta?

Nov 20, 2009

I am trying to upgrade a project that was originally designed in Vb6 to Visual Studio 2010 beta. In my application, I communicate with a device that has embedded code through a serial port. My Vb6 project states the following and works: SerialPort.Output = Chr(&HAD) My new code in Visual Studio states:

[Code]....

I am using the MSComm controll. I have duplicated all the settings from the older program.

View 3 Replies

Use VSTO 2008 With Office 2010 Beta?

Dec 2, 2009

Is there anyway to use VSTO 2008 with the Office 2010 beta? I know I can use VB 2010 beta but I prefer to use 2008.

View 2 Replies

C# - Speeding Up An Algorithm That Find Patterns In A Growing Collection - Code Review Beta - Stack Exchange?

Jun 25, 2012

I want to find a way to speed up this code.if you look at the condition of If calculated Then in the code below, this is what slowing down the code.While the code provided seem fast with Const initBit = 4 try it with something over 12.

I want to be able to use this code (with calculated param as True) with initBit of 20 or more.

Beware that 20 or more might require a gig or more of ram and/or compiled as x64.

C# code (converted with an online tool from VB.NET):

[Code]...

View 2 Replies

IDE :: Upgrading Project From Vb6 To Visual Studio 2010 Beta?

Nov 20, 2009

I am trying to upgrade a project that was originally designed in Vb6. I am trying to bring it forward to Visual Studio 2010 beta. One problem that I am having is that the testbox.locked property is no longer supported. What would be an appropriate property to use in this case?

View 2 Replies

Register For Visual Studio 2010 Beta Exams

Mar 17, 2010

You are invited to take part in one or more beta exams for Visual Studio 2010 and the Microsoft .NET Framework 4.If you pass one of the beta exams, the exam credit will be added to your transcript and you will not need to take the exam in its released form. The 71-xxx identifier is used for registering for beta versions of MCP exams, when the exam is released in its final form the 70-xxx identifier is used for registration. By participating in beta exams, you have the opportunity to provide the Microsoft Certification program with feedback about exam content, which is integral to development of exams in their released version. We depend on the contributions of experienced IT professionals and developers as we continually improve exam content and maintain the value of Microsoft certifications. The following exams are a part of this beta offering.

Receiving this invitation does not guarantee you a seat in the beta; we recommend that you register as soon as registration opens. Beta exams have limited availability and are operated under a first-come-first-served basis. Once all beta slots are filled, no additional seats will be offered. If you register, please ensure you are committed to attend. Testing is held at Prometric testing centers worldwide, although this exam may not be available in all countries (see Regional Restrictions). All testing centers will have the capability to offer this exam in its live version.[code]

View 4 Replies

Visual Basic 2010 Beta 2 Convert To Full Version?

Apr 10, 2010

I Have a project I am currently making in visual basic 2008 express edition. I then tried out visual basic 2010 express beta 2 and found a feature i need for my project in it...

If I convert my Visual basic 2008 project into a 2010 beta 2 project will i later be able to convert the beta 2 project into the full version of visual basic 2010?

View 39 Replies

Code - Runs Too Slow ?

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

IDE :: Slow Code Behind Display?

May 9, 2011

My stats:OS: XP Professional (2002) SP2Pentium 4 CPU, 3.2 Ghz, 2.98 G RAMApp: VS 2008 Pro. v 9.0.21022.8 RTM

View 3 Replies

Editing Excel Within VB Code

May 27, 2009

First off let me just say i have imports for the excel and office applications. I am using office 2007. I am hoping someone can show me what I am doing wrong here.

I have been searching and researching for a few days now on formatting excell cells within the VB code. It works for most objects such as bold, font size, where i want to place the data and what I want contained in the cells.

I have been using the VBA within excel (macros) to determine the code i should use to format the cells, however, The underline feature doesnt work correctly as with any justification of the cells. or merging. I can't seem to make many of the format options work and am wondering if they are slightly different or if i need a few more code lines so that when i declare something like this...

CODE:

I get an error, xlcenter is not declared. I cant declare it as a string i just recieve a com error starting it couldnt be done.. I am stuck on how to get by these so called "undeclared" command strings that i need to format the cells properly.

View 13 Replies

Editing Text With VB Code?

Jul 20, 2009

I want to edit text, text in a textbox for instance, with vb code.For example: The text property of textbox1 is "Orange" When a user clicks a button, " Juice" will be added to the end of the string.So it will be "Orange Juice" Same thing w/ "Apple" Then it would be "Apple Juice"

View 3 Replies

Code For Editing Existing Data?

Jul 17, 2009

I am trying to edit, add, and update my database. I have the code for updating and it updates fine (I can see the modified time on the file), but I was wondering why none of my changes were being saved when I closed the window. Then I realized I was an idiot and I don't have any code to actually accept edits on this form, I just have code for updating and adding new rows It wouldn't update without me telling it which rows have been edited and need updating, right I mean I can't just type a new value in the textbox, click save, and expect it to save the change.This is the update and new row code I'm using:

Private Sub SaveToolStripButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripButton2.Click
Try

[code].....

View 17 Replies

Application Slow Is DB Access/text File Code Ok?

Jan 26, 2012

I noticed that my application is running a bit slow. This is a Windows Service built using VB2010 with SQL Server as a back end. Its main function is to poll a folder looking for a text file. If found it reads the text file and imports the data into SQL Server.

While the slowness could be caused by a number of reasons, I am looking at my code to determine if it could be more efficient. Below I've pasted snippets of code where I initialize the DB connection and execute SQL statements. I've also included a snippet that illustrates how I am processing the text file.

I'd appreciate if the group could have a look at these and let me know if the method that I am using is the most efficient possible. At this time I am also focusing on other probable issues, but I can't rule out the possibility that the code that is in place might be a contributing factor.

[Code]...

View 4 Replies

VS 2008 Compiling , Editing C Source Code Using .net?

Jun 30, 2010

i have written a c program for calculating some financial task It accepts the input file name or path name from the user processes it and displays the output in 6 output files. i want to execute the same c -source code using visual basic .net.I want to know how to compile the c source code and execute it .

View 3 Replies

[2008] How To Code Memory Editing Software

Feb 13, 2009

how to code memory editing software? Like they use to make game trainers...

View 3 Replies

Generate A "internal Compile Error" In VB 2010 Beta 2?

Nov 9, 2009

This piece of code generate a "internal compile error" in VB 2010 beta 2. Is the begin of a ODBC program test using a MySQL database. Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim conn As ADODB.Connection = New ADODB.Connection("DRIVER={MySQL ODBC 5.1 Driver};" &
"SERVER=localhost;" &
" DATABASE=dbmysql1;" &
"UID=root;PWD=ranger; OPTION=3")
End Sub
End Class

View 2 Replies

IDE :: Adding References In Visual Studio 2010 Beta 2 (Visual Basic)?

Nov 25, 2009

I am just wondering how I can add Direct X references to Visual Basic in Visual Studio 2010 Beta 2. I cant find them in the .NET reference list, or the reference list, or anywhere. I downloaded the Direct X SDK for August 2009, but I can not add the .dll files to the reference list. Is there anything I can do to add them? I need the references for programming reasons.

View 5 Replies

VS 2008 Auto-Format Curly Brace Code Too Slow

Apr 30, 2009

I have written a quick 'algorithm' that automatically formats curly brace code in the correct way:[code]It works quite simple, it loops through all the lines and keeps track of the brace count using a counter. The counter will be incremented by 1 if it finds an opening brace, and decremented by 1 if it finds a closing brace.Then, each line is trimmed, and a total of "n" tabs is inserted before the text, where "n" is the brace count as explained above.[code]So my question basically is, how can I avoid having to do the same thing (exchanging lines) twice? I have noticed that the actual exchanging of lines is very slow, so having to do it twice for each closing brace line is simply a very bad design..

View 6 Replies

Error Message On VS 2010 Beta : An Error Occurred Trying To Load The Page - Member Not Found

Jan 5, 2010

I am facing another error "An error occurred trying to load the page. Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND) )" performing the following scenario:- Opened a sample VS 2010 WPF project that I receiveved from a co-worker (Project compiles, and run on his machine)I tried to open project properties (Project --> Properties)The project properties panel/window didn't open, all it had was an error symbol (red/white X) and the error message above(HRESULT: 0x80020003).I am unable to view niether the designer window nor the code window (no messages are reported) but the pane where the code/design shoud display is empty, all you can see is the background color.

View 1 Replies

MS VB 2010 Express Beta 2 - "Convert.ToInt32" Bug?

Oct 23, 2009

The function "Convert.ToInt32" returns my an integer increased by 48. My operating system is Windows Vista with 32 bit.Here a code, where the bug will be called:

Module Main
Sub Read(ByVal Text As String, ByRef Value As Integer)
Console.Write(Text)

[code]....

View 5 Replies

.Net 2008 IDE Hanging - MSVB7.dll Eating 100% CPU When Editing Code?

Mar 26, 2010

Edit 1: Uninstalled & Reinstalled Edit 2: Same problem. Seriously? Yes.I am having a problem with msvb7.dll eating 50%+ cpu on my dual core system. This usually lasts 10-30 seconds or so, during which time the IDE is non-responsive.

This occurs when I do pretty much anything in the text editor, and can be replicated by simply adding blank lines to a function, and then deleting them. Or pasting some code. Or... lotsa stuff.

SP1 installed I had DevExpress' refactor/coderush, components, and codeit.right installed, but have removed all 3 of them. (I had installed the latest version of Refactor Pro! (9.3.4), perhaps the day before)

I have tried a VS.NET Repair. There is a kb that referenced some cpu destroying with vb, but it was included in SP1

[Code]...

View 3 Replies







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