-
Foo Fighters
-
Dave talks about his extraordinary return to his home town, Washington DC to play at The Kennedy Center and honor his own heroes, THE WHO for The Kennedy Center Honors
-
-
Feedback: "Create unit test" wizard does not wo...
-
I have the same problem in VS08 SP1 DbPro GDR Aug preview when I have a dbpro project in the solution. Unload the dbpro project and all is well in the world.
-
-
CodeProject: Tracert Map: View the IP network p...
-
You need to download and extract the GeoCity Lite database from MaxMind.com. The compressed archive of the database is available here. The GeoLiteCity.dat must be placed in the same directory as the executable.
-
-
LINQ to SQL (Part 6 - Retrieving Data Using Sto...
-
Like before we can create a "GetProductsByCategory" method on our DataContext that calls this SPROC by dragging it onto our LINQ to SQL designer. Rather than just dropping the SPROC anywhere on the designer, though, we'll instead drop the SPROC on top of the existing "Product" class in our data model designer
-
-
Blog of Robert Biggs
-
When Browsers Behave Badly, focusing on how I fix display issues in IE6, IE7, Firefox and Safari. It was a great turnout overall and all attendees seems enlivened and enthusiastic.
-
-
Creating Domain and Forest Trusts: Domain and Forest Trusts; Active Directory
-
Add Sticky NoteCreating Domain and Forest Trusts
Updated: March 2, 2005
In Windows Server 2003, there are four trust types that must be created manually. External trusts, realm trusts, and forest trusts help provide interoperability with domains outside your forest or with realms. Shortcut trusts optimize access to resources and logons that are made between domain trees in the same forest.
The following tasks for creating domain and forest trusts are described in this objective:
To add users from another domain you must create a domain trust.
-
-
Redmond | Feature Article: Partition Web Apps Intelligently
-
Add Sticky NoteMicrosoft's Model-View-Controller framework makes it possible to implement "a separation of concerns" in ASP.NET -- something that was difficult, if not impossible, previously. Learn how to take advantage of MVC to design better Web apps that separate their architectural elements -- the UI, business logic, and code -- properly, as well as how to review what you create with unit testing.
-
-
Find in Files: Search all code in Team Foundation Server - Stack Overflow
-
If you install TFS 2008 PowerTools you will get a "Find in Source Control" action in the Team Explorer right click menu.
-
-
Polymorphic Podcast : Controlling HTML in ASP.NET WebForms
-
Add Sticky Note
Controlling HTML in ASP.NET WebForms
-
Tip: Turn off ViewState by default and use it only when necessary. You can even turn off ViewState globally in your application by disabling it in the web.config in the pages element.
- 2 more annotations...
-
-
Transfer Classic ASP Session State to ASP.NET
-
I had to revisit this "impossible problem". Fact is, the answer is so simple if you just sit down and think it through!
-
Transfer Session Variables from Classic ASP to ASP.NET
- 3 more annotations...
-
-
Providing Feedback to Microsoft
-
Add Sticky Note
You don't have to wait until you encounter an error to send us feedback, or be limited by the information the error-reporting feature can collect. Tell us what you think about our products, Web sites or services using this online form. We value your feedback and use it to provide better services and products for our customers. Feedback can include comments about a support experience, improvements to Product Support Services, and comments about Help and Support online.
Alternatively, you may send us a product suggestion or feature request. Product enhancement suggestions can include improvements to existing products, suggestions for additional features, or ways to make our products easier to use.
Microsoft Feedback
-
You don't have to wait until you encounter an error to send us feedback, or be limited by the information the error-reporting feature can collect. Tell us what you think about our products, Web sites or services using this online form. We value your feedback and use it to provide better services and products for our customers. Feedback can include comments about a support experience, improvements to Product Support Services, and comments about Help and Support online.
Alternatively, you may send us a product suggestion or feature request. Product enhancement suggestions can include improvements to existing products, suggestions for additional features, or ways to make our products easier to use.
-
-
pinvoke.net: SetWindowPos (user32)
-
[DllImport("user32.dll")]
static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X,
int Y, int cx, int cy, uint uFlags);
static readonly IntPtr HWND_TOPMOST = new IntPtr(-1);
static readonly IntPtr HWND_NOTOPMOST = new IntPtr(-2);
static readonly IntPtr HWND_TOP = new IntPtr(0);
const UInt32 SWP_NOSIZE = 0x0001;
const UInt32 SWP_NOMOVE = 0x0002;
const UInt32 SWP_NOZORDER = 0x0004;
const UInt32 SWP_NOREDRAW = 0x0008;
const UInt32 SWP_NOACTIVATE = 0x0010;
const UInt32 SWP_FRAMECHANGED = 0x0020; /* The frame changed: send WM_NCCALCSIZE */
const UInt32 SWP_SHOWWINDOW = 0x0040;
const UInt32 SWP_HIDEWINDOW = 0x0080;
const UInt32 SWP_NOCOPYBITS = 0x0100;
const UInt32 SWP_NOOWNERZORDER = 0x0200; /* Don't do owner Z ordering */
const UInt32 SWP_NOSENDCHANGING = 0x0400; /* Don't send WM_WINDOWPOSCHANGING */
const UInt32 TOPMOST_FLAGS = SWP_NOMOVE | SWP_NOSIZE;
public static void MakeTopMost (Form form)
{
SetWindowPos(form.Handle, HWND_TOPMOST, 0, 0, 0, 0, TOPMOST_FLAGS);
}
-
-
Form in new thread : Windows Forms General : Wi...
-
public void OpenForm()
{
Thread t = new Thread(new ThreadStart(A));
t.Start();
}
public void A()
{
openMethod(this);
}
private void openMethod(Form p)
{
if (p.InvokeRequired)
{
open d = new open(openMethod);
this.Invoke(d, new object[] { p });
}
else
{
Form m = new Form();
m.Show();
m.Visible = true;
SetParent(m.Handle, hDeskTop);
}
}
-
-
How to open a form in a thread and force it to ...
-
You cannot open a GUI form in any thread, because it will be missing a message pump. You have to explicitly start a message pump in that thread by invoking Application.Run() in a thread method.
-
-
ALTER DATABASE Compatibility Level (Transact-SQL)
-
Add Sticky Note
For all installations of SQL Server 2008, the default compatibility level is 100. Databases created in SQL Server 2008 are set to this level unless the model database has a lower compatibility level. When a database is upgraded to SQL Server 2008 from any earlier version of SQL Server, the database retains its existing compatibility level if it is at least 80. Upgrading a database with a compatibility level below 80 sets the database to compatibility level 80. This applies to both system and user databases. Use ALTER DATABASE to change the compatibility level of the database. To view the current compatibility level of a database, query the compatibility_level column in the sys.databases catalog view.
Setting SQL Server Compatiblity Level
-
ALTER DATABASE database_name SET COMPATIBILITY_LEVEL = { 80 | 90 | 100 }
-
-
Visual Studio Database Projects with SQL Server 2008 or ‘Why do I prefer Goog...
-
First up, if you encounter an error when creating a Visual Studio Database Project with SQL Server 2008 telling you only version up to 2005 are supported, just download the
Microsoft® Visual Studio Team System 2008 Database Edition GDR July CTP -
Ok, I’m going to mix some info with a little bit of remarks on search engines.
First up, if you encounter an error when creating a Visual Studio Database Project with SQL Server 2008 telling you only version up to 2005 are supported, just download the
Microsoft® Visual Studio Team System 2008 Database Edition GDR July CTP - 1 more annotations...
-
-
SQL Server Forums - Unable to install SQL Server 2005.
-
Add Sticky NoteTo know what is blocking setup on your machine take a look at the SQLSetup_XXXX_Core.log ( %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\Log )
You will find an entry similar to
Running: PerformSCCAction2 at: 2004/5/16 10:55:16
Product "{2373A92B-1C1C-4E71-B494-5CA97F96AA19}" versioned 9.00.833 is not compatible with current builds of SQL Server.
Error: Action "PerformSCCAction2" threw an exception during execution.
Return Code: 50349
Message displayed to user
SQL Server 2005 Beta 2 Setup has detected incompatible beta components from Visual Studio or SQL Server. To proceed, use Windows Add or Remove Programs to remove previous SQL Server Yukon components, SQL Server Support Files, and Common Language Runtime (CLR) components, and then run SQL Server 2005 Beta 2 Setup again. For detailed instructions on uninstalling SQL Server builds, see the SQL Server 2005 Beta 2 readme file.
Running: UploadDrWatsonLogAction at: 2004/5/16 10:55:18
Message pump returning: 50349
The offending Product Code in this case is "{2373A92B-1C1C-4E71-B494-5CA97F96AA19}"
You can find the name of the product by running
• Regedit
• Go to HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
Look for the matching GUID and then look at the DisplayName value. This is the product you need to uninstall using Add\Remove Program.
-
-
Database Pro requires local SQL 2005 instance??...
-
Correct we require a local SQL Server 2005 Developer Edition instance, which is why SQL Server 2005 Developer Edition is included in the project.
In order to validate just the changes from the developer (in isolation) we use this local "scratch" database for syntax validation, so we are sure we can build the project. None of the state in this database is supposed to be shared, which is why you are not deploying to this database either, but to your target database. The target database can be living on a shared and remote server. This will not change for v1.0 of the product, in a future release this might change since we will only use the kind of validation at build time, and not as a continous background compilation process, which is what we have right now. Which was an other reason why we choose to have a local and private database to do this work against, since the latency is much smaller when this is local.
-GertD
-
-
How to: Specify the Local Instance of SQL Server to use for Design-time Valid...
-
In the SQL Server Instance Name (blank for default), type the name of the instance of SQL Server 2005 that you want to use for design-time validation. You must provide only the instance name. If you specify ./InstanceName, an error appears.
-
You must now unload and reload your project for the change to take effect. You can do this using the Project menu or by closing and reopening the solution
- 5 more annotations...
-
