quarta-feira, setembro 28, 2005

Learn ASP.NET

Whether you are new to development or a programming veteran, we have taken some of the best ASP.NET learning materials and compiled them to help you learn ASP.NET quickly. Please select the link that best matches your current programming experience and you’ll find online training, sample code, free online books, and a number of other resources to help you learn ASP.NET.

MSDN

SQL Server 2005 New Features for Developers Virtual Workshop Session 1

SQL Server 2005 New Features for Developers Virtual Workshop Session 1

Virtual workshop brings the classroom to your desktop. You can now take courses from the convenience of your office or home, saving valuable travel time and expenses, while obtaining the benefits from live, instructor-led training!

Virtual workshops enable Hands-On learning Labs over the Internet by creating a virtual lab environment using Microsoft® LiveMeeting® running on Microsoft Virtual PC®, and replicated as many times as required on Microsoft Virtual Server®. To attend a virtual workshop, students require a phone line, a connection to the Internet, and the ability to download and run LLIFT and LiveMeeting (see system requirements for details). At the appointed time, all students and the instructor log in for the class. The instructor can view and control each virtual machine and, if desired, can also conduct private phone sessions with individual students. Virtual workshops enable the economical delivery of hands-on instructor-led training programs to remotely dispersed students.


Microsoft.com

quarta-feira, setembro 21, 2005

Visual Studio Team System on Tour Now!

Visual Studio Team System on Tour Now!
======================================
Agora a sua equipa de software pode colaborar mais eficazmente com uma grande inovação da Microsoft: Visual Studio Team System, uma plataforma de ferramentas do ciclo de vida do software que expande significativamente a linha de produtos Visual Studio. Descubra como pode reduzir a complexidade de fornecer soluções modernas e orientadas a serviços, aumentando a qualidade e previsibilidade dos projectos.

Esta apresentação ao vivo dá-lhe uma oportunidade única de beneficiar da informação em primeira-mão sobre este tema, bem como de partilhar e discutir as suas questões e experiências com peritos nesta área.

Informações Gerais sobre o Evento
=================================
Produtos: .NET Framework e Visual Studio.

Destinatários Recomendados: Arquitecto, Decisor Tecnológico, Profissional de TI e Programador.

Link para a página de registo do Evento Microsoft

terça-feira, setembro 13, 2005

Roadshow MS SqlServer 2005

Aumente a Capacidade de Gestão dos Seus Dados Empresariais

Benefícios Por Participar Neste Evento
- Sessões com conteúdos técnicos sobre o SQL Server 2005
- Entendimento das funcionalidades e tecnologias para a criação de um ambiente de bases de dados altamente disponível e escalável
- Como tirar partido das capacidades de Business Intelligence incluídas na nova versão para uma recolha e análise de dados rápida, eficiente e ao alcance de qualquer utilizador
- Conhecimento dos procedimentos de migração para SQL Server 2005

Quem Deve Participar
- Administradores de base de dados
- Administradores de sistemas
- Programadores
- Arquitectos de bases de dados e business intelligence
- Responsáveis por projectos de migração de base de dados

Link do evento na Microsoft

quarta-feira, setembro 07, 2005

WebServices - How to sort alfabetic the webmethods list

Look for file:
- C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\DefaultWsdlHelpGenerator.aspx

Look for line:
Hashtable methodsTable = new Hashtable();

Change to:
//Hashtable methodsTable = new Hashtable();
SortedList methodsTable = new SortedList();

And that's it. Your WebMethods List is sorted Alphabetic.

terça-feira, agosto 30, 2005

Format datetime variable type

.NET Framework Developer's Guide

Custom DateTime Format Strings
You can exercise greater control over how a DateTime object is formatted by using custom DateTime format specifiers to create your own custom DateTime format string. Combine one or more custom format specifiers to construct a DateTime formatting pattern that yields the output you prefer. In fact, most of the standard DateTime format specifiers are aliases for formatting patterns specified in the currently applicable DateTimeFormatInfo Class.

My Example:

// PPI: I need to format date like this "01/12 - 12:05", but (/) was replaced
// with (-) so I invented an formula :D
dteCreditDate.ToString("dd_MM - hh:mm").Replace("_", "/")



http://msdn.microsoft.com

http://www.experts-exchange.com

ASCII Table references

ASCII stands for American Standard Code for Information Interchange. Computers can only understand numbers, so an ASCII code is the numerical representation of a character such as 'a' or '@' or an action of some sort. ASCII was developed a long time ago and now the non-printing characters are rarely used for their original purpose. Below is the ASCII character table and this includes descriptions of the first 32 non-printing characters. ASCII was actually designed for use with teletypes and so the descriptions are somewhat obscure. If someone says they want your CV however in ASCII format, all this means is they want 'plain' text with no formatting such as tabs, bold or underscoring - the raw format that any computer can understand. This is usually so they can easily import the file into their own applications without issues. Notepad.exe creates ASCII text, or in MS Word you can save a file as 'text only'

http://www.lookuptables.com/

VB.NET Array usage

The following code shows how to declare an array in VB .NET. The value 10 gives the upper bound for the array. The lower bound is always 0 so this array contains 11 elements numbered 0 through 10.


Dim values(10) As Integer
As in VB 6, you can declare an array without bounds it. Later you can use ReDim to give it a size.
Dim values() As Integer
...
ReDim Preserve values(5)

