codeface

Software.Design

CodeXpress Report Builder Chart Insertion and Pdf Preview

CodeXpress Report Builder is an application genarate PDF report with queried multiple pages and various types of data controls, include data chart.

Further Information: Codexpress Report Builder Main Site

This video shows how to insert a data chart and preview the pdf auto exported.

Improve Computer Resource Using Linux instead Vista

Everybody Knows Windows Vista uses more memory than it’s predecessor Windows XP.
Analyze that:

Starting Windows Vista with no application opened (just the initial ones):
Use of Memory about 900 Mbytes

If You have just 1.5 Gbytes on laptop (notebook) it’ll a hard work to
start your job’s applications (like VisualStudio, Photoshop, etc).

Back to Windows XP is not the perfect solution yet.
So, What We got to do?

Lately, I have learned “the ways of the Linux” and I can tell you that It’s a better Operational System today to end-users. You don’t need to be an Expert to use or configure it.

Think of it, the memory used by this system with Graphic Interface is about 200 Mbytes (yeah)

My Solution:
Install Linux (I’ve used Ubuntu)
Install Wine (to run application inside linux)
Install Windows XP on VirtualBox (to virtualize softwares with no compatibility with linux and wine)
Used of memory about 700Mbytes (Believe it, but depends of the quantity of memory you set to your virtualized Windows XP 400Mbytes that was great for me)

Download Borland Delphi 7 Personal

If You really like to develop softwares and don’t want to pay a expansive license of Borland Delphi Tool. You can use a free version called Delphi Personal with less components, but still useful.

Some Features:

  • Standard Components
  • Additional Components
  • Win32 Components (No Shell Treeview, etc)
  • System Components
  • Dialogs Components
  • Win 3.1 Components
  • Samples and ActveX Components

No Database, Report or Indi Components are available and You cannot install them If you have the “bpl” file.

I think, It’ll be a good start if You’re a novice or If you want your tools available on the Internet to get visibility.

So, wherever is you objective. Try It below:
Tip: Download these file and click on the second one to open it and extracted (use filzip)

Serial Number: http://www.codegear.com/downloads/free/delphi

How Microsoft Live Mesh Helps File Synchronization

Ok. I really like to stay connected with the existing technology, and I’ve tried to show some tools I’ve used to keep available my important documents everytime, everywhere.

So, Live Mesh is one of them.

What it is:
A Webpage You can download folders and files on-line and access everywhere
A Desktop Application You Can install and set Yours folders to Sync with that Webpage
Install it on many devices and You Sync folders and files automatically.
Share those folders with friends and work together on-line

Don’t waste Your time: www.mesh.com
You just need a Hotmail account to use it

Delphi Code to Restart Your Own Application

The user of your application needs do close and open it again everytime he/she set a particular configuration to make this change available.

So, with the code below You can give the possibility to your users a quick restart and improve the experience of your software.

Simple task:
Create a batch file with the filename of your application, execute it and close the opened one;

procedure RestartOwnApplication;
  function GetTmpDir: string;
  var
    pc: PChar;
  begin
    pc := StrAlloc(MAX_PATH + 1);
    GetTempPath(MAX_PATH, pc);
    Result := string(pc);
    StrDispose(pc);
  end;
  function GetTmpFileName(ext: string): string;
  var
    pc: PChar;
  begin
    pc := StrAlloc(MAX_PATH + 1);
    GetTempFileName(PChar(GetTmpDir), 'uis', 0, pc);
    Result := string(pc);
    Result := ChangeFileExt(Result, ext);
    StrDispose(pc);
  end;
var
  batchfile: TStringList;
  batchname: string;
begin
  batchname := GetTmpFileName('.bat');
  FileSetAttr(ParamStr(0), 0);
  batchfile := TStringList.Create; // We need to create a "bat" file
  with batchfile do
  begin
    try
      Add('"' + ParamStr(0) + '"'); // Insert Application Filename information into it
{You can add any dos command here if you want to customize the "bat" file}
      SaveToFile(batchname); //Save the "bat" file
      ChDir(GetTmpDir); //Get the path where the "bat" file was saved
      WinExec(PChar(batchname), SW_HIDE); //Execute the "bat" file
    finally
      batchfile.Free;
    end;
    Halt; //Close application
  end;
end;

Guide for File Server Resource Manager in Windows Server 2008

File Server Resource Manager enables system administrators to understand how storage is being used and to manage the use of their storage by generating storage reports, applying quotas to volumes and folders, and screening files on the server. This guide provides step-by-step walkthroughs for creating quotas, creating file screens, and scheduling storage reports.

Windows Home Server Remote Access

This Technical Brief provides an in-depth look at the features and functionality of Windows Home Server Remote Access.

Windows Home Server Media Sharing

This technical brief provides an in-depth look at the features and functionality of Windows® Home Server Media Sharing.

Win Server 2008 Network Policy Server (NPS) Operations Guide

The Network Policy Server Operations Guide provides information about how to administer NPS after it is installed and deployed. It also includes troubleshooting information for specific problems and scenarios.

Limit Rows in Interbase/Firebird SQL statement

I have wanted to use the TOP function of SQL Server to limit my rows result
and I finally found the SQL statement:

SELECT FIRST x [SKIP y] … [rest of query]

So, the FIRST function defines the limit of the rows of your query result
and SKIP opptionally function defines a quantity of rows You don’t want to show.

A good example: Google Search – Total of 20 results, Page 3.

                            SELECT FIRST 20 SKIP 40 ID, NAME from TABLE1

Thanks for http://scott.yang.id.au/2004/01/limit-in-select-statements-in-firebird/