Saturday, February 14, 2009

Computer Tips & Tricks! [Pg.3]

Installing Registry

EntriesHere's an easy way to set registry entries when you install a program. First, create the entries manually on your computer. Put them in their own subtree if possible. Use the registry editor to export the subtree containing the entries. This will creates a .REG file. Include this in the list of files given to the Package and Deployment Wizard. The Wizard will automatically offer to run the registry file on the target system during installation and that installs the registry values.

Stop your modem from frequently disconnecting
On the Desk Top Double click on the icon "My Computer"
Double click on Dial Up Networking
Right click on the Satyam Online icon (or the dialer that you are using) and select Properties on the menu, click on configure
Click on the Connection Tab and click on Advanced, in Extra Settings, type ats10=250


Load Outlook Faster

If you're tired of waiting the Outlook Express to start up, there's a way to make it faster. Open the RegEdit and navigate to the next path:
HKEY_CURRENT_USER\Identities\[nr of id]\Software\Microsoft\Outlook Express\[vers]Then create a new DWORD value called NoSplash, and assign the value 1. Remember to take a backup of the Registry before doing this! For more information on how to backup your registry,

Convert WMF Files Into BMP Files in Visual Basic

Create a new project, add a form, then put a picture box and a command button into it. Add block of code into command button click event.
Private Sub Command1_Click() ' Load meta picture filePicture1.Picture = LoadPicture("C:\test.wmf")
' Save meta picture to bitmap fileSavePicture Picture1.Image, "C:\test.bmp" End Sub

How to Hack an EXE File

Could you edit an executable file when it has been compiled? Yes, you could. But you could only change the String data. How? Using the MS-DOS Text Editor. The String data is text, but in the file will appear different. For example, if in the application appears

Learn ASCII Code in Visual Basic immediate window

Ever want to know what the chr number is for a character? Open the immediate window by pressing (CTRL+G) and type ?Asc("") and press enter. The result will appear right before your very eyes.
Example: the number for a double quote?Asc("""") would come as 34

Using ADO in Access 2000

To use a Microsoft Access 2000 database and ADO you have to add the correct references in your Visual Basic project. To add the references to your Visual Basic project follow the instruction's below.
Open a project.

From the Project menu, click References.

From the list, select Microsoft ActiveX Data Objects 2.1 Library.

From the list, select Microsoft ADO Ext. 2.1 for DDL and Security.

From the list, select Microsoft Jet and Replication Objects 2.1 Library.

Click OK.

This should let you now use an Access 2000 database with an ADODC control. However Data form Wizard will still face problems!

No comments:

Post a Comment