IDE :: Get Refactor To Appear In VS 2005 And VS 2008 On The Same Machine?

Jul 30, 2008

I downloaded and installed Refactor. The install worked fine and Refactor works in VS 2005. However, I also have VS 2008 installed and I cannot get Refactor to appear in that IDE. Is there something I need to do to get Refactor to appear in VS 2005 and VS 2008 on the same machine?

View 7 Replies


ADVERTISEMENT

[2005] Anyone Use The Built In VS Refactor Tools?

Feb 26, 2008

I was fooling around with the toolbars and noticed the Refactor section. So I made a toolbar with all of the refactor buttons and ... they don't do anything.I don't often customize so maybe I'm missing something.

View 6 Replies

VS 2008 Refactor All Instance Variable To Have All The Get And Set Method?

Jul 17, 2009

how do I refactor all my instance variable to have all the get and set method? I tried RefactorVB but it seems like it can only refactor 1 by 1.

View 2 Replies

Copying A Saved VB 2005 Project To Another VB 2005 In A New Machine

Oct 13, 2009

Just copied a saved VB 2005 project to a new machin which has VB 2005. When I build or rebuild this project I get one error and 14 Warnings...Warnings and error are:Warning 1 The referenced component 'LCC11' could not be found.Warning 2 The referenced component 'Microsoft.Office.Core' could not be found. Warning 3 The referenced component 'Microsoft.Office.Interop.Word' could not be found.

[Code]...

View 6 Replies

Modify The Machine.config In 2005?

Mar 30, 2010

i'm creating a system now using vb.net 2005, .net framework 3.5. I'm using MySQL 5.1 as my backend and I've created a role so that I'll grant the specific user if he fits with the current role. My question is how can i modify the username and password of my database connection located at machine.config file under connectionStrings? The system will be used by different users and every user has its own account in the database.

Example:

I have a user named perry. The connection string would be like this:

<add name="LocalMySqlServer" connectionString="server=localhost;user id=perry;password=pass1234;database=mysql"/>
Another user named harris:
<add name="LocalMySqlServer" connectionString="server=localhost;user id=harris;password=harRis101;database=mysql"/>

View 1 Replies

VS 2005 - Deployment Error On XP Machine

Mar 29, 2010

I am getting the following error on a users machine who is running XP method not found 'system.string system.windows.forms.openfiledialog.get_safefilename
Do I need netframework 3.5 ?

View 12 Replies

VS 2005 Connect To .mdb On Remote Machine

May 27, 2010

with vb.net OLEDB (not DSN- ODBC) + access03 + winxp please specify the connection string to connect to a .mdb file on a remote machine with OS winxp .i am confused what is the data source to be used in my connection string

View 4 Replies

VS 2005 Writing Machine Language To Registry

Sep 15, 2010

with vb.net 2005 exp how to write this [code] values to registrythis data i am extracting from MySQL database.

View 5 Replies

C# - Refactor Data Contracts In WCF Services?

Feb 11, 2010

We have lots of WCF services that are only used by our own code; the code that uses them is mostly in the same solutions files that contains the services.

However they do not use a shared assembly for the contracts, so each time a data contract is change the reference to the service has to be updated by hand in all projects that use the service. (Then the code needs to be fixed up by hand)

So how do I do a simple refactoring like renamed a data item in a data contract?

Is there a way to update all references to services in a single solution with one command, rather then having to click on each reference in each project?

View 2 Replies

Refactor To Remove Code Duplication?

Feb 1, 2011

This is a simplified version of a class that I have in my project. Since the Bonus is figured the exact same way in each function I want to remove the obvious code duplication that appears here and make the three different functions into one. However I am not sure how to provide the argument that this new function would require.

For instance I am currently just passing the argument like this from code

lblVolumeBonus.Content = TestClass.VolumeBonusAmountStore(bonus).

I think I have to basically turn this logic around and call it with something like

lblVolumeBonus.Content = TestClass.VolumeBonusAmountStore(BonusTrackerBO.StoreBonus)

but I am not sure of the correct syntax or whether I am on the right track at all.

Public Class TestClass
Public Shared Function StoreBonus(ByVal bonus As BonusTrackerBO.StoreBonus) As Double

[Code]....

Edit: It may not make a difference but I should have made clear that there are other factors in the equation (I was just trying to keep it simple). So is the answer the same when there are other callbacks to the bonus like bonus.MaximumAmount, bonus.MinimumAmount? There are 5 callbacks to the bonus object and the amounts are different depending on whether it is a Store, District or Company asking.

View 2 Replies

Winsock 2005 - Target Machine Actively Refused Connection

Jun 22, 2009

I am trying to make a client server form application using VB2005. I am using VS2005 Professional for development.

The problem is as follows:
When more than one client tries to connect to the server. The connection is refused and the Client gets an exception in Connect() method - Target machine actively refused the connection.

This problem occurs only when 2 or more clients try to simultaneously connect to the server. For a single client accessing at a time the problem does not occur. The code segment is as given below:

-----------1 Module
Imports System.Net.Sockets
Imports System.Net
Public Class FrmMdiParent
Dim WithEvents wsServer As New Winsock2005DLL.Winsock
Private Sub FrmMdiParent_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
[Code] .....

The above exception is thrown when more than 1 clients try to access the server simultaneously.

View 1 Replies

Refactor - Replace With Constant String.Empty

Oct 17, 2011

