abril 27, 2006

null?

li aqui http://www.sqlmag.com/Article/ArticleID/49294/sql_server_49294.html (Designing for Performance: Null or Not Null?) um artigo sobre a definição de campos nullable / not nullable numa base de dados.
qual é a vossa regra principal na definição dos camops?:
1. - null
2. - not null => null is evil!
3. - who cares?

eu confesso que sempre olhei para o null como uma imperfeição, uma coisa com a qual tenho que viver porque os meus gestores de projecto / utilizadores / etc. nunca conseguem dizer claramente "este campo tem que estar sempre preenchido."
por isso os campos das minhas tabelas são quase sempre not nullable. e normalmente prefiro introduzir um valor de controlo em vez de usar o valor null.
mas depois de ler este artigo já não estou tão seguro da minha opção. realmente entre usar uma solução standard (null) para indicar que desconhecemos um valor ou usar uma string vazia ou um número ou data específica qual é a melhor solução?

algumas citações.
"Unknown is real; you work with unknowns everyday. You should be able to store unknowns in your databases."
"null means that some value is unknown, missing, or irrelevant"
"Null was created for a purpose: to express the unknown condition, wich can be entirely valid, depending on the cursumstances. ANSI has clearly advocated the use of NULL instead of other mechanisms such as codes or empty strings when appropriate."

Publicado por vitorsilva às 10:24 AM | Comentários (0)

abril 18, 2006

sqldiff

Free Database Compare
Detecta diferenças na estrutura da base de dados (campos, tabelas, views, etc.)
No entanto não detecta diferenças no conteúdo de storedproc ou funções.
De qualquer forma é melhor do que o que eu actualmente tinha que era nada…

Publicado por vitorsilva às 03:56 PM | Comentários (0)

abril 07, 2006

autorun.inf

quem diria que querer abrir uma página web quando se insere um cd seria algo tão complicado.
normalmente um autorun.inf será algo deste género:
[autorun]
open=ficheiro.exe
icon=Filename.ico
mas se, em vez de ficheiro.exe quisermos algo como index.htm então as coisas ficam mais complicadas.
poderia eventualmente optar por
open=start index.htm
mas, para além de abrir um command prompt, e uma vez que este procedimento (autorun.inf) corre não só em windows mas em todos os sistemas operativos, teriamos que ter a certeza que start é um comando válido em todos esses s.o.
felizmente que existe outra alternativa (que encontrei aqui)
[autorun]
shellexecute=index.htm
que no entanto só está disponivel para versões do windows a partir do windows 2000.
o que vale é que no meu caso isso é suficiente.

Publicado por vitorsilva às 03:31 PM | Comentários (0)

inno setup link list

Ferramentas
Inno Setup
ScriptMaker
Inno Setup Form Designer
Inno Setup Script Includes

Suporte
Web interface to jrsoftware.org newsgroups
ISX KB - Inno Setup Extensions Knowledge Base

Exemplos
Sample script to install Crystal Report 8 runtime files
Setting Environment Variables
How to create a ODBC DSN
KB Article: How to create a drive map using the network connection dialog box
Install Visual Basic 6.0 Applications
Install Visual C++ Run-Time Files
Accessing network share programmatically
create a custom "BrowseForFolder" form
How to replace a line in a text file

Publicado por vitorsilva às 12:19 PM | Comentários (0)

about open source

"freedom is created by whatever makes you free
and if your a developer what makes you free is access to source code
if your the end user of software and not the developer what sets you free is a choice of wich software you can use
and that comes about through open formats implemented with open source"

Publicado por vitorsilva às 11:14 AM | Comentários (0)

alguma coisa está a mudar

apple bootcamp
lets you install and run the Windows XP operating system on your Mac
microsoft port 25 (ms + linux)
e depois ainda temos o java vs c#

Publicado por vitorsilva às 11:11 AM | Comentários (0)

abril 03, 2006

ferramentas blog e não só

cocomment

When you comment somewhere, coComment keeps a copy of your message
in one central place.

You can display all comments you wrote accross the blogosphere on your own blog.

BlogMap

BlogMap is a tiny-badge-sized map that shows your blog's location, like this one

 

SiteMeter

Site Meter is a free, fast, and easy way to add a web
counter to your web page. Not only does it display the number of
visitors to your web site, it also keeps statistics on the number of
visits each hour and each day.



Publicado por vitorsilva às 12:14 PM | Comentários (0)

CMS

.Net


Lamp
já é antigo mas vale a pena ler este artigo sobre virtudes e defeitos dos projectos cms open source
Making a Better Open Source CMS



Publicado por vitorsilva às 11:27 AM | Comentários (0)

março 31, 2006

Configuração IIS SMTP

HOW TO: Configure a Remote Domain for an IIS 5.0 SMTP Mail Relay Server in Windows 2000 http://support.microsoft.com/default.aspx?scid=kb;en-us;310336&sd=tech XCON: How to Configure the IIS SMTP Service to Relay SMTP Mail (IIS 4) http://support.microsoft.com/default.aspx?scid=kb;en-us;230235

Publicado por vitorsilva às 03:14 PM | Comentários (0)

março 29, 2006

Mashups

http://www.urinal.net/google_map.html
mapa com urinois dos states

http://developer.yahoo.com/maps/applications.html

http://www.programmableweb.com/api/NOAA

http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXML.htm

http://www.geonames.org/servlet/geonames?q=4460-205&srv=100

http://www.geonames.org/maps/google_41.6166667_-6.6666667.html

http://albumart.org/

http://worldtrip.tv/themap/gmap.php

the geography of seinfeld
http://www.stolasgeospatial.com/seinfeld.htm

Barcelona Apartments on Google Earth Map
http://www.barcelonapoint.com/en/apartments_google_map/

http://hobbiton.thisside.net/advmap.html

http://api.evdb.com/

Publicado por vitorsilva às 10:13 AM | Comentários (0)

Sharepoint vs DotNetNuke

http://weblogs.asp.net/bsimser/archive/2006/01/31/437023.aspx
DotNetNuke vs. SharePoint, the big showdown

Publicado por vitorsilva às 09:50 AM | Comentários (0)

março 20, 2006

Remote Scripting - Uma introdução

Publicado originalmente em 21-mai-2001

