quarta-feira, julho 30, 2008

Definindo XP como Padrão em um Dual-Boot com Vista

When you install Windows Vista as a dual-boot with your regular Windows XP partition, Vista is always set as the default OS. If you want to set XP as the default OS instead, there's a quick command you can run to change it back.

First you'll have to open an administrator command prompt. Type cmd into the search box, and then hit Ctrl+Shift + Enter to open it in administrator mode. You should be prompted for the UAC dialog.

Enter in the following command:

bcdedit /default {ntldr}

Example:

C:\Windows\system32>bcdedit /default {ntldr}
The operation completed successfully.

Now when you reboot, it will set XP as the default.

quinta-feira, julho 24, 2008

Acessando VMware Virtual Machine(NAT) Por Um Outro Computador

Se você está executando uma máquina virtual no seu computador, você pode querer acessar esta máquina virtual através de um outro computador. Por exemplo: Digamos que você tenha uma máquina virtual Ubuntu com Apache executando na porta 80, e você quer mostrar para outra pessoa em sua rede o acesso para o website que você está hospedando.

Nós estamos assumindo que a máquina virtual está usando NAT, e tem sido associado um endereço IP de 192.168.23.128.

Primeiro abra o Manage Virtual Networks pelo item do menu iniciar:

Clique na aba NAT, e então clique em Edit. Você verá o diálogo NAT Settings:

Clique no botão Port Forwarding, e você irá ver o diálogo:

Agora estamos finalmente na tela que podemos usar. Nós queremos usar a porta 8080 na máquina host. Entramos o endereço ip da máquina virtual ubuntu, e porta 80. Estas portas poderão ser qualquer uma.

Nós poderemos testar ela indo em http://localhost:8080 no computador hospedeiro. Também podemos trocar a url da máquina hospedeira pelo endereço IP da mesma.

quinta-feira, setembro 21, 2006

Delphi Update for Delphi 2006

1. There is a new DbCommonTypes unit, hosting some of the internal data structures that in the past were duplicated in multiple units. Their direct usage is not very common, so you'll seldom have to add this unit to your uses statements.

2. The ClientDataSet component has a new Boolean property, Ranged, indicating whether a range is active or not.

3. The TDataSet class has a new CopyFields method that takes another dataset as parameter and clones its field definition structure.

4. The data type had been changed from TButtonSet to TNavButtonSet

quinta-feira, setembro 30, 2004

My presentation

Hello I am Leandro, knowed by Java-lee man. This is my first text. So I starting by publishing my photo below.



Do you like?

I live in Brazil, on city of Brasília-DF. I have 30 old age. I working with computation, and have more than 10 year of experience.