Ok, so I just wasted an hour hunting why my lookless WPF control wasn't showing up in the Window.
Eventually, i traced it to the fact that I forgot to add the ResourceDictionary entry in the generic.xaml file under the themes directory. The style and the class itself was OK.
Is there a way to trace what is going on inside WPF? How to ...
I know the title is vague, sorry I couldn't think of a better way to title it:
I have had this happen several times before; when I copy code from a asp .net page and paste it into another page none of the controls are recognized in the code behind page. I have tried to build/rebuild the page but I can't see the controls (in intellesense...
I am writing a Windows forms application to go between our other systems and our new software package that we are still setting up. I am doing an iterative development method because I am creating the tools as we find that we need them. My problem now is that when I publish a new change, we have to go to the workstations, log in as admin...
In Visual Studio 2008 I would like to create a Reporting Services project. I am also in the process of moving the database that the reports will target to a Database Project.
Can the database project be a valid data source for my reporting service project or do I still need to have a concrete database?
...
I recently made the switch to a new job and consequently the switch from VB.NET to C#. One thing that I miss is all the snippets that are available in VB.NET. VB.NET comes with ~400 snippets and C# only comes with ~100. Also, I have noticed that the majority of VB.NET snippets are task oriented which is exceptionally helpful when you ...
Is it possible to automatically deploy dependent database projects in VS2008 Database Edition?
I have two database projects, let's call them A and B. B depends on A (B doesn't create the database but A does, etc.). I want to be able to 'Deploy' B on demand and have A automatically deploy first.
I know it's possible to configure the s...
This may sound like a heresy :), but I mostly program in fortran (intel 10) and have actually no need for Visual Studio Debugger. Or at least, never have gotten used to it.
So to put it shortly, where does one turn it off ? Is it even possible ?
...
I have a jpg I'm trying to put in the header of all of the pages on a website, but it's too big. I don't have any image editing software on this machine. Does anyone know how to resize a jpg in Visual Studio 2008? I don't want to crop it, just make it smaller.
...
I'm trying to add control to another tab item on design view, but I can only see the first tab item with all the controls I previously added and at the moment I can only add controls by hard coding on code view window, therefore I have to compile the program in order to see the results of the controls added by hard coding.
Any help woul...
I have already designed an applications that is nothing more than a simple WinForm with one or two classes to handle data and collection.
Fairly often I find myself refactoring parts of it or adding new features to it, not huge features but small additions to its functionality.
The question I have is what would be the best way to provi...
It appears that not all Xml-Commenting shows up in Intellisense, but perhaps I am not doing it correctly? Anyway, I am trying to make it so that individual enumeration members in an enumeration list show up in intellisense with descriptive text. For example, in the String.Split method, the third overload takes the StringSplitOptions en...
I've settled on the following style of creating properties (with a backing field):
private _firstName;
public string FirstName
{
get { return _firstName; }
set { _firstName = value; }
}
Given that the name of the property is similar to the name of the backing field, I've improved the built in prop snippet to the following:
<?...
I use Qt for C++ development, and today I produced a .vcproj file from a .pro file.
I noticed under the vcproj project properties, Qt added this flag into the C/C++ -> Command Line -> Additional Options
-Zm200
What is -Zm200?
...
Question about paths while working in Visual Studio. In my master page I have some paths to load css files as well as javascript files.
My first question is if I use relative paths, should the relative path be from the location of the master page file? For example if I keep all my master page files in a folder off the site root called ...
I'm a Ruby programmer and I've gotten pretty used to the "ruby" style of programming; such as duck typing. Are there any good resources for learning Visual C# 2008 coming from a Ruby background?
...
I'd like to copy a compiled Visual Studio Test Project (assemblies) to a target machine and run everything from there without having a license for Visual Studio on the target machine (note: only .net framework is installed on target machine).
Considering Test Projects are compiled down to IL dll code I don't see it a big stretch to run...
Hi. Im working on an assignment for one of my classes. Simply I have a GumballMachine class and a bunch of State classes that change the state of the GumballMachine.
Here is the offending code:
class GumballMachine;
class State {
public:
virtual void insertQuarter() const = 0;
virtual void ejectQuarter() const = 0;
virtual void tur...
Hi,
I've set up a symbol-server for one of my current projects.
During a nightly build I:
build my source
apply a label to the sourcefiles that have been used in the build
index the pdb files with the necessary information
stored the pdb files in the MS symbol server
(In fact, I've followed this article: Source Server helps you kill...
I am trying to Deploy/Package a Visual Studio Project based on Visual Studio Extensions for Windows Sharepoint Services 1.3 (March 2009 CTP) but getting the following error!
The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate,NTLM'
I am able t...
We need to integrate our application with a client's applications, and this integration will happen through WebServices.
We will have to instantiate different classes depending on which release the client is on. The thing is, I don't know how other companies do that, we were thinking about some dynamic assembly loading for code readabi...