Comecei a fazer este artigo tendo como objectivo explicar como ter 2 combos ligadas entre si sem ter necessidade de actualizar a página de cada vez que se seleccionar uma opção (ver artigo de João Vieira "Uso de 2 Combos Ligadas Entre Si"). Como o remote scripting se trata de uma tecnologia que é um pouco complicada de utilizar sem perceber minimamente o que está a acontecer tive que dividir essa explicação em 2 artigos. Assim, neste irei explicar o que é o remote scripting e como o por a funcionar e no próximo irei então demonstrar como ligar 2 combos.
Tanto refresh para nada
O meu trabalho normalmente não é desenvolver sites, mas sim aplicações para intranets que são utilizadas exaustivamente durante um dia inteiro de trabalho por várias pessoas. Neste tipo de ambiente, onde a rapidez de introdução de dados é importantíssima, não podemos pensar em obrigar as pessoas a esperar por um refresh só porque em vez de utilizar a selecção por defeito quiseram/tiveram que seleccionar outra opção. Eu precisava portanto de ter um mecanismo que me permitisse actualizar o conteúdo de uma página sem que nesse processo o utilizador perdesse o controlo da aplicação. A solução apareceu já há algum tempo (a primeira vez que a vi e experimentei foi com o aparecimento do Visual InterDev 6.0) e chama-se remote scripting. De uma forma muito sucinta o que esta tecnologia permite é que uma página possa sem ter que ser recarregada executar uma função que está noutra página e devolver os resultados à página inicial. Como certamente perceberão esta facilidade de comunicar com outras páginas abre imensas possibilidades mas deixo isso para outro eventual artigo - entretanto recomendo que vejam os links que estão no fim desta página para outros sites que falam sobre este tema.
Como por a funcionar
Depois de fazer o download dos ficheiros necessários e correr esse executável irá ficar com um conjunto de três ficheiros, o rs.asp, rs.htm e rsproxy.class e duas pastas que aconselho vivamente a dar uma vista de olhos docs e samples.Nos vossos projectos só irão precisar dos três ficheiros que referi, ou seja para poderem começar a utilizar o remote scripting basta simplesmente copiar esses ficheiros para dentro do vosso site. Como se tratam de ficheiros ASP e HTML poderão obviamente customizar o código origem de forma a criar novas funcionalidades. Para além disso o remote scripting é uma tecnologia cross-plataform já que funciona quer em Netscape quer em IE.Uma das vantagens do remote scripting é que não obriga a que a página que o utilizador está a ver (que pode ser uma página HTML) tenha que ser recarregada quando queremos actualizar o seu conteúdo. Isto acontece porque nessa página vamos passar a incluir um applet (rsproxy.class) cuja função é receber os pedidos da página que estamos a ver e reencaminhar esse pedido para a página ASP que está no servidor. Para conseguirmos uma comunicação efectiva entre as páginas HTML e ASP temos ainda que incluir na página HTML uma referência a uma biblioteca de funções que está em rs.htm, e na página ASP uma referência a rs.asp.

Imagem retirada do artigo "Remote Scripting"

Exemplo página ASP




<%@ LANGUAGE=VBSCRIPT %>

 

<% RSDispatch %>

<!--#INCLUDE FILE="_ScriptLibrary/rs.asp"-->

 

<SCRIPT RUNAT=SERVER Language=javascript>

 

function Description()

{

this.calcularSoma= calcularSoma;

}

 

public_description = new Description();

 

function calcularSoma(a, b)

{

return (Number(a)+Number(b))

}

 

function enviarErro()

{

var erro=new Error(1,"mensagem de erro")

return erro

}

</SCRIPT>


Tal como tinha referido temos que incluir na nossa página ASP o ficheiro rs.asp. Ele pode estar localizado em qualquer parte do seu site, é preciso é ter em atenção qual o directório em que está para que o ficheiro seja realmente incluído na sua página.É necessário incluir a chamada a RSDispacth que é uma função que está definida em rs.asp e que procede quer à recepção dos pedidos por parte de outras páginas e sua tradução para as funções internas quer ao retorno dos resultados.A componente essencial será a definição de quais as funções que esta página irá disponibilizar. No exemplo que tenho em cima, embora a página tenha duas funções (enviarErro e calcularSoma) somente a função calcularSoma é acessível por outras páginas já que só esta está definida na função Description().

Exemplo página HTML



<HTML>

 

<HEAD>

 

<TITLE>Teste</TITLE>

 

<SCRIPT LANGUAGE="javascript">

function funcao1()

{

var aspObject = RSGetASPObject("remote.asp");

var a=aspObject.calcularSoma(1,2)

alert(a.return_value)

}

function funcao2()

{

var aspObject = RSGetASPObject("remote.asp");

var a=aspObject.enviarErro()

alert(a.data)

alert(a.return_value)

}

</SCRIPT>

</HEAD>

 

 

<BODY>

<script language="JavaScript" src="_ScriptLibrary/rs.htm"></script>

<script language="JavaScript">RSEnableRemoteScripting("_ScriptLibrary/");</script>


Na página HTML, para inicializar a ligação entre as duas páginas, é necessário incluir o ficheiro rs.htm. Se tiverem curiosidade e forem inspeccionar o interior desse ficheiro poderão ver que ele por sua vez chama o applet que tinha referido rsproxy.class.Depois é necessário chamar a função RSEnableRemoteScripting que recebe como parâmetro o directório onde está localizado o applet.A questão dos directórios, quer aqui quer no ficheiro ASP, é uma fonte de alguns problemas nos primeiros projectos já que normalmente esquecemo-nos ou enganamo-nos na path.E pronto está montada toda a estrutura para começar a utilizar o remote scripting. Parece um bocado complicado (eu também tentei esmiuçar ao máximo todos os pontos que poderão oferecer algumas dúvidas) mas, depois de utilizar uma ou duas vezes, esta parte deixa de oferecer qualquer problema.
Chamar funções remotas
Como se lembram temos um applet na nossa página que vai servir de intermediário entre a página HTML e a página ASP. A linha var aspObject = RSGetASPObject("remote.asp"); da função funcao1 não faz mais do que criar uma referência à página ASP que queremos utilizar como "fornecedora" de funções remotas. A partir daí podemos passar a chamar todas as funções que estão na página ASP através desse objecto (aspObject). Na linha var a=aspObject.calcularSoma(1,2) estamos a chamar a função calcularSoma(a,b) que estava na página ASP e a guardar o resultado dessa função numa outra variável (a)O resultado que aspObject retorna é uma simples string que contém XML. O facto de o resultado vir encapsulado em XML permite que strings, números e alguns objectos possam passar entre as páginas sem nenhum tipo de problema.Como já estarão a adivinhar para determinar o resultado basta aceder à propriedade return_value (a.return_value).No entanto em alguns casos é importante ter mais informação do que aquela que nos é fornecida por return_value, como por exemplo quando ocorre algum erro e portanto o resultado enviado é o objecto Error. Neste caso return_value iria entregar-nos algo como [Object] [object] o que não nos diz nada. Nestas alturas nada como recorrer à propriedade data (no nosso caso a.data) para tentar perceber o que aconteceu.
Outras possibilidades
Neste artigo pretendi dar a conhecer o básico do remote scripting. Se tiverem curiosidade e pesquisarem a documentação da Microsoft podem ver que há mais algumas coisas que se podem fazer (como chamadas assíncronas), bem como formas diferentes de fazer os exemplos que dei. Nos próximos artigos tentarei ir demonstrando mais algumas potencialidades desta tecnologia entretanto a minha sugestão é que experimentem o exemplo que apresentei neste artigo.
Newsgroups

microsoft.public.scripting.remote


Artigos


Putting Remote Scripting to Work 

Remote scripting using a servlet : How to give Web applications interactivity and dynamism that you'd expect from desktop apps 

Bridge the gap between client and server with remote scripting
Tecnologias relacionadas

RSO POST and Object Transfer Library
Bugs

Q284280 -INFO: Netscape 6 and Remote Scripting

HOWTO: Display Error Messages From the Server When Remote Scripting

PRB: The Data Property of a Remote Scripting Object Is Empty with IIS 5.0 Server

PRB: ASP 0234 Error "Server side include directives may not be present in script blocks" with PageObject DTC

Publicado por vitorsilva às 11:27 PM | Comentários (0)

março 17, 2006

Ning

http://www.ning.com/
Ning is the new free and easy way for you to create your own Social Web Apps - so let the fun begin!

suponham que precisam de uma web-app, por exemplo
- photosharing
- restaurant reviews
- etc...

mas nao querem estar a desenvolver nada de raiz.
pelo que percebi, registam-se no site, pedem para fazer uma copia dessa aplicação e podem começar a utilizar ou customizar.
parece interessante

Publicado por vitorsilva às 09:15 AM | Comentários (0)

março 06, 2006

NHibernate Tutorial

http://nhibernate.sourceforge.net/NHibernateEg/NHibernateEg.Tutorial1A.html
NHibernateEg.Tutorial1A

Publicado por vitorsilva às 10:34 AM | Comentários (0)

março 02, 2006

The 1995 SQL Reunion: People, Projects, and Politics

