PCMEF is an architecture style presented in the book Practical Software Engineering by Maciaszek and Liong. The layers are:
P: Presentation
C: Controller
M: Mediator
E: Entity
F: Foundation.
It is some kind of enchancement compared with MVC - architecture. I recommend it to interactice, data and communicating - oriented purposes. I...
Visual Studio includes a refactoring function called "Extract Interface" that generates an interface based on a class implementation.
The extracted interfaces are Internal by default. Problem is, we end up changing nearly all of them to Public.
Does anyone know why it's Internal by default? Better yet, is there a way to customize th...
Hi,
Due to the lack of Deployment functionality of Visual Studio Express edition, I'm here asking if anyone can recommend a very nice free Deployment template for the express edition. I'm mainly working with C# desktop project.
I know that there is still ClickOnce deployment in the Express edition, but it seems to me that it is not so ...
Hello,
I'm trying to insert in an Access Database, from visual C#. But i got this error: error
What am I doing wrong in code? The values are correct, they comes from the input boxes.
Thanks!
...
Hello,
I have a visual C# project and i'm trying to insert data in a MS Access Database when i press a button. Here is the code:
private void button1_Click(object sender, EventArgs e)
{
try
{
OleDbDataAdapter adapter=new OleDbDataAdapter();
adapter.InsertCommand = new OleD...
Hello
I want to add some xml file as resource to my class library project .
Any idea how to do so , and call it later?
In windows application i would do it like ClassLibrary1.Properties.Resources.file.xml
But here it didn't worked any idea how i do it here ?
...
Hi,
I hd made MFC application in VC++ 2005 and i need. It compiles successfully in 32 bit mode but when i try to compile it on 64 bit mode i get following errors.
1>------ Build started: Project:
ProgressBar, Configuration: Debug x64
------ 1>Compiling... 1>stdafx.cpp 1>C:\Program Files\Microsoft Platform
SDK\Include\mfc\afx...
Hi,
I have never used the datagridview in any other scenario other than one where it is populating by a database so suddenly my mind goes blank...
I have 10 tubes, each with 8 vertical positions within it, so I have a 10 by 8 grid basically. Each has of those slots has (or not) an image in a folder. How do I get a datagridview to ref...
Hello, I have one question of PCMEF. The "interface" class between the layer, are is essential? How can I choise it's?
...
hey, i`m stuck on it.. plx help..
my database is created on mssql 2008 and have connected on sql server compact edition and not on windows authentication.. can any body please help me out..
...
Title says it all.
I'm trying to write an extension for VS2010, but I get this every time:
Hit F5 to start debugging
A new instance of visual studio starts up
I can see a bunch of DLLs loading in the debug host while the new instance is starting
It then fails with a "LoaderLock".
When I continue after that, the new instance is fully...
Question
Is there a way to notify teamcity when ever someone does a commit to a repository on visual svn? This is so every time someone commits to the repository a build in teamcity will trigger immediately without the developer having to wait for polling to kick in on its set time interval.
...
I just started working on a new project, and I can't sent the build action to Debug/Release
This is a huge problem!
I have another solution on my system that, when opened, allows me to change the solution configuration.
So it must have something to do with this specific solution???
...
I'm using VS2010 in C#
there is a place in my code where an exception is thrown and properly handled.
the problem is that I'd like to configure the debugger to break on all exceptions, handled or not - all exceptions but this one. My goal is to see all the thrown exceptions in the debugger, but this one exception is driving me bonkers ...
I am trying to create a script such that I am given an array of server names and from these names I would like to create a system dsn on each of those respective machines.
I know that you can use SQLConfigDataSource() to create a dsn on your local machine, but it does not seem to give any parameters for creating the dsn on a separate ma...
Hi,
Is there a way to turn on grid lines in the entire datagridview client area rather than them becoming visible as you add rows?
I have read the msdn but find nothing of use.
C#, winforms, visual studio 2008
Thanks, R.
...
I have setup a Visual Studio project that I have edited to reference the PostSharp build targets. I did not use the MSI installed to install PostSharp on my development machine.
The problem that I am having is that the PostSharp Targets are only executed when I change the build configuration to 'Release', but not in 'Debug'.
I can veri...
Does anybody have a good way of finding ALL the controls within an object that is of the same type? Here's my scenario, I have a tab control and within each tab control exists a user control (ALL of which match the same base type e.g. MyBaseClassControl). I want to be able to find that user control WITHOUT having to use the control.Fin...
I have a Visual Studio Installation Project and I want the Installer to create a specific folder only if a check box on a 'Checkboxes (A)' form that I've added to the project UI is checked. The name of the property for the checkbox is CHECKBOXA1 but I have no idea what to put in the Condition property of the folder so that it only gets c...
Hi All
I have heard about the new chart control. What format do these charts render on the page? Flash, Sikverlight, images, etc.
Thanks,
Jason
...