Declare multi-dimensional arrays by separating the dimensions with commas.
Dim values1(9, 9) As Integer ' A 100 element array.
Dim values2(,) As Integer ' No bounds yet.
ReDim values2(9, 9) ' Give it bounds.

If you declare an array without bounds, you can initialize it during the declaration. Put the array items inside parentheses, separated with commas. The system automatically figures out what dimensions to use.

' An array with three values,
' indexes 0 through 2.
Dim values() As Integer = {1, 2, 3}

To initialize an array of objects, use the object constructors inside the value vector.
Dim primary_colors() As Pen = { _
New Pen(Color.Red), _
New Pen(Color.Green), _
New Pen(Color.Blue) _
}

For multi-dimensional arrays, put values for an array of one fewer dimensions inside more parentheses and separated by commas.
' A 2-D array with six values,
' indexes (0, 0) through (1, 2).
Dim values(,) As Integer = { _
{1, 2, 3}, _
{4, 5, 6}}

' A 3-D array with 12 values,
' indexes (0, 0, 0) through (1, 1, 2).
Dim values(,) As Integer = { _
{{1, 2, 3}, _
{4, 5, 6}}, _
{{7, 8, 9}, _
{10, 11, 12}} _
}

http://www.vb-helper.com

sexta-feira, agosto 12, 2005

Security Clinics & Labs

Security Clinics & Labs

Learn on your own schedule.
At your own pace.
In your own office.

Our free Microsoft® Security E-Learning Clinics follow the same content outline as our Security Webcasts, but deliver that information via a learner-centered format that offers unique user benefits. With an E-Learning Clinic, you can access the security topic you want, when you want it, and learn at your own pace. Each lesson can be paused, and all security topics are indexed for fast and easy repeat use. So sign on today for an E-Learning Clinic, and get free information that can help you better protect your organization against security threats.

In addition to E-Learning clinics, we also offer free Microsoft Official Hands-On Labs Online where you can perform security-related procedures in a safe, networked environment powered by Microsoft Virtual Server technology. Hands-On labs let you see for yourself how to implement the security best practices discussed in the clinics.

Microsoft Security Hands-On Labs are also offered for free at participating Certified Partners for Learning Solutions. For these and other security training options, please visit the Security Program Guide.


https://www.microsoftelearning.com/security/

Using the New Visual Studio 2005 Report Controls

Using the New Visual Studio 2005 Report Controls

Want to add rich data reports to your Windows applications? Brian Welcker shows how the new report controls in Visual Studio 2005 make it easy to embed managed server reports or build and embed local reports into your Windows Forms application.

"http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20050616SQLServerBW/manifest.xml

terça-feira, junho 07, 2005

LDAP - User Validation

Public Function ValidateLDAPLogin(ByVal strUsername As String, ByVal strPassword As String, ByVal strLDAPServerIP As String) As String
Dim entry As New DirectoryEntry("LDAP://" & strLDAPServerIP & "/rootDSE", strUsername, strPassword, AuthenticationTypes.Secure)
Try
Dim strName As String = entry.Name ' PPI: This is one simple try, if failed, User isn't
Return ConfigurationSettings.AppSettings("strResponseOK")
Catch ex As System.Runtime.InteropServices.COMException
Return ex.Message
End Try
End Function

segunda-feira, abril 11, 2005

CodeSmith - New Version (Code AutoCreator - DB and App)

A CodeSmith 3.0 public beta is now available for testing. This is a major new version of CodeSmith and includes a lot a great new features. Your help in testing this build and providing feedback is very much appreciated.

Here is a summary of what's new:
- Completely re-written parser/compiler which is faster and correctly reports line numbers from the template instead of from the compiled template source. This results in a much nicer debugging experience.
- XML support - There is now an XmlProperty directive that makes working with XML MUCH easier. This directive will give you a strongly typed object model to work with if you provide an XSD schema or it will give you an XmlDocument instance if you don't. This feature combined with the new IntelliSense feature make working with XML a breeze.
- IntelliSense in CodeSmith Studio.
- Template caching.
- New Register directive that makes working with sub-templates much nicer.
- Console client has been improved to include a batch mode, setting properties from the command line, and the ability to use any merge strategy.
- Merge strategies have been overhauled to be more extensible and can be setup to work with any language.
- New PreserveRegions merge strategy has been introduced.
- DbDocumenter templates have been overhauled to be a best-practices sample for 3.0.
- Indented output rendering.
- IPropertySerializer interface can be implemented to allow for serialization of custom property types.
- New PreRender and PostRender methods that can be overridden in your templates.
- Ability to auto-execute SQL scripts after generating them.
- Ability to render to more than one TextWriter at a time.
- SQL 2005 compatibility.
- Tons of other minor improvements and bug fixes.

Installer: http://www.codesmithtools.com/download/codesmith30beta3.exe

Zip: http://www.codesmithtools.com/download/codesmith30beta3.zip

Beta Forum: http://www.ericjsmith.net/codesmith/forum/default.aspx?f=18

Thanks,
Eric J. Smith
CodeSmith Tools

quinta-feira, abril 07, 2005

Working with GUID in vb.net

Dim defaultLang As Guid

strGuid = "CF7EAB76-DC16-46BB-A44D-A301C5BA6319"

defaultLang = New Guid("{" & strGuid & "}")