Visual Studio 2010 C# Editor More Cumbersome

Oct 6, 2011

I traditionally work in VB.NET, but have been asked to code the latest project in C#.This is fine as I can work in either language, having had to frequently translate C# code to VB in the past and I've no qualms about developing in either.My issue is with the Visual Studio editor and how many of the tasks that have traditionally been automated for me while writing VB.NET code are missing when writing C# code, or involve a larger variety of key-presses.For example, creating a new #region or function. In VB.NET creating a region involves typing "#r", at which point intellisense kicks in and shows me "#Region". I press "space" and "#Region" is auto-completed, thus allowing me to type the region name, then click "Enter" and the closing "#End Region" is automagically added.In C#, I type "#r"... and nada.. I have to either click "Ctrl + k + x" and select #region from the list of snippets to achieve the same effect.Similarly when writing functions in VB.NET ... the autocomplete creates the structure in seconds, whereas C# involves having to manually add the brackets etc, adding precious seconds to the development process. (or perhaps there is another shortcut key combo)

These are just two examples, but there are many others where the short-cuts that the VB.NET editor provides make coding much faster than the C# editor.I'm pretty shocked actually as C# is so often lauded for being "better" than VB.NET.My question is, are there any plugins which allow autocomplete on the C# editor in the same way as provided to the VB.NET editor?

View 6 Replies


ADVERTISEMENT

Can't Load It Into The Visual Studio 2010-editor/compiler?

Feb 22, 2011

I have a project written in Vb6, and I can't load it into the Visual Studio 2010-editor/compiler, because no wizard pops up. The idea then was to install Visual Studio 2008 and try to get to 2010 via that. But apparently the downloadlink for 2008 is not working. Does anybody have answers or ideas to my problems.

View 4 Replies

IDE :: Up Close And Personal With The Visual Studio 2010 Editor Team

Jun 11, 2009

For those you that joined in, I would like to thank you for joining us last week on the topic of Visual Studio Setup.

This week, we have something even better with the team that has built the new editor: Sean Laberee; Kav Latiolais; Selma Ikizto and Brittany Behrens (whom many of you may have already met on the forums) to do a quick walk through of their new features -and of course gather your feedback for the work of sorting through their Beta2 DCRs.

View 1 Replies

Visual Studio - .Net Editor Using RichTextBox?

Aug 3, 2011

I've created a simple vb.net text editor using a RichTextBox for a Logic Program. I've got the coloring(highlighting) to to work except for comments. However it runs really really slow after a 100 lines or so.

Note: I call the SyntaxHandler on the RichTextBox TextChanged event.

Friend vbKeys As String = "And|As|Case|Catch|CDbl|Ceiling|CInt|Class|Const|Continue|CStr|Decimal|" & _
"Default|Delegate|Dim|Do|Double|Each|End|Else|Enum|Event|" & _
"Explicit|Extern|False|Finally|Floor|For|Format|GoTo|If|IIf|In|Int|Is|Long|Module|" & _

[code]....

View 1 Replies

IDE :: Visual Studio 2008 Ressource Editor Not Working?

Jan 31, 2011

when i try to load the ressouce editor instead of open it per default i get it in xml"The file cannot be opened with the selected editor.

View 1 Replies

Interface And Graphics :: Visual Studio 2008 IDE Code Editor Settings

May 11, 2008

Does anyone know how to turn off the blank space delimiter of a dot? I have no idea how I turned it on, but now there's a dot where every whitespace charater would be in the IDE's code window.

View 2 Replies

Xaml Editor In .Net Express / Visual Studio: Auto Completion Annoyance?

Mar 23, 2012

As I'm typing out Xaml in VB.Net Express 2010, it helpfully finishes certain things for me. Most of the autocomplete is fine, but some of it annoys me and it leads me to wonder if I'm missing something or doing it wrong.

If I type:

<GroupBox Header=