http://www.mcjones.org/System_R/SQL_Reunion_95/sqlr95.html

Publicado por vitorsilva às 12:03 PM | Comentários (3)

ODBC vs OLEDB

http://www.4guysfromrolla.com/webtech/063099-1.shtml
OLEDB For Me

http://www.sqlservercentral.com/columnists/hji/comparisonoforacledrivers.asp
Comparison of Oracle Drivers / OLE DB and ODBC: what is the difference

Publicado por vitorsilva às 11:06 AM | Comentários (4)

março 01, 2006

Windows Forms Object Data Binding

Windows Forms Object Data Binding in .NET 2.0

Windows Forms Data Binding and Objects

Tackle Complex Data Binding with Windows Forms 2.0

ADO.NET for the Object-Oriented Programmer - Part One

Object Binding Tips and Tricks

Rocky Lhotka - Principal Technology Evangelist for Magenic Technologies

Publicado por vitorsilva às 06:42 PM | Comentários (6)

fevereiro 22, 2006

Tools IIS

http://www.iistoolshed.com/tools.aspx

Publicado por vitorsilva às 03:37 PM | Comentários (6)

fevereiro 20, 2006

Outlook dev

http://www.outlookexchange.com/articles/ricardosilva/

Publicado por vitorsilva às 06:23 PM | Comentários (2)

MVC ASP

Model, View, Presenter with ASP.NET 2.0
http://mikemason.ca/2006/02/15/

Publicado por vitorsilva às 02:42 PM | Comentários (4)

fevereiro 16, 2006

Recursos Formação

http://www.santanadolivramento.com.br/cursos/2005vbnet/

Publicado por vitorsilva às 11:16 AM | Comentários (3)

Object vs Dataset

http://www.devx.com/codemag/Article/30468

Publicado por vitorsilva às 09:00 AM | Comentários (2)

fevereiro 14, 2006

vmware

How to Increase your VMware Hard Disk vmware-vdiskmanager.exe" -x 7GB "nome.vmdk" depois no diskmanager da vm criar uma nova partição com o espaço extra

Publicado por vitorsilva às 12:15 PM | Comentários (1)

VB + Outlook - recolha inicial

Office Solutions Development > Outlook Microsoft Outlook Development Technologies Office Developer Center > Outlook

Publicado por vitorsilva às 10:56 AM | Comentários (3)

fevereiro 13, 2006

inno setup

