IDE :: No Free Refactoring Support For .NET In 2010?

May 21, 2010

Have we moved from "Being forced to go install a 3rd party add in to get what C# users have" to "Being forced to go buy a 3rd party add in to get what C# users have"?

Why did MS see fit to get DevExpress to create Refactor! for the previous versions of VS, but not for 2010? Or am I missing something?

View 3 Replies


ADVERTISEMENT

'The File Does Not Support Refactoring Error

Oct 13, 2010

When I try to change the root namespace of my WPF VB.Net application, I get this error:
'The file "" does not support refactoring and will have to be manually changed. Object reference not set to an instance of an object'

[Code]...

View 5 Replies

VS 2010 Class Refactoring?

Feb 21, 2011

This is my scenario. I am writing an app which takes a person object and a features object , when the user selects a person object a features object is created. This works for any amount of features i care to display. So far so good, i am now refactoring to create 2 additional classes, a maths class and a ui class. my issue now is how do i get the maths functions to know the instance of the features object(s) or person object(s)?

Unfactored
Public Sub New(ByVal feature1 As New Feature)
...

[code].....

View 2 Replies

Refactoring - Possible To Simplify (refactor) My Program Code (VB 2010)?

Jun 27, 2012

I have created a simply Pizza program (for a summer project not education related) that uses check boxes to determine what the customer wants. Basically a simple pizza ordering program.I was wondering as I have used the If statement over and other again for different parameters and variables, is it possible to use multiply arrays to simply the VB Code...I was advised to use Constructors in VB.Net Or is there a more simpler way to go about creating this program...or a better way of programing?What about decreasing the repetition in the code?

[code]...

View 4 Replies

Refactoring Options In Visual Studio 2010 Differ Between C# And VB

Oct 14, 2011

In VS2010 C#, when I right-click there is "Refactor" menu with following options:

[Code]....

Are these options available in VS2010 VB.Net? All I can see is "Rename" when I right click?

View 1 Replies

VS 2010 Indows Mobile 6.x Development 2010 Support

Feb 2, 2012

Does Windows mobile 6.x and CE development supported in VS2010?

View 1 Replies

Free Office 2010 Ribbon For .net?

Jun 7, 2011

where can i find free office 2010 ribbon for vb.net i found ribbon for c# but nothing for vb

View 2 Replies

VS 2010 Free Publish To Websites?

Jul 3, 2010

Does anyone know any free websites that i can use the clickonce publish feature on, it said something about frontpage extension

View 5 Replies

Support Of Vb6 In VS 2010

Sep 7, 2010

I tried upgrading vb6 to vb.net using the convert tool in visual studio 2010. But I couldnt find the option Visual Basic 2010 Upgrade Wizard.

View 4 Replies

VS 2010 Free Method To Access Installation Directory

Jan 20, 2011

My app has a folder that has some xml documents which is or should be created within the installation Directory. What is the best / most problem free method to access the installation directory: [code]

View 6 Replies

Does 2010 Support Arrays Of Anonymous Objects

Sep 26, 2010

In C#, one can create an array of anonymous objects with new []. This was not supported in earlier versions of VB.NET, but a comment by Chris Dwyer in another StackOverflow post suggests to me that it might be supported in VB.NET 2010. I haven't been able to confirm this though.

View 1 Replies

VB 2010 Express Support The Computer Syntax?

Feb 8, 2011

Next question.Does VB 2010 express support the my.computer etc. syntax? If so what do I have to do to use it? It appears to offer a pretty easy way to use FTP.

View 4 Replies

VS 2010 - Add Support For Unrecognized Files To OpenFileDialog?

Mar 21, 2011

I am working on a project which use files with a .HRZ extension. These are image files with a simple red, green, blue, red, green, blue structure. There is no header of any kind. I know how to display these files in a picturebox or convert them to a bitmap, but of course Windows 7 does NOT know what they are, so just shows a blank icon in the OpenFileDialog. How easy would it be for me to add support for this file format to Windows and/or the OpenFileDialog so I can show a thumbnail of each file? I can create my own file browser but I would really like to use the OpenFileDialog if at all possible.

View 3 Replies

If Compile A VB6 App On Win7 - ADODB.Connection Errors With "Class Does Not Support Automation Or Does Not Support Expected Interface"

