In general, how does one set a control to take up the entire Height and Width of its container? I am new to Silverlight and was surprised that the controls don't have a Dock property (unless I am missing something).
...
Totally new to Silverlight (and XAML), but a long-time c# developer. I am building an app that will look similar to this:
Basically the user clicks on a node in the tree (Panel 1) and new content appears in Panel 3.
In Winforms, I would have just built a UserControl for each node and just swap the Panel 3 based on the node clicked....
Has anyone done this successfully? As I understand, GDI+ 1.1 only ships with Vista. I'm trying to get my hands on the different Effects classes.
I'm using C++ VS2008 (VC9)
...
This sounds like a trivial question, but it's proved quite hard to google anything about this.
When editing Color-typed properties through the property editor (when designing WinForms), a little editor pops up with three tabs: Custom, Web and System. I want to set a custom color by using the standard color picker dialog because none of ...
I have a multiple vcproj solution going and it seems that no other project's intellisense information is available when editing a file in another project. However when I'm within a file in a project, all intellisense information is available for that project.
Any idea why?
...
using visual studio 2008, 9.0.30729.1 SP1
Installed (msys) git, git versin 1.6.5.1.1367.gcd48, git-gui 0.12.0.23.ga91be.
i have the GIT menu in the menu bar, and git icons in the toolbar, but clicking them doesn't have any effect any more. It worked before, on my previous laptop. But that was probably a (little) older git version, and m...
I have a database with multiple tables, and some basic relationships. Here is an example of the problem I am having:
My Database:
**Org**
ID
Name
etc
**Detail1**
ID
D1name
**Org_Detail1**
Org_ID
Detail1_ID
**Detail2**
ID
D2Name
**Org_Detail2**
Org_ID
Detial1_ID
BooleanField
My problem is, the Org_detail1 table is not showing up ...
I have a class that implements IDisposable
public class Foo: IDisposable {
public void Dispose() {
// do the disposing
}
}
Then I have a method that uses the class in the following manner:
void Bar() {
using (var f = new Foo()) {
// do whatever
}
}
When the code leaves the using {...} boundary, the ...
Anyone have any suggestions on how to insert a row or column in a WPF Grid using (preferably) Visual Studio 2008?
It's no problem to add a new RowDefinition or ColumnDefinition, but I'm really not too excited about the prospect of incrementing the Grid.Row or Grid.Column for the large number of cells that are affected by the insertion. ...
Hi,
BACKGROUND:
I've running unit tests in VS2008 using MSTest.
My project has a SqlLite database.
I have found that I needed to arrange for the default database file to be copied to the MSTest area for the test to be able to find it. I am using the following annotation about the test code to arrange this:
[DeploymentItem("dat...
I can't find the code analsis tool in Visual Studio Team System 2008 Database Edition. Is this feature not available in the Database Edition?
...
Is it possible to have several columns of code side-by-side in Visual Studio 2008? And if so where to tweak that?
...
Hello.
I have several .rdl reports designed for our client. However, they need new ones, that are relatively similar to the old ones. Differences are in the "group" and "page fields" (these can be changed easily). I'm interested in adding new group and page fields.
I would like to copy/paste the old report, and then add new (group and ...
Hi
Is it possible to automatically validate XHTML (html files) files in a visual 2008 c++ project, so that errors of the validation are displayed in the output pane when the project is build?
...
The full error is as follows:
The type
'System.Windows.Forms.Control' is
defined in an assembly that is not
referenced. You must add a reference
to assembly 'System.Windows.Forms,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'.
and it points at the very first statement (an Debug.Assert line) in the v...
hi,
I'm trying to run an opengl application in vs 2008 but the compiler keeps throwing me the error:
Error 1 fatal error LNK1104: cannot open file 'C:\Documents.obj'
,and everything I've tryed doesn't do the trick , so any indication would be very appreciated !
...
Hello,
I'm using Visual Studio 2008 (with the latest service pack)
I also have ReSharper 4.5 installed.
ReSharper Code analysis/ scan is turned off.
OS: Windows 7 Enterprise Edition
It takes me a long time (2 minutes) to run the debugger, compiler, and if I save a file in my app_code folder it locks up for 2 minutes.
I have 12 Gb of r...
What to look for in performance analyzer in VS 2008
I am using VS Team system and got the performance wizard and reports going.
What benchmarks/process do I use?
There is a lot of stuff in the reports. Where do I go to find ways to improve my app?
Edit:
For example. If I run the wizard, change my application to something I think is b...
I've successfully created an app that minimizes to the tray using a NotifyIcon. When the form is manually closed it is successfully hidden from the desktop, taskbar, and alt-tab. The problem occurs when trying to start with the app minimized. At first the problem was that the app would be minimized but would still appear in the alt-tab d...
Hi,
We are a small team using Visual Studio 2008 for development and SQL Server 2008 Standard in the production servers. We are seting up a new development lab and I am wondering about SQL Server versions/editions and configuration.
Visual Studio 2008 comes with a development license of SQL Server 2005, but since we are only targetting...