.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid
Post New Web Links

Disable Hardware Acceleration in Windows 7 Through Regedit (No Entry for Avalon.Graphics)

Posted By:      Posted Date: October 11, 2010    Points: 0   Category :WPF

I attempted to disable hardware acceleration through regedit as described here.  Unfortunately, my system doesn't have an entry for avalon.graphics.  (I do, however, have .NET Framework 4 installed, which I thought was part of avalon.)  Is there any sort of work-around?  Can I simply create my own entry for avalon.graphics?


View Complete Post

More Related Resource Links

Windows Update Caused Graphics Acceleration Isssues with .NET 2.0 Applications

As of 9-17 2010 our users have been having issues with two .NET Windows applications since getting the Windows Update. After the IT dept did about a day and a half of researching we figured out it was the video cards with acceleration that was causing the issue. Windows would totally freeze when launching any .NET 2.0 applications. After researching and coming to the conclusion that setting the acceleration on the 3rd bar, or about 1/4 way to full acceleration the applications would finally launch. However there are still some areas of the applications that still freeze windows. One of the applications was developed by our development department and another is a third party application we use internally. I have researched online for some others with issues like this and I am not sure what the next step should be. Any help is appreciated.

Dazzling Graphics: Top Ten UI Development Breakthroughs In Windows Presentation Foundation


The Windows Presentation Foundation provides new techniques for UI-based developing applications and makes better use of current hardware and technologies. In this article, Ian Griffiths and Chris Sells explain 10 of the most significant advances that make WPF superior to its Win32 predecessors.

Ian Griffiths and Chris Sells

MSDN Magazine January 2006

LDAP - directory entry issue with out user and password using impersonate and windows authentication

Hi All I am using the below code to fetch the user information from LDAP             DirectoryEntry entry = new DirectoryEntry("LDAP://DEV");             DirectorySearcher searcher =  new DirectorySearcher(entry);             SearchResult result;             searcher.Filter = "samaccountname=testuser";             result = searcher.FindOne(); here i am using windows authentication always and along with that when i enable the impersonate = true ,  the code fails at "result = searcher.FindOne();" with message "object reference not set to instance of an object "  also with the same code if i give the username and password along with the impersonate tag >> it works  or if i am using the user and password along with the DirectoryEntry  object then also it will work  but it fails with same user that i gave in impersonate tag / directory entry object with windows authentication enabled  and the  user logged to the application and no username and password tag in directory entry / impersonate tag  Interesting thing is that  in our development server ,  i am able to execute the same code with out user name p

Disable SharePoint Workspace alert on Windows 7 PC with Norton Firewall Provider.

My wife has a laptop with Windows 7 and Office 2010.  Recently she was playing with some settings on her PC and did something which now causes a "Microsoft SharePoint Workspace" alert to appear when she boots up the machine. She wants this message to go away.  I do not know how to do this, and searching for portions of the alert have lead nowhere.  Here is the exact message. SharePoint Workspace is unable to communicate through your firewall and will run with limited functionality.  To resolve this problem, enable SharePoint workspace as a Windows Firewall exception.  For assistance, contact your Windows administrator. To remedy this, here is what I attempted: Start > Control Panel > View by Small Icons > Windows Firewall This opens a dialog with the caption, "Help protect your computer with Windows Firewall".  Below that, there is an orange box with the notification, "These settings are being managed by vendor application NORTON FIREWALL PROVIDER." Of the half-dozen options that appear in the left navigation panel of that dialog, only 3 are enabled: control panel home, advanced settings, and troubleshoot my network.  The option to "Turn windows firewall on or off" is disabled. We have Norton 360, so I opened that program and chose the "Settings" tab, which displays a Firewall link to

Is there a way to disable the Open in Windows Explorer option for a single document library (SP2010)

I am looking to disable the Open in Windows Explorer option for a single document library (SP2010). Can someone help me with this?

An entry has been added to the Windows event log of the server. Log ID:5337


I found the solution of this error. I am using moss2010 there are two possibility for this kind of error

1>your code containing some logical error like you are fetching query string or something like that you need to first check is found or not

2>check your content type that, is your published content type default or sherepoint content type is default?

if you are facing no. 2 problem then make your published content type the default one and you can resolve the error.

How to disable Windows 7 right click close of winforms.?


How to disable Windows 7 right click close of winforms.?