It automatically puts a quotation mark before and after my cursor. I've gotten used to the quotation mark before the cursor - I immediately start typing in whatever property I wanted. But now there is a quotation mark after my cursor! I have to reach over to the other side of my keyboard and press the right arrow key to move past it. I find this insanely aggravating, because it breaks my "flow" while I'm typing. Are you supposed to be able to press a close-at-hand key (like tab, but that doesn't work) to move to the other side of the quotation mark or do they really intend for you to have to constantly use the right arrow key?

View 1 Replies

Resource File ( Resx ) Editor Not Painting / Rendering In Visual Studio 2008

Jan 18, 2010

I have Visual Studio 2008 SP1 installed and lately it is taking longer and longer to bring up a Resource File (.resx) in its standard editor. Some of the file loads up, but you can see that the screen does not paint/render it 100%.I tried doing some searching on the web and the only thing I came across was doing a edit to the GDIProcessHandleQuota registry entry from 10,000 to 20,000. This appeared to work initially, but the problem came back the next day.I am doing an extensive localization project and this is severely limiting the amount of work I get done.

View 2 Replies

Visual Studio 2008 Sp1 To Visual Studio 2010 Beta Sp2

Feb 17, 2010

Will i be able to successfully install 2010 beta 2 side by side 2008? because i want to test 2010 features and some development toolkits such as silverlight while i don't want to uninstall my visual studio 2008 professional.

View 2 Replies

.net - Which Version Of Visual Studio 2010 Contains Visual Basic SharePoint Templates

Aug 5, 2011

Does anybody know which version of Visual Studio 2010 contains the full set of Visual Basic SharePoint Templates? I am about to embark on a project to create Visual Web Parts to be used in a SharePoint report.

At the moment I am using Visual Studio 2008 and even though the WSPBuilder is installed none of the relevant SharePoint templates are present.Having searched SO and the web, most advise to install the templates via the Visual Studio command prompt: devenv /installvstemplates

Alas the Visual Studio command prompt is also missing from my VS2008 installation.So, the question remains: which version of VS2010 contains what I need for pain-free SharePoint development? There is a rather large price different between VS2010 Professional and VS2010 Premium, so can anyone tell me if the cheaper version (VS2010 Professional) contains all the Sharepoint templates?

View 3 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

Asp.net - Error : FredCK Editor Undefined For Proj Visual Web Dev 2010

Feb 24, 2010

I am trying set up the FCKEditorV2 to use in a visual web dev 2010 vb.net proj. and receiving an error stating :

Element FCKEditor is not a known element.
enter code here<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Edit.aspx.vb" Inherits="WebApplication5.WebForm2" %>

[code].....

View 1 Replies

Use OpenGL In Visual Studio 2010 In Visual Basic Project?

Jan 15, 2012

I want to use "OpenGL" in my project. Is it possible to associate it with "Visual Basic" application developed in Visual Studio 2010? If yes then how can we do it.

View 1 Replies

Convert Visual Basic 2010 To Visual Studio Pro 2010?

Apr 20, 2012

I have a project in visual basic 2010 and want to convert it to visual studio 2010 so I don't have to chose the "open with" every time. Is there a tutorial on how to do this?

View 4 Replies

Asp.net - Force Visual Studio 2010 To Use Visual Basic 10?

Mar 9, 2012

To reproduce the error I'm getting:Create a new Visual Studio 2010 ASP.NET web site in Visual Basic, targeting .NET 2.0Type "Public Property Test As String" Observe "Visual Basic 9.0 does not support auto-implemented properties." error Visual Studio 2010 is happy to use VB 10 against .NET 2.0-targeted Windows Forms applications, this only appears to be an issue with ASP.NET.Is there a way to force Visual Studio 2010 to use VB 10 when targeting .NET 2.0?

View 1 Replies

Build 64-bit Visual Basic.NET In Visual Studio 2010?

Jul 6, 2010

have just overlooked something somewhere...I am writing VB.NET stuff in VS2010 on Windows 7 64-bit. It seems to build by default for a 32-bit target, how to I tell it to make a 64-bit executable?

View 2 Replies

C# - Web Matrix Differ From Visual Studio - Is It More Efficient Than Visual Studio To Develop ASP.NET Web Project

Oct 12, 2011

WebMatrix is a web development and deployment tool by Microsoft so how is this compared to Visual Studio? which Use C# Razor Syntax is that more better coding.

[Code]...

View 2 Replies

Compile A Solution In Visual Studio 2005 Which Was Compiled In Visual Studio 6?

Sep 15, 2009

I have to compile projects which was compiled in Visual Studio 6 in Visual Studio 2005. When i compiled i got a set of same error. I opened the project for VS6 by selecting File->open->project/solution and tried to build a solution by Build option but i am getting the following error.

[Code]...

View 7 Replies

Open Visual Studio Express Files With Normal Visual Studio?

Apr 11, 2011

Is it possible to open visual studio express files with normal visual studio?

View 2 Replies

Visual Studio 2010, Outlook 2010 And Windows Application, Return Emails?

Jan 5, 2011

At present I have wrote an application (in-house CRM, vb .net 2010) which allows me to send emails under the selected customer & I categorised these emails.As these are categorised I can return data to display email history in my program by using search criteria:

Dim oMail As Outlook.MAPIFolder = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderSentMail)
Dim sSearch As String
sSearch = "[Categories] = '" + "[" + tAccount.Text.Trim + "]" + "(" + tShipTo.Text.Trim + ")'"
Dim oItems As Outlook.Items = oMail.Items.Restrict(sSearch)

However the limitation to the above is it only looks at sent items & no other folder.My ideal solution would be to display all email correspondence for a certain contact.

View 1 Replies

VS 2010 Change Version After Install-Visual Studio 2010 Installer

Jun 21, 2010

Well I used the Visual Studio 2010 installer to install my application and I want it to be able to change the version displayed in the in the Add/ Remove Programs (in the Control Panel). How can I do this without going through the install wizard again?

View 3 Replies

Visual Studio 2010 Exporting To Office 2010 Xlsx?

Feb 14, 2011

