Last time Stan Lippman did not consider the visibility of types and nondeterministic finalization in writing his TQL wrapper code. This month he rewrites the code.
Stanley B. Lippman
MSDN Magazine August 2006
View Complete Post
Managing resources in C++ is not easy. When you're unsuccessful, your app can leak all kinds of resources including file system handles, database connections, and, of course, memory. Even in garbage-collected languages like Managed C++, resource management is difficult because garbage collection only deals with memory management, not the other resources that cause performance problems.In this article, the author describes the SmartAny template library he created, which uses a policy-based approach to dynamic resource management. Readers will learn how to use the SmartAny classes and policies to ensure the proper cleanup of their resources, be they files, OS handles, or native and unmanaged objects.
MSDN Magazine June 2003
I have some resource files for localization and would like to print them. When I try to print them in Visual Studio (with File -> Print...) the button is disabled. Does anyone know how to print them? (Without copying each into word or excel)
Thanks and regards,Chris
I am using Validation application block in my project and want to set validation message from resource file, but not able to do that. I tried giving the path of resource file in messageTemplateResourceType and name of resource in messageTemplateResourceName. But it did not help as I only receive the message if I have set something in messageTemplate even after setting the resource file.
Here is my code:
<validator lowerBound="1" lowerBoundType="Inclusive" upperBound="250" upperBoundType="Inclusive" negated="false" messageTemplate="" messageTemplateResourceName="PerilTypeAndDetailsSection.VMEnterWhere" messageTemplateResourceType="Asurion.jCare.Common.Resources.UIResources.PerilTypeAndDetailsSection, Asurion.jCare.Common.Resources, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null" tag="" type="Microsoft.Practices.EnterpriseLibrary.Validation.Validators.StringLengthValidator, Microsoft.Practices.Enterpris
hey guy, i need help in a very troubling matter. I want to make a textbox with a specific style, within this style a set of images as background parts, how can i attach these images to the custom control as whenever i take the .dll file and add it to the toolbar the images do not appear. So i tried to make them as resource files and their property as embedded in .resx file, so how to make the css style background image url to be linked to any of those image.
thanks in advance
I have Resource file...
I am using following code for Display Lable Text...
and I want to use that name for page title...
so I used "me.page.resources.resource.NAME" in code behind page.
but I want to use that NAME in
Steps I have followed are1.I have created myres.en-GB.resx file at C:.2.then created locale specific myres.en-GB.resources using resgen at c: only,resgen c:\myres.en-GB.resx 3.Linked the Resource File to Assembly using AL.exe which is giving me assembly at c: only.Al /t:lib /embed:myres.en-GB.resources /out:ClassLibrary1.dll4.I have created one web application using vs 2008 & then build it.5.Then placed both resource file & dll in web applications Bin\en-GB folder.6.Anf finally written code at page load like CultureInfo info = new CultureInfo("en-GB"); Thread.CurrentThread.CurrentCulture = info; Assembly asd = Assembly.Load("ClassLibrary1"); ResourceManager res = new ResourceManager("myres.en-GB", asd.GetSatelliteAssembly(info)); string sdf = res.GetString("Lab1");
but after running application I m getting following errorMissingManifestResourceException", "Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Cla
I have translated Text Ok in arabic and I have that placed in global Navig.resx file
Visual Studio 2010 includes new resource contention profiling features that help detect concurrency contention among threads. We walk through a profiling investigation to demonstrate how you can pinpoint and fix resource contention problems in your code.
MSDN Magazine June 2010
Now that you've identified technical debt in your code base, let's turn our attention to some specific tactics that will help you pay back that debt.
MSDN Magazine January 2010
Every codebase contains some measure of technical debt - code that is maddeningly hard to test and maintain. We outline some ideas for identifying and dealing with the high-interest debt in your code.
MSDN Magazine December 2009
This month begins the design of the actual mouse class for EEK!
MSDN Magazine December 2007
This column crafts an XML document to hold the mouse environment simulation data and shows how to incorporate an XML file into the program using a DataSet.
MSDN Magazine October 2007
Stanley B. Lippman explores the use of C++/CLI as a pure Microsoft .NET Framework-compliant language.
MSDN Magazine August 2007
Stanley Lippman begins a look at using C++/CLI as a purely .NET-compliant language.
MSDN Magazine June 2007
In this installment, Stanley Lippman continues to port his ISO-C++ Text Query Language application to the Microsoft .NET Framework and C++/CLI.
MSDN Magazine April 2007
This month Stanley Lippman begins translating the Text Query Language Query class hierarchy from C++ to the .NET Common Type System.
MSDN Magazine February 2007
Stanley Lippman moves Text Query Language to the Microsoft .NET Framework using the C++/CLI language extensions in Visual C++ 2005.
MSDN Magazine December 2006