Durante a semana que passou estive a trabalhar com um installer chamado innosetup (http://www.jrsoftware.org/isinfo.php) usando o ide ScriptMaker (http://www.HiSoft2000.de/)
embora a introdução do xcopy deployment nos tenha facilitado imenso a vida no que diz respeito aos desenvolvimento de pacotes de instalação, quando queremos fazer coisas menos triviais como mapear drives ou criar datasources odbc a complexidade começa a aumentar.
não tenho a certeza se aquilo que fiz com o innosetup era impossivel de fazer num deployment project vstudio mas posso dizer que encontrei bastante informação e exemplos suficientes para conseguir fazer um setup que ainda há uma semana atrás me faria ganhar cabelos brancos só de pensar nele...

Requisitos

  • copiar ficheiros

  • mapear um drive

  • acrescentar dados ao ficheiro hosts e services

  • executar outra setup já existente

  • criar variaveis de ambiente

  • alterar path

  • criar datasource odbc

como disse utilizei o scriptmaker para criar o programa de instalação. embora com alguns senãos ao nivel do interface, permite uma compreensão muito rapida das funcionalidades e não nos obriga a aprender a linguagem (markups e opções) do innosetup.

Exemplos
* definir qual a lingua utiliza no setup
[Languages]
Name: "pt"; MessagesFile: "compiler:Languages\Portuguese.isl"

* utilização de código e funções internas
[Files]
Source: {code:GetLocalizacaoMultiIni|''}; DestDir: {app}\sist\multi.ini; Flags: External; Check: CopiarMultiIni('')

{code:GetLocalizacaoMultiIni|''} => permite chamar uma função definida no bloco [code], o | serve para definir diferentes parametros. nota: neste caso vai parametro '' já que sempre que definir funções sem parametros de entrada recebia um erro do compilador.
{app} => função interna que devolve a path para o directorio onde vai ser instalada a aplicação. outras funções interessantes {src}, {tmp}

* mapear um drive
para fazer coisas menos normais podemos usar uma linguagem de programação baseada em pascal. desta forma podemos por exemplo chamar dlls do windows como neste caso
Function WNetConnectionDialog(hWnd: Integer; dwType: INTEGER): INTEGER; External 'WNetConnectionDialog@mpr.dll stdcall';

* odbc
o mesmo se aplica para o odbc, podemos "simplesmente" chamar o dialogo que o windows implementa
Function SQLConfigDataSource(hwndParent: LONGINT; fRequest: LONGINT;lpszDriver: String; lpszAttributes: STRING): LONGINT; External 'SQLConfigDataSource@ODBCCP32.DLL stdcall';

* criar variaveis de ambiente
o truque aqui é que uma variavel de ambiente é uma misera entrada no registry
Root: HKCU; Subkey: Environment; ValueType: String; ValueName: DLC; ValueData: {code:GetPastaDestinoProgress|''}; Flags: UnInsDeleteValue

* criar ecrans para ler valores do utilizador
por exemplo perguntar onde estão ficheiros necessários para a instalação
aqui as coisas começam a complicar ligeiramente. para facilitar já existem algumas funções internas como TInputQueryWizardPage (que permite definir caixas de texto para input de valores), TInputDirWizardPage (que permite definir caixas de texto com um botão browse à frente para procurar um ficheiro), etc.
temos assim que primeiro definir uma variavel para essa pagina.
Page_PerguntarDadosTerminal: TInputQueryWizardPage;
criar os conteudos dessa pagina
Page_PerguntarDadosTerminal := CreateInputQueryPage(wpWelcome,
'Indique o nome do terminal', 'Nome do terminal. Este nome ficará guardado no ficheiro multi.ini',
'Para continuar, clique Next.');
Page_PerguntarDadosTerminal.Add('Nome do Terminal:', false);

e depois ler esses dados
NomeTerminal := Page_PerguntarDadosTerminal.Values[0];
temos acesso aos dados de uma pagina usando algum dos eventos predefinidos NextButtonClick, BackButtonClick

Publicado por vitorsilva às 06:32 PM | Comentários (3)

fevereiro 03, 2006

Thread UI

Threads compared with processes

WinForms UI Thread Invokes: An In-Depth Review of Invoke/BeginInvoke/InvokeRequred

Creating Events and Delegates in VB.NET

Delegate Tutorial

Calling Your Main Thread from a Worker Thread in VB.NET


Publicado por vitorsilva às 04:24 PM | Comentários (0)

javascript cheat sheet

http://www.ilovejackdaniels.com/article/javascript-cheat-sheet/

Publicado por vitorsilva às 11:27 AM | Comentários (1)

waterfall

uau afinal o que aprendemos na escola ainda se aplica...

http://www.waterfall2006.com/
"After years of being disparaged by some in the software development community, the waterfall process is back with a vengeance. You've always known a good waterfall-based process is the right way to develop software projects"

Publicado por vitorsilva às 09:47 AM | Comentários (0)

OLDER ADULTS AND THE INTERNET

http://www.humanfactors.com/downloads/jan06.asp

Percent of adults of a given age who use the Internet (US)
- age 46-55 -- 86%
- age 56-65 -- 75%
- age 66+ -- 41%

- Older adults use the Internet for news, shopping, entertainment, and to keep in touch with friends and family.
- Common myths are:
- older users cannot learn to use the Internet
- old people don't use computer
- elderly people are "technophobes"

These are indeed stereotypes and are not accurate.
- There are reasons, however, why some older users don't use computers even more:
- lack of motivation or reason to use the computer
- lack of experience with current technology
- cognitive differences and age-related declines
- lack of knowledge of how to use the Web
- no access to a computer
- no understanding of what to do with the Web

==> Make sure users are motivated to use the product you are designing.
==> Be sure you know, and are not just guessing, what their motivation is.

Publicado por vitorsilva às 08:50 AM | Comentários (0)

fevereiro 02, 2006

Programming Microsoft Outlook with Visual Studio .NET

http://www.microeye.com/resources/res_tech_vsnet.htm

Publicado por vitorsilva às 06:16 PM | Comentários (5)

janeiro 30, 2006

ajax

http://prototype.conio.net/
http://script.aculo.us/

Publicado por vitorsilva às 12:27 PM | Comentários (1)

janeiro 20, 2006

Doing Objects in VB.NET and C#

http://terrysmith.net/software/dotnet_ebook/index.html

Publicado por vitorsilva às 10:45 AM | Comentários (3)

janeiro 16, 2006

Pinhole

http://www.xs4all.nl/~wiskerke/html/diy.html
DIY for photography - links

Publicado por vitorsilva às 11:20 AM | Comentários (0)

janeiro 12, 2006

NHibernate e Winforms

http://forum.hibernate.org/viewtopic.php?t=951899
How to handle session in winforms?

http://forum.hibernate.org/viewtopic.php?t=952344&highlight=winform
Winform lazy loading with seperate data layer.

Publicado por vitorsilva às 02:48 PM | Comentários (3)

janeiro 10, 2006

C# Conversions - String To Enum Instance

http://www.cambiaresearch.com/cambia3/snippets/csharp/conversions/StringToEnumInstance.aspx

"How do I convert a string value of an Enum entry to a valid instance of the Enum?" (I answer this one below.)
"How can I get a valid Enum instance from its integer value." (Go here for the answer to that one.)

Publicado por vitorsilva às 06:07 PM | Comentários (5)

janeiro 09, 2006

The Piccolo-chat Archives

https://mailman.cs.umd.edu/pipermail/piccolo-chat/

Publicado por vitorsilva às 10:07 AM | Comentários (0)

janeiro 04, 2006

sql2005 express

http://www.databasejournal.com/features/mssql/article.php/3492296
Microsoft SQL Server Express 2005 (MSDE)

Publicado por vitorsilva às 03:57 PM | Comentários (1)

janeiro 03, 2006

IsNumeric vs TryParse

Which IsNumeric method should you use? Check this article out to find out!
http://aspalliance.com/80

Publicado por vitorsilva às 11:29 AM | Comentários (2)

janeiro 02, 2006

Creating Events and Delegates

http://www.informit.com/articles/printerfriendly.asp?p=23020&rl=1
Creating Events and Delegates in VB.NET

Publicado por vitorsilva às 10:59 PM | Comentários (2)

dezembro 30, 2005

MusicBrowser

definição

ferramentas + ideias

http://msdn.microsoft.com/coding4fun/xmlforfun/ITunesLib/default.aspx
Displaying Your iTunes Library

piccolo

Publicado por vitorsilva às 03:02 PM | Comentários (3)

dezembro 29, 2005

Martelada do Dia

http://www.thecodeproject.com/csharp/datagridsort.asp
Sorting DataGrid programmatically

a isto é que eu chamo uma martelada valente. invocar um método privado através de reflection...
também podia dizer que era muito pragmatico mas o mais provavel é que seja a problem waiting to happen... basta a ms alterar a definiação desse método.

Publicado por vitorsilva às 07:03 PM | Comentários (1)

bindable listview

A Bindable, Sortable, Autosizing ListView
Hibernate Querying 101 : tips and tricks
Hibernate Querying 102 : Criteria API

Publicado por vitorsilva às 06:58 PM | Comentários (0)

bindable listview

A Bindable, Sortable, Autosizing ListView
Hibernate Querying 101 : tips and tricks
Hibernate Querying 102 : Criteria API

Publicado por vitorsilva às 02:13 PM | Comentários (0)

dezembro 28, 2005

Force File Download

http://www.actionscript.org/forums/showthread.php3?s=&threadid=22107

http://support.microsoft.com/kb/q260519/
How To Raise a "File Download" Dialog Box for a Known MIME Type

http://aspfaq.com/show.asp?id=2161
How do I prompt a "Save As" dialog for an accepted mime type?

Publicado por vitorsilva às 12:16 AM | Comentários (4)

dezembro 26, 2005

programar depois dos 40

joelonsoftware
Most studies show that mental abilities continue to improve to at least 40 years old, if not later. You can see this in the chess masters. After 40, the effort required to beat the young pups does start to take its toll. In general however, after 40, then experience will let one coast, and run circles around the young pups coming up. The reason here is that we are talking about a product with no physical attributes. Hence, I don’t buy the age thing at all.
However, what I do buy is that things are a good deal more difficult today, then say 15 years ago. I used to know all of kinds of dbaseII/FoxPro developers back then (I was one too...but I also went to University and took computing science). It was real easy back then. Just design some files, and write some code. As soon as some server type software started being used, most of the dbaseX developers quit this profession, and moved on. In fact, a good many stopped when windows came along. Today for commercial applications you need to know sql,, sql-server, ADO record set objects etc etc. In other words, today you need to know *way* more, and have to master *way* more complicated technologies just to write software for a average business. In fact, you need to know more in general just to accomplish a simple task. Those dbaseII programmers did not have the ability, or did not want to make the effort to start learning new environments that were more complex. Fact is, that every 3, or 4 years you have to learn a new development environment. I guess some get comfortable with their current environment, and don’t have the desire to move on to the next environment. When that happens, it is time to leave.

Publicado por vitorsilva às 05:30 PM | Comentários (0)

html + css

http://positioniseverything.net/articles/onetruelayout/anyorder
Position is Everything

Publicado por vitorsilva às 11:07 AM | Comentários (1)

dezembro 16, 2005

The Open/Closed Principle

“Software entities (Classes, Modules, Functions, etc.) should be open for extension but closed for modification.”
http://www.objectmentor.com/resources/articles/ocp.pdf

heurístico
adj.,
relativo à heurística;
designativo do processo pedagógico que leva o aluno a descobrir a verdade, por si próprio

Publicado por vitorsilva às 07:04 PM | Comentários (0)

dezembro 13, 2005

Cross-process Communication

Cross-process Communication

Publicado por vitorsilva às 09:24 PM | Comentários (0)

UI Thread

Maintaining a Responsive UI
(inclui exemplo em vb.net)

Publicado por vitorsilva às 07:28 PM | Comentários (0)

dezembro 12, 2005

AndAlso

Why did we introduce AndAlso and OrElse?

Publicado por vitorsilva às 06:41 PM | Comentários (2)

Atributos

http://www.csharp-station.com/Tutorial.aspx c# tutorial http://www.ondotnet.com/pub/a/dotnet/excerpt/prog_csharp_ch18/ Programming C#: Attributes and Reflection

Publicado por vitorsilva às 12:26 PM | Comentários (5)

dezembro 08, 2005

Diversos SQL

Tips for Reducing SQL Server Deadlocks
Indexed Views in SQL Server 2000


Publicado por vitorsilva às 06:43 PM | Comentários (3)

Diversos .Net

Managing Offline Clients with the Smart Client Offline Application Block
PRB: "Mscoree.dll Could Not Be Found" Error Message When You Try to Run a .NET Executable File
PRB: "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the EventLog
INFO: Develop Microsoft Office solutions with Visual Studio .NET
Tailor Your DataGrid Apps Using Table Style and Custom Column Style Objects
How to avoid common mistakes when you create distributable run-time applications
How to print the content of a RichTextBox by using Microsoft Visual Basic .NET
Getting WYSIWYG Print Results from a .NET RichTextBox

Publicado por vitorsilva às 06:42 PM | Comentários (0)

Office Automation

INFO: Writing Automation Clients for Multiple Office Versions
How to obtain the window handle for an Office Automation server by using Visual Basic .NET
Office application does not quit after automation from Visual Studio .NET client
INFO: Troubleshooting Error 429 When Automating Office Applications
How to find and use Office object model documentation
PRB: GetObject or GetActiveObject Cannot Find a Running Office Application
PRB: Office 97 Automation Client Fails After Re-compilation with Office 2000 or Later Type Library
INFO: Use DISPID Binding to Automate Office Applications Whenever Possible
INFO: Using Early Binding and Late Binding in Automation
How To Use Visual Basic .NET for Binding for Office Automation Servers
Sample Code to Retrieve the Name of the Active Printer
Working with the Office XP Primary Interop Assemblies
Microsoft Office Development with Visual Studio

Publicado por vitorsilva às 06:40 PM | Comentários (0)

Excel Automation

Transfer dataset to an array and then write the dataset to an excel
How to transfer data to an Excel workbook by using Visual Basic .NET

Publicado por vitorsilva às 06:37 PM | Comentários (2)

Access Automation

How To Automate Microsoft Access From Visual Basic .NET
BUG: Error Message 2046 Calling OpenForm or OpenReport with Access Automation
ACC2000: Access 2000 Unexpectedly Quits When You Run Code to Open an Object
ACC: How to Use Automation to Print Microsoft Access Reports
ACC: Using Microsoft Access as an Automation Server
HOW TO: Print a Particular Instance of a Report in Access 2002
Difference Between Connection and AccessConnection Properties
How to bind Microsoft Access forms to ADO recordsets
MOD2000: Mlang.dll Is Unregistered When Access 2000 Run-Time Is Removed
Access 2000 Run-Time Minimum now available for download
MOD2000: Access 2000 Run-Time Component Is Significantly Larger Than Access 97 Run-Time Component
MOD2000: You Cannot Install an Access Run-Time Application on Terminal Server
ACC97: Differences Between Retail and Run-Time Microsoft Access
How to dynamically set the input parameters of a report at run time in an ADP
ACC2000: Error Message or Empty Field List in an Access Project with a Form or a Report Based on a Stored Procedure
ACC2000: Cannot Open Report in a Microsoft Access Project
How to programmatically change the connection of a Microsoft Access project
How To Use a SQL Server 7.0 Distributed Query with a Linked Server to Secured Access Databases
PRB: Need to Map to Default Admin Account and Use NULL for Password In Order to Query Linked Server to Access

Database

Publicado por vitorsilva às 06:37 PM | Comentários (0)

Word Automation

BUG: Starting Word Manually Uses Same Instance as Automation
How to automate Word from Visual Basic .NET to create a new document
INFO: ActivePrinter Property in Word Sets System Default Printer

Publicado por vitorsilva às 06:34 PM | Comentários (0)

webbrowser object

Trying to revoke a drop target that has not been registered with TWebBrowser
to print url/html file using IE browser
WD2000: Word Quits with Document in WebBrowser Control
How To Use the WebBrowser Control to Open an Office Document in Visual Basic .NET
How To Print Contents of the Web Browser Control From VB
INFO: Properties Not Applicable to the WebBrowser Control

Publicado por vitorsilva às 06:33 PM | Comentários (0)

dezembro 06, 2005

Hibernate

Hibernate 3 Formulas
Chapter 15. Mapping Examples
Object to Relational Mapping and Relationships with Hibernate
NHibernate - Part 2
NHibernate: set v.s.
 IList 
 IList 
 Iesi.Collections.Iset (from the Iesi.Collections.dll assembly in the \bin folder of the NH distribution) 
 IDictionary

Publicado por vitorsilva às 03:58 PM | Comentários (0)

novembro 28, 2005

SSW Rules to Better Windows Forms Applications

http://www.ssw.com.au/ssw/Standards/Rules/RulesToBetterWindowsForms.aspx#XPThemes

Publicado por vitorsilva às 06:23 PM | Comentários (0)

NUnit + AppSettings

http://weblogs.asp.net/psperanza/archive/2004/02/24/79596.aspx

Publicado por vitorsilva às 11:13 AM | Comentários (0)

novembro 24, 2005

OR Map compare

Choosing an object-relational mapping tool

Publicado por vitorsilva às 04:41 PM | Comentários (0)

sql server + xp sp2

How to configure Windows XP Service Pack 2 (SP2) for use with SQL Server

Publicado por vitorsilva às 08:48 AM | Comentários (3)

novembro 23, 2005

Introducing Client Application Deployment with

Introducing Client Application Deployment with "ClickOnce"

Building Smart Client using .NET

Capture all of the forms of a .net Desktop application

Reflection in .NET

How to: Implement a Plug-In Component Architecture using Reflection

Using Reflection.Assembly to Load Forms from a Table


Publicado por vitorsilva às 02:13 PM | Comentários (0)

novembro 22, 2005

nHibernate

NHibernate Presentation inclui exemplo com agregação

Publicado por vitorsilva às 06:07 PM | Comentários (0)

UI

Comparing the Timer Classes in the .NET Framework Class Library

Give Your .NET-based Application a Fast and Responsive UI with Multiple Threads

Publicado por vitorsilva às 02:52 PM | Comentários (4)

novembro 18, 2005

Runy on Rails

é realmente lindo!

Rolling with Ruby on Rails
Rolling with Ruby on Rails, Part 2
MVC: The Most Vexing Conundrum

Publicado por vitorsilva às 06:42 PM | Comentários (0)

Agile

"Rather than shrink from change, Agile organizations harness or embrace change by being better than
competitors at responding to changing conditions and by creating change that competitors can’t respond to
adequately. However, companies must determine what level of agility they require to remain competitive.
Agility is only an advantage relative to competitors—a copper mining company doesn’t need to be as agile
as a biotechnology firm"
Highsmith, J. 2002. Agile Software Development Ecosystems. Addison Wesley

Publicado por vitorsilva às 02:12 PM | Comentários (0)

Callback

.NET Delegates: Modern-Day Callback Methods

.NET Framework Developer's Guide - Asynchronous Design Pattern Overview

Publicado por vitorsilva às 12:33 PM | Comentários (0)

novembro 14, 2005

Fit: Framework for Integrated Test

Fit: Framework for Integrated Test

A beginners guide to Dependy Injection

Publicado por vitorsilva às 04:25 PM | Comentários (0)

novembro 10, 2005

Stored Proc vs Parameterized Queries... again...

The Trouble With Databases -You Must be This Tall to Ride

Publicado por vitorsilva às 03:45 PM | Comentários (0)

novembro 09, 2005

Installer

How To Register COM Objects in Visual Studio .NET

Publicado por vitorsilva às 03:21 PM | Comentários (0)

novembro 07, 2005

.Net Deployment

Deploying ASP.NET Applications - Part 1
Deploying ASP.NET Applications - Part 2
Using Visual Studio .NET to Redistribute the .NET Framework
Deploying Windows Applications with Visual Studio.NET, Part 2
Windows Applications with Visual Studio.NET, Part 1
Creating a Windows Installer Package
http://www.c-sharpcorner.com/Code/2003/April/SetupProjects.asp

Sams Teach Yourself Visual Studio .NET 2003 in 21 Days

Publicado por vitorsilva às 03:14 PM | Comentários (5)

outubro 27, 2005

notas moodle

confirmar permissões no iis => check permissions / inherit
veririfcar no php.ini => cgi.fix_pathinfo=1

Publicado por vitorsilva às 03:44 PM | Comentários (0)

outubro 26, 2005

call .net from vb6

Using the .NET Framework Class Library from VB6

NET and VB6 COM Interoperability Basics

Publicado por vitorsilva às 11:51 AM | Comentários (0)

C# vs VB.Net - performance

What are the advantages of C# over VB.NET and vice versa?
Both have access to the same framework libraries. Both will perform largely equivalently (with a few small differences which are unlikely to affect most people, assuming VB.NET is used with Option Strict on)

The .NET Language Paradigm
Now hitting on some touchy issues, many developers believe that VB.NET is slower then C#. That’s not entirely true. The only place I see VB.NET slower than C# is where developers use old-style functions like Len and Mid instead of calling reciprocal methods available within the .NET Framework library classes and as mentioned by Heath Stewart (see post below) using old syntax like FunctionName = ReturnValue.

What is this .NET all about ?
.NET framework comes with a single class library. And thats all programmers need to learn!! Whether they write the code in C# or VB.NET or J#, it doesn't matter, you just use the .NET class library. There is no classes specific to any language. There is nothing more you can do in a language, which you can't do in any other .NET language. You can write code in C# or VB.NET with the same number of lines of code, same performance and same efficiency, because eveyone uses same .NET class library.

Publicado por vitorsilva às 08:54 AM | Comentários (0)

outubro 13, 2005

windows vista icons

Windows Vista Guidelines
What is a Windows Vista icon?
High-resolution icons from Windows Vista
A Gooey GUI for Windows Vista
Windows Vista user interface guidelines
Your home for skins, wallpapers, themes, icons and everything you need to customize your PC

Publicado por vitorsilva às 02:41 PM | Comentários (0)

outubro 10, 2005

o fim do office? o da microsoft claro

Sun and Google shake hands

Sun Microsystems and Google announced a multiyear partnership on Tuesday to help spread and develop each other's software, a deal that includes OpenOffice.org, Java and OpenSolaris from Sun, and Google's Toolbar.

Publicado por vitorsilva às 06:50 PM | Comentários (0)

Diversos

Binding Business Objects to WinForms
Part I: Unifying Web and Windows Form design and layout
Patterns
Relatório Final de TRABALHO FINAL DE CURSO do Curso de LICENCIATURA EM ENGENHARIA INFORMÁTICA E DE COMPUTADORES (LEIC) - Ano Lectivo 2004 / 2005
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/highperfmanagedapps.asp

Publicado por vitorsilva às 06:46 PM | Comentários (3)

outubro 07, 2005

Smart Clients

Managing Offline Clients with the Smart Client Offline Application Block
Smart Client Application Model and the .NET Framework 1.1

Publicado por vitorsilva às 11:07 AM | Comentários (2)

outubro 06, 2005

SOA 101

J2EE vs .Net: The choice depends on your needs

Software object reuse has never really lived up to the hype. There are a lot of reasons, but one of the biggest is that objects live on platforms that change too quickly. When the platform changes, the objects written on that platform have to change too. Companies spend more time upgrading their toolbox of objects than reusing them.

Enter Web services -- the concept is to build an application, not as a monolithic system, but as an aggregation of smaller systems that form a community, not unlike the human body with organs or cells that specialize but work together toward a common purpose. In this model, you reuse entire systems, not just the objects that compose them. Because systems have a longer lifetime than any particular object model, you get more return on your investment.

Publicado por vitorsilva às 06:45 PM | Comentários (0)

User Interface Design for Programmers

User Interface Design for Programmers, By Joel Spolsky

Publicado por vitorsilva às 05:11 PM | Comentários (4)

outubro 04, 2005

Programming language

Programming language

Lectures in the History of Computing

Mother Tongues of Computer Languages

history of programming languages concepts

History of Programming Languages

A Brief History of Programming Languages

The History of Computer Programming Languages

Computer Languages Timeline

How Object-Oriented Programming Started

Functional Programming Languages

Why I am called "the Father of Visual Basic"

Publicado por vitorsilva às 05:57 PM | Comentários (6)

Paging Infragistics Webgrid

HOWTO:Handling paging events

HOWTO:How can I use custom paging to create a "First", "Prev", "Next", "Last" style pager?

Publicado por vitorsilva às 10:13 AM | Comentários (2)

What Is Web 2.0

What Is Web 2.0 - Design Patterns and Business Models for the Next Generation of Software

Publicado por vitorsilva às 08:58 AM | Comentários (5)

setembro 30, 2005

Color Schemer Online

Color Schemer Online
Enter an RGB or HEX value, or click on the Color Palette below

Publicado por vitorsilva às 05:40 PM | Comentários (0)

setembro 28, 2005

usability when use enter tab

Re: Keyboard navigation- outstanding issues

Keyboard navigation- outstanding issues

Usability Techniques - Notes on Moving from a Character Cell to GUI

More Form usability

The Why of the New UI (Part 1)

Publicado por vitorsilva às 08:16 PM | Comentários (0)

setembro 26, 2005

webbrowser control

WebBrowser Control Internet Development Index

HOW TO: Modify the AuthPersistence Metabase Entry Controls When Clients Are Authenticated

How To Use WebBrowser HEADERS Param in Navigate Method

How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser


Example code for embedding a web browser control

ASP.NET security overview

Re: WebBrowser doesn't pass cookies to popup!
I built a VB6.0 application which uses Microsoft's WebBrowser control. Whenever a Javascript window.open was called from a secure page, the new page opened an instance of IE on the client machine. This new browser would no longer have the Session state and variables stored of the WebBrowser's session. However, by having my app create a new VB form with its own WebBrowser control, the new WebBrowser could be set to open the new page and maintain session state.

How to use the WebBrowser control NewWindow2 event in Visual Basic .NET

Mastering Internet Explorer: Using the Web Browser Control

Publicado por vitorsilva às 02:59 PM | Comentários (0)

setembro 23, 2005

Clássico

Regular Expression Syntax

Publicado por vitorsilva às 02:12 PM | Comentários (0)

setembro 22, 2005

NHibernate 1.0-rc1

NHibernate 1.0-rc1 was released today, along with the same version of NHibernateContrib. What does this mean? We ported almost all of the features of Hibernate 2.1 and now we are going to stabilize NHibernate to make the 1.0 release. From this point on we will focus on fixing any remaining bugs in NHibernate and adding some small enhancements that will make NHibernate easier to use on .NET.
http://wiki.nhibernate.org/pages/viewpage.action?pageId=697

Publicado por vitorsilva às 08:59 AM | Comentários (0)

setembro 21, 2005

global vs local variable

Global Variables on a VB.NET Web Page

"...Microsoft, in its' wisdom, has made it easier for VB developers to migrate by automatically translating the "Dim" syntax, when used at class level, to "Private" without even telling you. As you can see, I'm not all that thrilled about it, as it doesn't help the VB developer to move forward, but instead makes it seem somewhat confusing. In other words, "Dim" is not meaningful at the class level. It isn't an accessibility modifier, but the compiler will fix it for you without you know what it is doing or why."

Publicado por vitorsilva às 10:37 AM | Comentários (2)

2h00 crystal

voltando a este post sobre o crystal reports, finalmente resolvi o problema.
o meu problema era que componentes crystal instalar num servidor de um cliente de forma a não o obrigar a comprar uma licença crystal. isto é possivel na medida em que as licenças são para desenvolvimento podendo os runtimes serem distribuidos como parte de uma instalação.
à partida seria só instalar o crystal server (client components) mas pelos vistos essa instalação não está completa exigindo a posterior instalação de um "merge module"

Crystal Reports Merge Modules
"Server Installation packages are used in the deployment of thin client web applications and provide the necessary runtime for Crystal Reports .NET applications and can be run directly on the server.
While you can use the merge modules to create a deployment package for the web it is recommended that you use the server install packages."

a dúvida que surgiu é que durante a instalação desse merge module, é pedido um product id, que não é o serial que vem com o cd do crystal mas sim o que aparece no visual studio em Help / About / Installed Products.

Publicado por vitorsilva às 09:26 AM | Comentários (0)

IIS virtual directory

já há muito que não tinha que andar a mexer em configurações do iis.
hoje tive que criar uma virtual directory... nada de excepcional. como diziam as instruções

criar alias : imag
Directory: caminho das imagens p.ex \\10.1.2.2\Multi\imag
User Name and Password (só tem este passo se as imagens estejam noutro servidor) p.ex U:Administrator e P:********
Access Permissions : deixar ficar as aoresentadas por defeito
Se ao seleccionar o nó imag agora criado, aceder à directoria especeficada, é pq tudo foi criado correctamente.

tudo muito acessivel não fosse o caso de eu conseguir aceder ao outro servidor sem precisar de password e o iis obrigar a por uma password... o que escrever? experimentamos logins conhecidos e nada... andamos um bocado às voltas até que chegamos a uma conclusão, não sei se é por estar a aceder a um servidor unix via samba ou se é assim para todos mas aqui fica:

NOTA: caso não haja username/password basta por um espaço na caixa do username

Publicado por vitorsilva às 09:18 AM | Comentários (5)

setembro 19, 2005

+crystal

Crystal Reports XI and Visual Studio.NET Application Deployment

Crystal Reports XI for Visual Studio .NET Server Install - English

Err Msg: 'Failed to load database information' in VS.NET application
The Crystal Reports for Visual Studio .NET merge modules install Msvcp60.dll into the 'C:\Program Files\Common Files\Crystal Decisions\2.0\bin\' folder. By placing the Msvcp60.dll into the Windows system path the issue is resolved.

Err Msg: "Failed to load database information" when using classic ADO recordset
To resolve this error message, copy the file Msvcp60.dll from the development computer to the System32 folder on the client computer.

Publicado por vitorsilva às 05:57 PM | Comentários (0)

setembro 17, 2005

Infragisitcs

FAQ: BC30009: Reference required to assembly 'Infragistics.WebUI.Shared' containing the implemented interface 'Infragistics.Shared.IUltraLicensedComponent'. Add one to your project.

Publicado por vitorsilva às 04:38 PM | Comentários (0)

setembro 13, 2005

Log4Net

Using Apache's log4net in ASP.NET
4 Tips for using Log4NET's ADONetAppender in ASP.NET
Using log4net

Publicado por vitorsilva às 10:47 AM | Comentários (0)

setembro 09, 2005

How do I setup Visual Studio .NET and Internet Explorer for client side debugging?

Solution
Perform the following steps to setup Visual Studio .NET (VS) and Internet Explorer (IE) for client side debugging:

  • In IE select Tools, Internet Options, Advanced, and turn OFF the option Disable Script Debugging so that it is unchecked.

  • Open the VS project that you wish to debug.

  • Press F5 to begin debugging.

  • Once the aspx page appears inside IE, switch back to the debugger.

  • Click on the Debug menu and select Windows, Running Documents From the list of displayed running documents, select and open the file containing the JavaScript you wish to debug.

  • In the JavaScript file go to the function(s) that you wish to debug and set breakpoints on them.

  • Switch back to the browser and perform actions that invoke the breakpoints. The debugger will break at the lines of code you have marked.

(Infragistics Help Collection)

Publicado por vitorsilva às 03:40 PM | Comentários (0)

setembro 08, 2005

Crystal Reports

como queria disponibilizar aspxs com acesso a objectos do crystal instalei o crystal server mas qualquer tentativa para imprimir ou exportar o relatório (que aparecia no browser) resultava num erro do tipo "Invalid export.dll" when exporting from a .NET application"

Err Msg: "Invalid export.dll" when exporting from a .NET application
Cannot print or export a report from Web Forms Viewer in Visual Studio .NET

entretanto um colega meu que tinha instalado tudo (server e client) não tinha problemas nehuns a imprimir/exportar reports via web. para além disso li em alguns posts que para fazer o deploy de aplicações web crystal era necessário uma versão actualizada.

decidi-em então a instalar o crystal e depois removê-lo.
et voilá, ao contrario do que esperariamos (ou não) o crystal deixa ficar uns restos que nos resolvem o problema.
afinal foi sol de pouca dura... mais ou menos uma hora para ser mais preciso... passado esse tempo voltou a dar o mesmo erro, resta-me instalar de novo o crystal client e quando tiver mais tempo procurar uma solução efectiva.

Err Msg: "Load Report Failed" when using an untyped report component in .NET

Binding Reports to Web Forms Viewers

Publicado por vitorsilva às 03:53 PM | Comentários (5)

setembro 06, 2005

crystal activex viewer

Can you use the ActiveX viewer in an ASP.NET web application?
No, the ActiveX viewer cannot be used in an ASP.NET web application.
The ActiveX viewer is only available for ASP applications because of a supporting file called Rptserver.asp. The Rrptserver.asp file acts as a "bridge" to communicate between the client-side ActiveX viewer with the server side engine. However, this "bridge" is not available for ASP.NET web applications.

Publicado por vitorsilva às 02:30 PM | Comentários (0)

setembro 01, 2005

postback

http://www.xefteri.com/articles/show.cfm?id=18
How postback works in ASP.NET

http://msdn2.microsoft.com/library/ms178207(en-us,vs.80).aspx
How to: Add Client Script Dynamically to ASP.NET Web Pages

http://www.syncfusion.com/FAQ/aspnet/WEB_c15c.aspx
client side scripting

Publicado por vitorsilva às 06:50 PM | Comentários (2)

Infragistics

http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=7386
HOWTO:How do I deploy an ASP.NET application for NetAdvantage 2005

Publicado por vitorsilva às 02:42 PM | Comentários (1)

agosto 29, 2005

Nant + asp.net

http://www.codeproject.com/dotnet/LittlePrettyAutomatic.asp
Some little utility tasks for NAnt

http://www.c-sharpcorner.com/Code/2004/April/XSlTransformerMG.asp
Transforming Visual Studio .NET Projects into NANT files using XSLT and .NET

Publicado por vitorsilva às 11:17 AM | Comentários (9)

agosto 26, 2005

OO Reference

The Object-Oriented Thought Process
Moving from Procedural to Object-Oriented Development
The Object-Oriented Thought Process
Thinking in Objects
Furthering the Object-Oriented Mindset
Exploring Encapsulation
Hiding Data within Object-Oriented Programming
Protecting Data through Object Oriented Programming
Putting an Object in a Safe State
The Components of a Class
The Evolution of Object-Oriented Languages
Object Responsibility
Object Construction
Inside Constructors
Encapsulation vs. Inheritance

Publicado por vitorsilva às 05:01 PM | Comentários (0)

Example Centric Programming

http://alarmingdevelopment.org/index.php?p=5

Compared to every other field of design and engineering, programming is an embarrassment and a failure. The "software crisis" has dogged us from almost the beginning. We who have made programming our life will no longer tolerate this.

Usability is the guiding light to rationally reinvent programming from scratch.

Publicado por vitorsilva às 03:49 PM | Comentários (4)

agosto 05, 2005

UML Products by Company

http://www.objectsbydesign.com/tools/umltools_byCompany.html

Publicado por vitorsilva às 06:47 PM

compile .net command prompt

Three easy methods for compiling your ASP.NET components
ASP.NET 2.0 Deployment Without Source Code
Pre-Compile ASPX pages in .NET 1.1

Publicado por vitorsilva às 05:15 PM

julho 27, 2005

UI

Evolving the UI
Back to Java, Introducing TFUI
Test First User Interfaces

Publicado por vitorsilva às 02:28 PM

Padrões

Publicado por vitorsilva às 11:20 AM

julho 26, 2005

extensibilidade

Designing an Extensible DAL
artigo interessante.
genericamente mostra o que temos que fazer para suportar 2 (ou n) tipos de acesso a dados.

LiveCode.NET
Compile C# code on-the-fly. Usage in a plug-in / plug-out component model.

Creating an Extensible User Interface with .NET, Part 1
An architecture for extending the User Interface of a program via plug-in components.

Publicado por vitorsilva às 06:55 PM

Easy UI Testing

Isolate Your UI Code Before It Invades Your Business Layer

Publicado por vitorsilva às 04:10 PM

julho 23, 2005

A low-level Look at the ASP.NET Architecture

A low-level Look at the ASP.NET Architecture

Publicado por vitorsilva às 08:46 AM

julho 18, 2005

asp.net intro

http://www.w3schools.com/aspnet/
http://www.learnasp.com/freebook/learn/
http://www.asp.net/Tutorials/quickstart.aspx

http://aspnet.4guysfromrolla.com/articles/040502-1.aspx
An Extensive Examination of the DataGrid Web Control: Part 1

Publicado por vitorsilva às 10:47 AM

julho 11, 2005

VB.NET and C# Comparison

This is a quick reference guide to highlight some key syntactical differences between VB.NETand C#.

Publicado por vitorsilva às 05:16 PM

gráficos

Piccolo.NET

A revolutionary way to create robust, full-featured graphical applications in Java and C#, with striking visual effects such as zooming, animation and multiple representations.
FreeBSD License

Publicado por vitorsilva às 11:40 AM

+links

XML-RPC / SOAP
XSL to map XMLRPC to SOAP
XML-RPC vs. SOAP
Build your own Web Service with PHP and XML-RPC
SOAP needs soap

WebServices
More advanced interoperability demo using NuSoap: consume a .NET web service

WinForms
Painting in the MDI Client Area - Find and respond to messages sent to the MDIClient area in .NET Forms.
Enumerating Windows - Find all Windows and their details using the EnumWindows calls
NET Outlook Style ListBar Control
An outlook styled sidebar control

Diversos
AbstractVB
Doing Objects in VB.NET and C#
How To Validate an XML Document by Using DTD, XDR, or XSD in Visual C# .NET
Using FreeTextBox with a database...

Sockets
Using Sockets in PHP
Writing Socket Servers in PHP

RFID
http://del.icio.us/rpiquepa/RFID
Rfid Buzz

Publicado por vitorsilva às 11:37 AM

julho 04, 2005

classico user interface

Pie Menu
pie menus
Why pie menus aren't ubiquitous?
Scrolling Pie Menus - mac os x implementation
Pie Menus on Mac OS X
Pie Menu Behaviour Test
JavaScript PieMenus
A very unconventional yet extremely efficient approach to context menus.
A Quiz Designed to Give You Fitts

+UI
GUI Research. is it still being done?
The Anti-Mac Interface

phisical devices
tangible media group - mit media lab
Phidgets are an easy to use set of building blocks for low cost sensing and control from your PC
Phidhets USA
coding4fun: some assembly required

Publicado por vitorsilva às 06:05 PM

julho 01, 2005

crystal reports

Publicado por vitorsilva às 03:22 PM

xmlrpc

Publicado por vitorsilva às 02:23 PM

junho 28, 2005

packet sniffer

TcpTrace

Publicado por vitorsilva às 11:32 AM

junho 09, 2005

nant

A Brief Introduction to NAnt
Open Source .NET Development: ASpell.NET Case Study
Transforming Visual Studio .NET Projects into NANT files using XSLT and .NET

http://iceglue.com/tranqy/deliciousnet.txt

Publicado por vitorsilva às 04:25 PM

VS.NET Deployment Project Version Updater

http://www.codeproject.com/dotnet/VersionVDProj.asp
A command line ulitity that updates the version and GUID of VS.NET deployment project files.

Publicado por vitorsilva às 12:11 PM

junho 07, 2005

DotMSN

http://www.xihsolutions.net/dotmsn/index.html
DotMSN is an open-source stand-alone class library to provide connectivity with the MSN Messenger service. The library is built in C# and can therefore be used by all languages the .NET environment supports. Because of a clean natural Object-Oriented approach the library is easy to use and implement. DotMSN is designed to be a flexible, robust and lightweight enhancement to any application. Applications of DotMSN vary from creating messaging robots to creating custom clients. If your application needs to communicate through the messenger service, DotMSN is your tool.

Publicado por vitorsilva às 11:30 AM

junho 06, 2005

outros links

http://www.alphaworks.ibm.com/webservices
http://msdn.microsoft.com/msdnmag/issues/05/06/UnitTesting/default.aspx
http://www.testdriven.com/modules/news/

Publicado por vitorsilva às 08:48 AM

junho 03, 2005

georeferenciação em portugal

http://www.infoportugal.pt/ => o maior produtor de conteúdos georeferenciados em Portugal (dizem no site deles)
Fazem produção de dados e desenvolvem software para exploração desses dados (essencialmente web e movel)
Tipos de dados
uma coisa que eu não sabia é que há uma diferença entre simples dados cartográficos e dados cartográficos para navegação.
Tipo de informação
2 tipos de dados. Só a indicação de um ponto de interesse (local + nome) ou informação mais detalhada com descrição e imagens.
Licenciamento dos dados
Depende se são em formato aberto ou encriptado
Produtos já desenvolvidos
http://www.mapadventure.com.pt/
http://www.cityhelp-pda.com/

Publicado por vitorsilva às 12:08 PM

junho 02, 2005

pda/gps

====================
Blog
====================
http://wirelessdev.weblogsinc.com/
the wireless development weblog

====================
Desenvolvimento
====================
http://www.gpsdotnet.com
Unlimited redistribution for unlimited applications - No royalties
1 Developer License $153.00
1 Subscription License $219.99
--------------------------------------
gps toolkit.net
http://www.scientificcomponent.com/gps_toolkit_net.htm
Allows you to playback NMEA 0183 log files in various speeds, including real-time playback.
Can be redistributed to your customers royalty-free as part of your application
250$
não suporta pocket pc
--------------------------------------
GpsGate
http://franson.com/

====================
Aplicações
====================
Destinator 3 Iberia para Pocket PC €160,65EUR
http://www.destinatoreurope.com/en/index.php?id=030402
destinator europe sdk
--------------------------------------
http://www.directions.ltd.uk/moreinfo.php?id=1080
InfoMap Navigator 4.3 Plus Europe - DVD
embedded points of interest (POI)

====================
Mapas
====================
Digital map material for navigation is presently offered by two leading market providers: NAVTEQ and Tele Atlas
http://www.esri-portugal.pt/homepage/homepage_entry.aspx

====================
Review
====================
http://www.the-gadgeteer.com/destinator-proclip-review.html
Gadgeteer Hands On Review : Destinator Personal Navigation System for Pocket PC (Installed in Vehicle with ProClip System)

====================
Info
====================
While NMEA-0183 is now accepted as a common industry protocol for GPS data, there are features in GPS devices which cannot be used without switching to data protocols other than NMEA. For example, waypoint, route and track log information within Garmin® GPS devices can only be accessed via the Garmin binary protocol.

====================
georeferencia portugal
====================
http://www.itinerarium.net/Default.aspx
http://www.igeoe.pt/geoesig/geoesig.asp

====================
outro