I need to write from VS 2010 vb.net dataset into a newly created xlsx file.

View 2 Replies

VB 9 (or C# 3) With Visual Studio 2010?

Jun 3, 2010

I'm working on a project started in VB9 (VS 2008) and now I've migrated to VS2010 (VB10) but on the production server the IDE is still VS 2008. On my developement enviroment the code compiles fine, but sometimes, - let's say - I forget an _ at the end of the line which causes the VB9 compiler to throw an error.So the question is, how could I build a project with the VS 2010 IDE but VB9 compiler? Or to force the VB10 compiler into VB9 mode?

View 2 Replies

Developing MS Visual Studio Like Application Using MS Visual Studio 2005

Nov 27, 2009

I have to develop an application using MS Visual Studio 2005 or above with the following objective:

* The application should allow users to create as many new forms as they want and each form should behave like a MS Visual Studio WinForm. By saying that it should be a container for drag and drop of controls from the toolbox that I will develop....

* Once the user design's each screen to his taste by placing various controls on the form, he should be able to save the form as a screen. Of course I have to provide functionality for each of the controls such as if he drags a button on to the form, he should be able to specify what action it has to perfom when clicked when the application is put into run mode. Quite similar to regular windows form button.

* My application should have two modes: a DESIGN MODE, where user can drag, drop controls and specify what they should do when put into RUN MODE. This is quite similar to MS Visual Studio designer.

* Last but not least is to be able to access the application via the browser with the same look and feel his desktop version.

View 2 Replies

Developing MS Visual Studio Like Application Using MS Visual Studio 2005 Or Above?

Nov 26, 2009

I have to develop an application using MS Visual Studio 2005 or above with the following

objective:* The application should allow users to create as many new forms as they want and each form should behave like a MS Visual Studio WinForm. By saying that it should be a container for drag and drop of controls from the toolbox that I will develop....

* Once the user design's each screen to his taste by placing various controls on the form, he should be able to save the form as a screen. Of course I have to provide functionality for each of the controls such as if he drags a button on to the form, he should be able to specify what action it has to perfom when clicked when the application is put into run mode. Quite similar to regular windows form button.

* My application should have two modes: a DESIGN MODE, where user can drag, drop controls and specify what they should do when put into RUN MODE. This is quite similar to MS Visual Studio designer.

* Last but not least is to be able to access the application via the browser with the same look and feel his desktop version.

View 3 Replies

.net - Printing In Visual Studio 2010?

Jan 16, 2011

Now I'm at the end of the first part of my project and now i need to print a voucher with few pre-printing words and 7 fields that comes from a dataset.I try to use *rdlc file on which i made all the necesary layout very good, and the link was very good as well But print NO I did something in *.xaml file very dificult to put controls and make the links.But lets say i will do it, for the moment i have a picture and a label with few words, and I'm trying to print it with the following lines

Dim myPrintDialog As PrintPreviewDialog = New PrintPreviewDialog
Dim myDocument As New PrintDocument
myPrintDialog.Document = myDocument
myPrintDialog.Document.DocumentName = "OrderVoucher.xaml"
myPrintDialog.ShowDialog()

But in the dialog I see only a blank page.Of course I have a mistake in my mentality of building my code but I don't know where is that.I also need to admit that is the first time in my life which I'm trying to print from Visual Studio 2010.Now Please I need the best assistance you can give me.For the moment i want to print in my default Laser printer.But in the final stage i will have to print in an Olivetti PR2 (Bank printer) which will be connected in the com: port.That will be the day if I succeed :)

View 1 Replies

ByVal And Visual Studio 2010 SP1?

Feb 14, 2011

After installing VS 2010 SP1 I noticed that ByVal keyword doesn't automatically appear after declaring Function or Sub parameters. Is it new feature or bug?

View 5 Replies

Change VB6 To Visual Studio 2010 VB?

May 12, 2012

[Code]....

how to change that auto redraw in visual studio since there have an error???

View 1 Replies

IDE :: Navigation Bar With Visual Studio 2010?

Jun 8, 2010

I am using visual basic and when I try to hide Navigation bar, I am not able to, it is disabled.Ok I tried to turned it off going to "all languages", althought I unchecked the setting. It didnt dissapear.

I restarted visua studio, closed all open classes.Ps, It is just visual basic, when i try with c# i can hide and show it.i dont understand what is the difference. I have to remove it because it makes coding too slow

View 2 Replies

IDE :: The Structure Of Visual Studio 2010?

Nov 9, 2010

Each time i type codes in the Visual Basic 2010 IDE (Visual Studio 2010 Ultimate Edition) and compile it to run, i keep getting this nasty error report below

Error 1 The "GenerateResource" task failed unexpectedly.

System.DllNotFoundException: Unable to load DLL 'FileTracker.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
at Microsoft.Build.Shared.NativeMethodsShared.InprocTracking.StartTrackingContextWithRoot(String intermediateDirectory, String taskName, String rootMarker)

[code].....

View 1 Replies







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