When right click of the icon on the taskbar,shows close option to close the form.

How to disable it?


How to Disable Windows Authentication



I want to protect my sql server data with enduser including the End User with Administrative rights. I don't want to expose my sql server data to any one. It is published only through my front end application.

I have installed the Second Instance of SQL SERVER and I dumped my database into that Second Instance.  even from second instance of sql server also through Windows Authentication mode the client is able to connect to the database.

 We are able to stop connecting through SQL Authentication but not with Windows authentication because he may have admin rights

Disable word wrapping for tab titles when right aligned for Windows Forms C#


How do I disable word wrapping for tab titles when the tabs are right aligned? I'm using Windows Forms in C#.

I'm also using the following code for the text to appear horizontally instead of vertically:


private void tabControl2_DrawItem(Object sender, System.Windows.Forms.DrawItemEventArgs e)


            Graphics g = e.Graphics;

            Brush _textBrush;


            // Get the item from the collection.

            TabPage _tabPage = tabControl2.TabPages[e.Index];


            // Get the real bounds for the tab rectangle.

            Rectangle _tabBounds = tabControl2.GetTabRect(e.Index);            


            if (e.State == DrawItemState.Selected)



                // Draw a different background color, and don't paint a focus rectangle.


Problem with Graphics.DrawImage method in .Net on Windows 7 OS



We are displaying bitmap image on winform header in our dotnet application. It is displayed well on all windows operating systems. But, the same dotnet code if it runs on windows7, it does not display the image on the form. Can you please help me? Here is our code:


Dialogbase {


Rectangle captionRect = new Rectangle(0, 0, 0, 0);


Changing the graphics on the home page of a SharePoint site

When you create a site in Microsoft Windows SharePoint Services by using the default Team Site template, the home page includes two default graphics. A Windows SharePoint Services graphic appears in the body of the page, and a picture of a house in a circle appears near the site title. You can change these graphics to customize your site. Changing the smaller graphic requires a Windows SharePoint Services compatible Web page editor

Windows Service Applications Tutorials

You can easily create services by creating an application that is installed as a service. For example, suppose you want to monitor performance counter data and react to threshold values. You could write a Windows Service application that listens to the performance counter data, deploy the application, and begin collecting and analyzing data.

Serving Silverlight Apps from Windows Mobile

Even if mobile dev is not my every day work, thanks to the .Net Compact Framework, it's still .Net programming.

Here is the scenario:

You come back home, you have a windows mobile phone wifi capable and you want to quickly get access to your phone pictures from your home network.
You just activate the Wifi, run my app and then browse to the provided link from any computer on the network.

Getting Started with Windows SharePoint Services

Of all of the capabilities of SharePoint, I thought I would start with the most basic installation - as a corporate intranet. It is likely that we will need to discuss some of the elements of SharePoint as we go along, so this also gives us the opportunity to review these elements for future reference.

Before going into too much detail, I would like to point out that you can try the core SharePoint framework (known as Windows SharePoint Services or WSS) for free. On Microsoft's Web site you can download a trial version of Virtual PC 2004 (VPC). Using VPC, you can install the Windows 2003 Evaluation Kit and the WSS add-on. This combination will give you 45 days to evaluate the setup.

Building a Searchable Phone Directory with Windows SharePoint Services

I want to continue to build out the intranet site we've started in our previous articles. A standard item in every intranet is a staff/employee list. Most companies implementing Windows SharePoint Services (WSS) are large enough to have a database that contains all employees. We will use the aggregation features of SharePoint to include data from this database into our intranet.

Getting Started with Windows Communication Foundation

Windows Communication Foundation (WCF) provides a unified framework for rapidly building service-oriented applications that makes it easy to build and consume secure, reliable, and transacted Web services. It unifies the capabilities in ASMX, WSE, Remoting, COM+, and MSMQ; therefore developers need to learn only one programming model.

Application Architecture in Windows Forms 2.0

Applications have special support in Windows Forms. For starters, you can manage and tailor your application's lifetime, and, when the work flow is disrupted by an unhandled exception, you can choose from several methods of response. Then, there are several application models that you can employ, including Single Document Interface (SDI) and Multiple Document Interface (MDI) applications, each of which can support either multiple-instance or single-instance mode, the former the VS05 default and the latter requiring special consideration. All applications, however, can discover and use a wide variety of information about the system and environment they execute in.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend