quinta-feira, 23 de agosto de 2007

Rem Objects and Dbx Driver with Delphi 2007

I'm testing Rem Objects with Delphi 2007.
I've founded a litle problem when trying to connect to a database using the dbx driver of rem objects, the error was "DLL/Shared Library Name not Set", to solve that litle problem you just have to recompile the file DADBXDrv.dpr that is located on RemObjects Software\Data Abstract for Delphi\Source\Drives and after that you have to copy and replace the file DADBXDrv.dad that was created at the folder RemObjects Software\Data Abstract for Delphi\Bin to the folder RemObjects Software\Data Abstract (Common)\Bin

Now you can use the wizard and connect to a db using the DBX drive and everthing will work fine.

Thanks to Evgeny Karpov that helps to solve this litle problem.

And thanks to everybody,
Regards,
Diego M. Garcia

Rem Objects e Dbx Driver no Delphi 2007

Bom estou testando o Rem Objects com o Delphi 2007.
Encontrei um pequeno problema ao tentar estabelecer uma conexão utilizando o drive do rem objects para dbx o erro era "DLL/Shared Library Name not Set" para resolver esse pequeno problema basta recompilar o arquivo DADBXDrv.dpr que fica na pasta RemObjects Software\Data Abstract for Delphi\Source\Drives e após ter feito isso copiar e substituir o arquivo DADBXDrv.dad que será gerado na pasta RemObjects Software\Data Abstract for Delphi\Bin para a pasta RemObjects Software\Data Abstract (Common)\Bin

Pronto tente agora utilizar o wizard e realizar a conexão utilizando o drive DBX e estará tudo ok.

Grande abraço para o Evgeny Karpov que ajudou a solucionar este pequeno problema e um grande abraço a todos.

Até a próxima pessoal.

Diego M. Garcia

quinta-feira, 26 de julho de 2007

Testes começarão com Rem Objects Data Abstract

I ai galera,
Fui altorizado a postar artigos sobre o remobjects data abstract, então nos próximos dias estarei postando artigos sobre como utiliza-lo.

Bom primeiro gostaria de agradecer Marc Hoffman e toda a equipe da Rem Objects por tornar isto possivel, primeiro por terem criado este framework e por terem me ajuda com muitas coisas ;)

Então fiquem antenados, pois nos proximos dias vocês muitas noticias no blog.

Abraço,
Diego M. Garcia

Rem Objects Data Abstract - The tests will begin

Hi guys,
I've been authorized to post articles about the remobjects data abstract framework, and in the next days I will start posting some articles on how to use it.

First of all I need to Thanks Marc Hoffman and all the Team of Rem Objects to make it possible, by mading the framework and by help me with a lote of things ;)

So keep tunned, the next days will have a lote of news about it in this blog.

Regards,
Diego M. Garcia.

domingo, 1 de julho de 2007

Using the TTrayIcon component

Hello guys, how do you do ?

I've found a litle time today to post an litle article about the ttrayicon component that came with Delphi.

There are some samples that you can found it on the web, but all those I've have seen has a litle problem when you minimize and restore your app. The problem is that it stays two titles of your application on the start menu bar.

So lets do the job.

On onClick event of your TTrayIcon put the follow code:

Self.Show; //comment this line if your D2007 doesnt have update 1
application.Restore;

Drop an TApplicationEvents on your form and put the follow code on OnMinimize event of your TApplicationEvents component.

triPrincipal.Visible := True; //triPrincipal is the TTrayIcon component
Application.Minimize;
Self.Hide;

On OnRestore event write the follow:

//Self.Show; //uncomment this line if your D2007 doesnt have update 1
application.BringToFront;
triPrincipal.Visible := False; //triPrincipal is the TTrayIcon component

Now your application will appear on windows tray without problems.

I hope you guys liked ;)

Regards,
Diego M. Garcia.