Best way to get a sorted file list?
I am using Directory.GetFiles("C:\mydir", "myfiles*.zip") to get the names of all the files in "C:\mydir" that meet the criteria of "myfiles*.zip". What is the best method (arrays, lists, ?) to get the...
View ArticleC# VS Windows Forms App - How to refresh textBox data with serialPort...
Greetings:I am new to C#, have some C in the past, and hope to use my electrical engineer experience to become a good programmer. I have a long way to go.I am creating a windows forms app that will...
View ArticleChanging workspace
HelloI have a question that may seem a bit easy, but I have been searching for several minutes so I figured I'd figure it out faster if I just asked.How do I change my workspace in Visual studio 2010?...
View ArticleCommon Linked Resx Between VB Projects In Design Time and Runtime
Environment: VS2010Multiple Winforms VB.Net projectsRequirement: A single (linked?) RESX file (holding strings and images) which can be accessed by any of the Projects' forms within the Design...
View ArticleImageList sometime fail to open in VS2010 designer
Create a winform project, add an imagelist, add some image items into that list.Close VS2010, reopen that project, open that winform in designer, try this several times, it will sometime fail.Close...
View ArticleHow to add a STS Reference to my asp.net mvc4 project?
Hello, I've been trying to add a STS Reference to my asp.net mvc4 project. According to the article below, I should be able to make a right click on my project then hit the "Add STS Reference"...
View Articleexception has been thrown by the target of an invocation
HelloI'm having a problem with my install of VS2012 and I was hoping someone maybe able to shed some light on the problem.I have VS2012 installed on my C drive, my documents are on D drive and my...
View ArticleXaml Designer in VS 2012 Update 2
Since VS 2012 working with Silverligt + xaml is a nightmare (I don't know what about WPF o Windows Store App). Very, very slow. Constantly frozen screen...I'm worknig with Visual Studio since 6.0...
View ArticleStop debug button
When debugging my code i ocasionally try to edit my code before stopping the debugger. I get the popup "Changes are not allowed while code is running" including a OK button. Afterwards i have to click...
View ArticleHiding Window in Background
Hello, new to Visual Studio and I need help! I'd like to create a window which is hidden from users. I figured the easiest thing to do would be to create a normal window and have no icon in the task...
View ArticleDatabase Deployment - Always drops function to external CLR assembly
Every time I deploy a database with references to CLR assemblies, the functions that refer to those assemblies are dropped.I don't mind dropping/creating the functions during each deployment; however,...
View ArticleUtility Project is always up-to-date after migration from VS 2008 to 2012
We've switched from 2008 to 2012 and we are experiencing a change in how utility projects work.Usually we perform lots of xcopy to copy file and provide flags to it to copy only if newer. These utility...
View ArticleDebugging Program Versions Side by Side
I'm working on an ASP.NET system and I want to run two versions of the same solution in two different instances of Visual Studio in debug mode on the same computer at the same time. The systems are...
View Article"Bootstrapper Manifest Files" and Prerequisites (walkthrough, explanation?)
Hello,I am dealing with custom prerequisites and I see one method, based on my searching, is to make a "boostrap manifest file" and put it in the proper diretory. Supposedly then you can select the...
View Article"Add New Item" missing C# versions in Visual Studio 2012 Web
Hello Everyone,I am attempting to follow the following tutorial:http://msdn (dot) microsoft (dot) com/en-us/library/bb924552 (dot) aspxWhich requires very early on that an "AJAX-enabled WCF Service" be...
View ArticleVS 2010 template doesn't work on VS 2012
I am trying to open SOA - Cluster Debugging templates on 2012. They are created to be used on VS 2008 and VS 2010. When I tried on 2012 it gives an error:"There is a missing project subtype." It looks...
View ArticleVS 2012 cannot creat new project
I cannot create new project. VS 2012 report the error below. I uninstall and then reinstall VS 2012 premium, but the issue is still there.The project file could not be loaded. Data at the root level is...
View ArticleSystem.Configuration.ConfigurationErrorsException when starting windows service
I have created a windows service using c# 4.0 and oracle entity framework for dependency injection. I have tested it in my IDE (visual studio) and it works fine.I installed my local machine...
View ArticleIf I have source files, can I simply recompile into a DLL?
I have a project folder, for a plugin for a server for a game called Terraria. You may have heard of it, I don't know. Anyway, plugins are installed by placing one or more DLL files in a plugins...
View ArticleAccess Denied Error - Build Definition
Hi I m using VS2012 on local PCTFS2012 , SQL SERVER 2012 , Windows server 2012 at Server I have created a Build definition at local PC using tfs connection, when i queue the build it prompt me Access...
View Article