Welcome to Bangladesh Microsoft Technology Community Sign in | Join | Help

December 2006 - Posts

WinForms UI Thread Invokes

WinForms UI Thread Invokes: An In-Depth Review of Invoke/BeginInvoke/InvokeRequredA very good readhttp://weblogs.asp.net/justin_rogers/articles/1263... Marshalling the execution of your code onto the UI thread in the Windows Forms environment is critical
posted by Shahed | 0 Comments

SmartCodeGenerator DBSchemaProvider Snapshot

The Database Schema Explorer of SmartCodeGenerator has the following Classes to support your needs to browse through  Database Schemas. public class ColumnSchema : DataObjectBase { // Methods public ColumnSchema(TableSchema table,
posted by Shahed | 0 Comments

Database Schema Provider for SmartCodeGenerator

Last couple of days I was busy writing the DBSchemaProvider for SmartCodeGenerator. I have kept the provider signature very similiar to CodeSmiths SchemaExplorer. As a result the current SchemaProviders that available for CodeSmith can be incorporated
posted by Shahed | 0 Comments

SmartCodeGenerator CTP2.1 with UI features for enum, stringcollection and mandatorystring.

SmartCodegenerator CTP 2.1 includes 3 new UIProperties and now supports enum, StringCollection and ScMandatoryString.You will notice the following additional nodes in the PropertyAndPropertyMaps.xml file. <PropertyTypeAndUIPropertyMap>  <PropertyType>ScEnum</PropertyType> 
posted by Shahed | 0 Comments

Set Enum Value with reflection .Net1.1 and .Net2.0

While trying to set value for enum via Reflection I discovered .Net2.0 is much smarter in setting values.In .Net2.0 the following works: Int32 property = int.Parse("20");if (propertyInfo.CanWrite){   this.propertyInfo.SetValue(ParentPage.TheProperties,
posted by Shahed | 0 Comments

How to Get Enum Values with Reflection in C#

This came up when I was writing a UIProperty for SmartCodeGenerator, The combo box should display all the available enum options in a DropDownList for the enduser to choose from them.So if someone defines a enum like this:public enum MyEnum{ 
posted by Shahed | 0 Comments

Asp.Net Regular Expression API

This link describes the regular expression class that parses asp.nethttp://msdn.microsoft.com/library/default.asp?url=... Regular Expression Classes AspCodeRegex Class Provides a regular expression to parse an ASP.NET code block. AspExprRegex Class
posted by Shahed | 0 Comments

Asp.Net Regular Expression API

This link describes the regular expression class that parses asp.nethttp://msdn.microsoft.com/library/default.asp?url=...
posted by Shahed | 0 Comments

SmartCodeGenerator for Vb.Net Developers

Good News for the Vb.Net developers.I recently added VSTemplate for VBVSTemplate: SCGCTP2.0vstemplateVbDotnet2 So you can start writing templates in Vb.Net as well.To work with Visualstudio2005TemplatesVb ==========================================Copy
posted by Shahed | 0 Comments

Introducing new UIProperty in SmartCodeGenerator

The current downloads upto CTP2.0 ships with only 4 UIProperty for the .Net types (int, string, boolean and ScSqlTablesProperty) but it is very easy to introduce your own UIProperty for any .Net Types. Lets jump into writing one:UIProperty:
posted by Shahed | 0 Comments

SmartCodeGenerator CTP2.0 released with .Net1.1 and .Net2.0 support.

I am glad to inform the release of SmartCodeGenerator CTP 2.0 in both .Net1.1 and .Net2.0. As a result Templates can be generated both in VS2003 and VS2005. Please download from Codeplex:http://www.codeplex.com/Release/ProjectReleases.as...Change Notes:1.
posted by Shahed | 0 Comments