Archive

Archive for March, 2009

VMWare Workstation: Set BIOS POST delay

March 18th, 2009 No comments

In VMWare Workstation if you need to configure the BIOS POST delay you have to edit the .vmx file as follows:

bios.bootDelay = "5000"

– adds an additional 5 second boot delay
OR:

bios.forceSetupOnce = "TRUE"

– forces the VM to enter the BIOS on the next start (this parameter will be automatically reset to FALSE).

Categories: VMWare Tags:

Creating a custom DLL in Visual Basic .NET

March 18th, 2009 No comments

One of the best programming practices is to use DLL (Dynamic Link Library) files to re-use your code and controls across your applications. In this tutorial I will show you how to create a sample DLL file in Visual Basic .NET Professional edition and attach it to a new application.

1)    Create a new project, select Windows Forms Control Library and name it MiniCalc

Read more…

Categories: Visual Basic Tags: , ,

Microsoft Office 2003 SP3 Security Issue

March 18th, 2009 No comments

When user tries to open a file he might get the following error

The reason for this error to occur is that Microsoft has increased the security level in Service Pack 3. To override the security it is necessary to make several modifications in registry to set exclusion paths. Here, I will add several keys as follows:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common

Create the following key:

OICEExemptions

After that create the following string values:

Location of OLK (Microsoft Outlook temporary directory) it’s required to go to command prompt and navigate to:

In English Windows Version:

CD %userprofile%\Local Settings\Temporary Internet Files\
DIR

In Italian Windows version:

CD %userprofile%\Impostazioni locali\Temporary Internet Files\
DIR

Examples Using the VMware Virtual Disk Manager

March 18th, 2009 No comments

From: VMWare KB

The following examples illustrate how to use the virtual disk manager. You run the virtual disk manager from a command prompt.

Creating a Virtual Disk
To create a new virtual disk, use a command like the following:

vmware-vdiskmanager -c -t 0 -s 40GB -a ide myDisk.vmdk

This creates a 40GB IDE virtual disk named myDisk.vmdk. The virtual disk is contained in a single .vmdk file. The disk space is not preallocated.

Converting a Virtual Disk

To convert a virtual disk from preallocated to growable, use a command like the following:

vmware-vdiskmanager -r sourceDisk.vmdk -t 0 targetDisk.vmdk

This converts the disk from its original preallocated type to a growable virtual disk consisting of a single virtual disk file. The virtual disk space is no longer preallocated, and the virtual disk manager reclaims some disk space in the virtual disk so it is only as large as the data contained within it.

Read more…

Categories: VMWare Tags: ,