I have the following line of code
Dim a As String = ""
And the Refactor suggests replacing the "" with String.Empty
It is a kind of Refactoring but why? Since I am a newbie in the future declarations of mine should I better use the String.Empty ?

View 5 Replies

Why Visual Studio Does Not Have Refactor Tool By Default

Aug 20, 2010

why visual Studio Does not have Refactor tool for vb.net by default ? but it has this tool for c#. for example extract method and etc.

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

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

Asp.net - Refactor To Design Pattern: Displaying/hiding Different Combinations Of Controls Based On State?

May 26, 2009

Assume you have controls A, B, C, D and E all with a Visibility property. You also have states 1,2,3,4,5 and 6 in which various combinations of your controls would be displayed. Currently this is being handled by switch statements for each state: i.e.

Select Case PageState
case "1"
a.visible = false
b.visible = true

[code]....

As you can imagine, this becomes a pain as every state needs a show/hide statement for each control. How can I refactor this so that adding controls and/or states becomes trivial?My first instinct is to extend the control and add a collection of states that it should display for but this sounds like overkill.

Edit:I was deliberately vague in my question in case this has other implications. In my current instance the "controls" in question are ASP Panels. Does that change anything?

View 4 Replies

Cannot Access The Database From Server Machine To Client Machine Using .net 3.5?

Dec 9, 2010

I develop an application using vb.net.application will run on client server architecture.when we try to execute the program in client side then it will give me an error which is related to sqlclientexception.how can i handle this situation.i used vb.net 3.5 as front end and sql server 2000 as back end.i have done total coding with system.data.sqlclient namespace.

View 6 Replies

.Net Software Behaves Differently From Machine To Machine?

Dec 21, 2010

I've inherited a lot of custom made software for an office, and, while managing it, I've found it performs differently from machine to machine.I mean, some controls get painted in weird ways in some machines but well in another, or just work differently, like in some machines clicking something selects it, and in the next machine clicking the same thing makes it editable.I suspect, o course, of the myriad of DLL the software loads

View 2 Replies

[VS 2005] Service Control Manager Privileges - Communicate With A Windows Service On A Remote Machine On The Network

Jul 23, 2009

I am trying to communicate with a Windows service on a remote machine on the network but i keep getting an exception saying the following: "System.InvalidOperationException: Cannot open Service Control Manager on computer 'machine001'. This operation might require other priviledges. ---> System.ComponentModel.Win32Exception: Access is denied.

[Code]...

View 4 Replies

[2005] Run A Unix Script On A Unix Machine Without Using A Third Party Software

Jan 8, 2009

Is there a way to run a unix script on a unix machine with VB .NET without using a third party software like Rebex ssh?

View 4 Replies

Blocking A Particular Machine From Accessing A Machine On LAN?

Jan 21, 2008

I want to block a perticular machine from accessing my machine..Both the machines are in LAN..I dont want a perticular machine to access my computer How can i achieve this...I want to do this using VB.NetAny idea....

View 9 Replies

VS 2008 The Software Should Run On Only One Machine?

May 19, 2011

I have developed one application and now I want it to run only on one machine

View 4 Replies

VS 2008 : Get The View Of Another Machine On The Network?

May 24, 2010

Get the view of another machine on the network, or window of another application in my application (like I could see e.g.: Sage on a e.g.: browser in my application).This would be a great improvement for the users that use some applications on our server computer, at the moment we use remote windows connections but we don't want to allow the server as with full permission for some users.

View 5 Replies

VS 2008 Excel Not On Target Machine?

Oct 25, 2011

I am developing an application that can export a DGV to excel file, so i have some references to MS Office and excel. How can I develope the program to be deployed on a machine that doesnt have Excel.. When I ran it on a new Win7 machine I have without office I couldnt even run debug because office isnt on the computer.I am not asking to be able to create an excel export on a machine without excel, just be able to run the program? Or do I need tow version of the program one for and one without excel

View 4 Replies

VS 2008 Get Machine Startup Folder?

May 31, 2011

how can I get the shared startup folder? My application is set to add a shortcut to the startup folder, but it isnly for that user, and I'd like it to automatically start for any user on the machine.I know you can do this by adding a registry key, but I'm having trouble getting my registry key code to work in this WPF app.

View 1 Replies

VS 2008 Running Appliction On Different Machine?

Apr 1, 2009

I just tried running my application on a different computer and it simply wont run. I get this error.

when i click on debug, it says "an error occured creating the form. See excpetion.innerexception for details. The error is' Could not load type

View 9 Replies

2008 Show All The Websites Visited On A Machine

Jan 7, 2009

I would like to be able to show all the websites visited on a machine.

View 3 Replies

VS 2008 - Loading Symbols Used On Local Machine

May 23, 2009

I'm aware of a way to load the fonts found on the locale machine, but is there also a way to load the symbols used on the locale machine.

View 7 Replies

[2008] Installing Dotnet Framework On Another Machine?

Jan 15, 2009

I have written an app using VS2008 and i now want to run this application on another computer. I need to have the dot net framework installed right?

Is it possible to use the VS2008 DVD to install just the .Net Framework on the new computer?

If not how do I install the .Net Framework on this machine?

View 3 Replies

Installed VB Express 2008 On Machine And It Went Without A Redistributable File

Jul 19, 2010

I installed VB Express 2008 on my machine and it went without a redistributable file. It got download during the install. Anyone knows where I can download the redsitributable file from, so I can give it to my students?

View 2 Replies







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