Apr 28, 2011

I compiled some VB6 code on my Win7 x64 machine and the result .exe will not run correctly on any other machine. VB6 code is just a new template .exe file with one button, a reference to "Microsoft ActiveX Data Objects 2.6 Library" and the following code in the button press event: Dim db Set db = New ADODB.Connection It runs correctly on my machine, but no others (even other Win7 x64 machines) (Update: I found TWO other users where it runs and one of them is Jeff Atwood!, but most machines have the same problem)

[Code]...

View 2 Replies

IDE :: Why Doesn't In Visual Studio 2010 Have Any Refactor Support

Jul 3, 2009

Why doesn't vb.net in Visual Studio 2010 have any Refactor support

View 14 Replies

Does Visual Studio 2010 Support Multiline Anonymous Method

Oct 5, 2010

I found that this answer was asked and answered before VS2010 was actually released.[code]to a .NET Framework 4.0 project in Visual Studio 2010 and it does not compile.Do you now if this feature is really implemented and what I am doing wrong?

View 3 Replies

VS 2010 - Adding Drag And Drop Support In Renaming Program?

Sep 12, 2011

I am trying to make a renaming program, which I have done, but wanted to add drag and drop support. Firstly, when I drag and drop the files into a listbox they appear to be going in and are ordered randomly. I want them to go into the order they're dragged in. Secondly, instead of having the entire path such as:
D:TVThe Big Bang Theory SeasonSeason 1The Big Bang Theory S01E01 - Pilot
I want just "The Big Bang Theory S01E01 - Pilot" to go into the listbox.

View 11 Replies

Adding LAN / Internet Network Support To My Game In Microsoft 2010 Express

Feb 4, 2011

I've been working on my game for a while, in a non-online multi-player state it is complete. My goal is to add LAN or Internet Play support.My game is coded in Microsoft Visual Basic 2010 Express, It relies heavily on timers.Currently you play against the AI, and there is a Local multiplayer mode, using mice, controllers or the keyboard.At the moment, it is a two player, (Or 1 player against the AI) game, from my understanding the standard Client-to-Server option wouldn't very efficent, the best choice would be a peer-to-peer system.That being said, a lot of the stuff could be done client side, like for instance, the particle engine and Dynamic Rendering.[code]

View 1 Replies

Visual Basic 2010 Express Reference Library Offline Support?

Nov 13, 2010

I was able to use the VB off line iso file to install VB 2010 Express but it did not include the Reference Library

View 9 Replies

VS 2010 Does Express Version Support Adding Multiple Soultions (.sln) To Project

Aug 2, 2010

Does the Express Version support adding multiple soultions (.sln) to a project or is this only available with the Professional version.I see that I can add a DLL as a reference that was built in 2010, but it is not letting me step into it with the debugger (or recompile changes to its source).

View 10 Replies

VB 2010 : Error : Font 'Arial Rounded MT Bold' Does Not Support Style 'Regular'

Nov 21, 2011

Whenever i try and load a project i was working on with VB 2010 i get an error saying

"Font 'Arial Rounded MT Bold' does not support style 'Regular'"

how to get rid of this? I recreated my form for the project and copied the code over but it did this again. I didnt change any fonts on the form at all so i dont understand whats going on.

View 3 Replies

IDE :: Refactoring Does Not Work (enough) In VB

Sep 28, 2009

I use VS 2005 and VB.NET. I have a class A. This class A is an empty class(no functions, no members). I wrote the following code: Dim _a as new A(); Dim code as String = _a.GetCode() In the same situation, the C# refactoring tool in VS 2005 IDE propose me to create a method in the A class internal string GetCode(){ }

The VB.NET compiles does not propose anything. There is a way to implement the functions when I need it in code, or I need to planify all my methods before using the class?

View 4 Replies

.net - Refactoring A Field Into A Property?

Jun 7, 2012

I am currently learning vb.net for my new job and I have mixed feelings over public fields. I see many arguments about them hurting the encapsulation. In python, the common practice is to keep things simple and use fields when they are enough. If we want to add logic later, we just refactor them into a property without breaking anything for the client code.In the codebase I am working with I see huge classes containing dozen of properties like:

[Code]...

View 2 Replies

How To Approach Refactoring A Class

Jul 24, 2009

I recently started a project and needed to do some integration with LDAP via DirectoryServices. I've done this in other apps so I went into one of them to see how I did it -- why reinvent the wheel right? Well, while this wheel works, it was developed years ago and kinda smells (it's wooden, firmly attached to the previous vehicle, hard to repair and produces a potentially bumpy ride).So I thought to myself, this is the perfect time to refactor this puppy and make it more portable, reusable, reliable, easier to configure etc. Now that's fine and dandy, but then I started feeling a tad overwhelmed regarding to where to start. Should it be a separate library? How should it be configured? Should it use IoC? DI?

So my [admittedly subjective] question is this -- given a relatively small, but quite useful class like the one below, what is a good approach to refactoring it? What questions do you ask and how do you decide what to implement or not implement? Where do you draw the line regarding configuration flexibility? [Note: Please don't bash this code too much okay? It was written a long time ago and has functioned perfectly well baked into an in house application.]

Public Shared Function AuthenticateUser(ByVal id As String, ByVal password As String) As Boolean
Dim path As String = GetUserPath(id)

[code]......

View 5 Replies

IDE :: Refactoring Data Contracts?

Dec 20, 2010

I want to add DataMember attributes for the properties in a class Is there any way to automatically add the attribute maybe some refactoring tool

View 4 Replies

.net - Refactoring Inheritance To Composition Using Vbex2005?

Jul 7, 2010

I have a class that I wrote fairly early on in my vb.net programming experience which inherited from another class it really should have composed. The base class is a relatively generic nested dictionary-based collection; let's call the descendant class a "Car".Right now there's a lot of code that does things like 'MyCar!Color.st = "Red"' (I use the generic collection rather than real properties to facilitate data interchange with code written in VB6, and also to facilitate comparisons of cars; given three cars X, Y, Z, I can e.g. detect any changes between X and Y and apply those changes to Z).

Is there any nice way to refactor the code to use composition rather than inheritance?Which properties methods should the "Car" object wrap, and which ones should be accessed through a data-object property? Should a widening conversion be defined between a car and the collection object? Are there any gotchas when doing such refactoring?

View 1 Replies

Asp.net - Refactoring: Gridview Export To CSV File

Sep 15, 2009

These routines (vb.net) allow you to dump a gridview to CSV, even if there are templated controls in the cells. It works, but I'm not thrilled with it.

What improvements should I make and why?

Private Shared Function CsvFormatted(ByVal t As String) As String
If t.Contains(",") Then
t = """" + t + """"

[Code].....

View 1 Replies

VS 2008 - Refactoring Presentation Layer

Sep 10, 2010

I've been working to refactor my code and ended up with a quite clean main BLL class that has only a few manager classes that pass information between eachother. They handle separate tasks/areas like socket connection, data, etc. It's only one instance of each of these manager objects, so I believe maybe the base layout is a structural singleton (?) ..but not sure. This seems to give quite good oversight and a clean separation of PL/BLL as the main form only access the BLL through one instance of a single class. But now I'm trying to figure out how to lay out the presentation layer. So with this I would like to understand a few points: Do you have all controls as members of the form class, or can you make sub classes where some controls only exist on lower levels? Like for example if you have a tab where all controls only interact with each other, and not the rest of the form, would it then be possible to make this a separate class that holds both controls and additional logic ? The first problem I get when trying this is with the events, as if I simply move an event handler method to another class than the form class, I get the message: Handles clause requires a WithEvents variable defined in the containing type or one of its base types.What does this mean? and is there an easy way around this? I would like to understand how a slightly more complex PL is designed, so I know what direction to move in for studying/developing this.

View 3 Replies

Free EBook "Moving To Microsoft Visual Studio 2010"?

Sep 19, 2010

Free eBook "Moving to Microsoft Visual Studio 2010"? [URL]...

View 6 Replies

.net - Refactoring Of Case Statement And Dynamic Operator?

Jun 4, 2012

I have a case statement which compares data by getting parameter such as "eq,ne,gt,..." and so on. Actually this method will filter data by getting filter parameter and filter value. How can I refactor below code?

[Code]...

View 1 Replies







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