BARRY GROUP

Unique Group with Maximum Entertainments.

 

About Us

 

Suggestions

   

Windows Tips

Permanently delete files
If you want to permanently delete files without moving them to Recycle bin, hold down the Shift key while pressing delete. If you don't want the recycle bin altogether, right-click the Recycle Bin and click on Properties. On the Global Tab, select Do not move files to the Recycle Bin. If you enable configure drivers independently, you can set this up for the drivers you want.

Windows System Configuration
A very useful tool included with Windows is the System Configuration Utility. Select Start > Run and type 'msconfig' in the Open box to launch the application. The system Configuration utility makes fiddling with programs to launch at Startup or editing autoexec.bat, config.sys etc. a lot easier. To system Configuration Utility also allows you to crease a backup of your system files. It would be a good idea to use this before you begin making changed.

Preview Images
You can easily preview your Image files by enabling "Web View" from the toolbar or from the Windows Explorer menu, select View > As Web page. A better way to preview images is as thumbnails instead of icons. To enable this view in Windows Explorer, right-click the folder you want to preview and click on Properties. Check the box against Enable thumbnail view and click OK to exit the dialog box. Now, form the View menu, select Thumbnails.

Optimizing the Swap File
Windows uses a portion of the hard disk as RAM, constantly swapping data between RAM and hard disk as required. The speed of your hard disk is in the order of 1000 times slower than that of your main memory. Inefficient use of the swap file could considerable slow down your system to a very great extent. One of the best ways to speed up the swap file usage is to create a permanent swap file. In a permanent swap file, the file used for swapping information has a fixed size and location on your hard disk. When a temporary swap file is used, the location and size of the file is determined by application being used and is not predictable. Also, since a temporary swap file is constantly written to and is not fixed in size, it would be highly fragmented across the partition that holds it. A better option is to create the swap file on a dedicated partition on your hard disk. By doing this, the swap file will never be fragmented since that partition is only being utilized by the swap file itself. You can configure the swap file size and location from Control Panel > System > Performance > Virtual Memory. The size of the swap file should be around 2.5 times the amount of RAM on the system.

Dummy entries in Add/Remove Programs list
Sometimes, even after program are uninstalled, or due to the files being deleted instead of a uninstalled, the entry in the Add/Remove Programs list does not get deleted. To remove it form the list: 1. Start the Registry Editor. 2. Open HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows \CurrentVersion\Uninstall. 3. Delete the program entry here. You can also use TweakUI to do this.

Restart only Windows
When restarting Windows, you don't always need to go to thought the BIOS initialization and POST. Instead of simple clicking on Restart form the Shut Down Windows dialog box, help down the Shift key as you click on OK. This will restart only Windows. This is particularly useful when you change some registry entries or a few system settings.

Improve Removable Disk Drive Performance
Windows gives you the option to use write-behind caching to improve the performance of removable disk drivers.

  • Open control Panel > System > Performance and click on File System.
  • Check the Enable write-behind caching on all removable disk drives check box under the removable Disk tab and click OK

Note: If this result in a problem with disk operations, uncheck the Enable write-behind caching on all removable disk drives check box.

MS Office memory hoggers
A typical installation of MS Office installs Find Fast, an indexing utility that loads at startup. This hogs system resources by regularly indexing the entire hard disk(s). You can improve performance of your computer by removing Find Fast form your Startup folder. To reclaim the space used by the Find Fast index, open Control Panel > Find Fast, select your hard drives(s) and form the Index menu, click on Delete Index. When you've deleted your Index, click on Close and Stop form the Index menu. Another item installed in the Startup folder is named Microsoft Office. This does nothing apart from loading all MS Office libraries at startup to speed up launching of any Office applications. Since this is not necessary, you can delete this shortcut, too.

Stop Automatic Dialing
Many Internet applications or software are often set to automatically dialup and connect. To setup automatic dialing, open Control Panel > Internet Options. Under the Connections tab, enable Never dial a connection.

Automatic maintenance
The Windows Maintenance Wizard can automate a lot of routine system maintenance tasks. To open this wizard, choose Start > Programs > Accessories > System Tools > Maintenance Wizard. It sets up the Task Scheduler to regularly run Scandisk, Disk Defragmenter and Disk Cleanup.

Clean Desktop
To hide all the icons on your Desktop, open the Registry Editor and navigate to HKEY_CURRENT_USER\Software\Microsoft \Current Version\Policies\Explorer. Add a DWORD value and name it NoDesktop. Change it's value to 1. Close the Registry Editor and restart Windows.

ToolTips
To disable ToolTips in Windows, open the Registry Editor and navigate to HKEY_USERS\.DEFAULT\Control Panel\Desktop. Double-click UserPreferencemask and change its value to 3E 00 00 00. Chose the Registry Editor and restart Windows.

Speed up your modem
Even if your modem if apparently working well, the baud rate of your COM Port might not allow you to reach top-speed. To improve your port's speed:

  • Click Start >Settings > Control Panel > System.
  • Click the Device Manager tab, and click on the "+" sign next to Ports (COM & LPT).
  • Select the port your modem uses, click Properties, then click the Port settings tab and set the Bits per second to 115200 bps. That way you won't have a sort of filter on the Port.

Associations in a jiffy
To associate files of a certain type with a different program, hold down the Shift key while right-clicking on a file of that type and click on Open With... from the context menu. Select the program you want to open files of this type with and enable Always use this program to open this type of file. Henceforth, the file will always open with this program when double-clicked.

A clean Registry
As time passes the computer's registry accumulates a lot of corrupted, unused, and unnecessary register keys, especially if keys are not removed when you uninstall a program. As a result, you might experience problems and your machine might function slower than expected. The latest version of Microsoft's RegClean could delete a lot of such registry junk. You can download this from zdnet Just search for RegClean and it will let you download it. Best of all, it is free !!

Assigning passwords to folders in win 98 and 2000
Right-click on empty space in the folder which you want to protect and
select CUSTOMIZE THIS FOLDER, then choose CREATE HTML DOCUMENT FOR THIS
FOLDER. Once the document is opened in Notepad, scroll down until you see
<script language>="JavaScript"> Insert a blank line after this string.
Then insert the following text.

var pass = prompt("Enter the password")
if(pass != "YOURPASSWORD")
{window.location="C:"}
Hit the Enter key on your keyboard

Put a password in the place of YOURPASSWORD but leave the quotes. Save the
document, exit Notepad,
refresh the folder (or hit F5), enter your new password, and the next time
you try to enter that folder,
you'll be prompted for your password. If you enter a wrong password you'll
end up in C: drive!

This works on Windows 98 and 2000.
 

Trace the route
A great utility included with Windows is a program called Trace Route. Open a DOS window and type tracert <location name>. The location name can be any IP address or Internet domain like tracert http://www.ansari4u.com. The program will then trace the route from your Internet service provider to that locating, and show you every server along the way. This could be useful for when you can't connect to a site it will show you if some server is down along the way.

Select your Monitor
Windows might not always detect your Monitor accurately. This affects display and refresh rates. To select your monitor manually:

  • Right-click on the Desktop.
  • Choose Properties from the context menu. On the Settings tab press Advanced button. Select the Monitor tab. If your monitor is not listed (correctly) here, click on Change.
  • Select your Monitor form the list, or if you have a driver disk for your monitor, select have Disk.
  • Click Apply, and follow any other instructions on screen.

Redialing
Dial-Up Networking provides for automatic redial.

  • Open Dial-Up networking.
  • Select your connection.
  • From the menu select Connections > Settings.
  • Enable, Redial, select the number of times to redial and click OK.

A clean Run!
To remove unwanted items form the Run menu:

  • Start the Registry Editor.
  • Open HKEY_CURRENT_USER\Software\ Microsoft\Windows\CurrentVersion\Explorer\RunMRU.
  • Delete the entries that you do not want on Run menu.
  • Close the Registry Editor and Restart Windows. Note: Do not delete the (Default) or MRUList values.
     

Bitmap as icons
You can preview bitmaps (.BMP files) as icons in Explorer instead of the default icon of the application it is associated with. Open the Registry Editor and navigate to HKEY_ CLASSES_ROOT\Paint.Picture\DefaultIcon. Double-click the Default string and change it's value to '%1' (without quotes). Close the Registry Editor and restart windows.

Window and menu Animations
One of the desktop enhancements built into windows is the animation displayed when you minimize and maximize windows or when displaying menus. Disabling this makes navigating Windows a lot faster. Open the Desktop Properties dialog by right-clicking any blank area of the desktop and clicking on Properties. Disable Animate windows, menus and lists form the Effects tab.

Smooth Screen Fonts
You may find that the fonts in your Internet Explorer and other windows seem jagged as you increase the font size. To make them smooth and thus, beautiful.

  • Right-click anywhere on the free space of the Desktop and click properties
  • Select the Effects tab from the Display Properties
  • In the Visual effects frame, enable Smooth edges of screen fonts

Change the Refresh rate of your Graphics Adapter
Refresh rate of your monitor determines how fast the screen if updated. Generally, the higher refresh rate monitor can support, the better. Optimum refresh rates can be set manually for a flicker-free display. If Windows hasn't already configured it. Right-click on the Desktop, click on Properties and open Settings > Advanced > Adapter. Depending on your graphics card and monitor, you will get different choice for the refresh rate. Click on Apply after setting the appropriate refresh rate. Click through the warning message to change the refresh rate. If, for some reason the display becomes garbled, don't do anything, Windows will restore the original refresh rate.

Speed-up your connecting time
To speed-up the time it takes for Dial Up Networking to establish a connection with your ISP:

  • Open Dial-Up Networking.
  • Right-click your connection and choose Properties.
  • On the server types tab, under Advanced Options, make sure that the check-box for Log on to network is unchecked.
  • Under Allowed network protocols select only TCP/IP and uncheck NetBEUI & IPX/SPX

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 file
Picture1.Picture = LoadPicture("C:\test.wmf")

' Save meta picture to bitmap file
SavePicture Picture1.Image, "C:\test.bmp"
End Sub

Break an RGB color value into its components in Visual Basic Use :

r = color And &HFF&
g = (color And &HFF00&) \ &H100&
b = (color And &HFF0000) \ &H10000

There are some system colors that have funny values like &H8000000F&. Unfortunately they don't work this way. You can use the GetSysColor API function to find these color values. Use And to mask off the leftmost digit. Then use GetSysColor to see get the color value.
Public Declare Function GetSysColor Lib "user32" Alias "GetSysColor" _
(ByVal nIndex As Long) As Long

If color And &H80000000 Then color = GetSysColor(color And &HFFFFFF)

One final case occurs if you use Point to get the color of a pixel that does not exist. For example, on a form with ScaleMode = vbPixels, Point(-100, -100) returns -1 because there is no
pixel at (-100, -100)
.

The following subroutine breaks a color into its components. If the color is -1, the routine leaves r, g, and b unchanged. Depending on your application, you may want to set them to default values such as 0 or 255.
 

Public Declare Function GetSysColor Lib "user32" Alias "GetSysColor" _
(ByVal nIndex As Long) As Long

' Break a color into its components.
Private Sub BreakColor(ByVal color As Long, ByRef r As Long, ByRef g As Long, _
ByRef b As Long)
If color = &HFFFFFFFF Then Exit Sub

If color And &H80000000 Then _
color = GetSysColor(color And &HFFFFFF)

r = color And &HFF&
g = (color And &HFF00&) \ &H100&
b = (color And &HFF0000) \ &H10000
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

About NotePad in the compiled file will appear A b o u t N o t e P a d with an space between each word. Before modifying the file, make a back-up of it. If you want to modify the file, first you have to open it using the MS-DOS Text Editor and open the file as Binary. Then activate the Insert key and search for some text data in the program. But, it isn't as easy as said. You have to search it manually, 'coz the words are separated by a space between. Then replace each word for anyone you want. Example:

N o t e P a d to M y P r o g r
BE CAREFUL: The file must weight the same than the original; if not, it could not work.
[Even then the file may not work. For example, it might calculate its checksum and notice that you have made changes. This is certainly a dangerous technique. So at least make a backup copy of the file before you mess with it.

Installing Registry Entries
Here'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.

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!

Understanding Error Handlers
When you use On Error GoTo and an error occurs, VB enters exception mode. The line you GoTo is supposed to be the beginning of an error handler. If an error occurs within an error handler, the program stops. What you need to do is leave the error handler and resume normal execution. Then you can use On Error to establish a new error handler for the next error. You do this with the Resume statement. See the help for details. In this case, you can use Resume LineLabel to make the program continue execution at a specific line.

Unfortunately, executing Resume from outside an error handler generates an error. Thus you cannot place the error handler in the flow of code the way you have. You need to jump out to the error handler and jump back with Resume.

Below is a subroutine that demonstrates two error handler.

Private Sub Command1_Click()
Dim i As Integer

On Error GoTo Error1
i = 1 / 0 ' Divide by zero.
Error1Resume:
On Error GoTo Error2
i = 1000000 ' Too big--overflow.
Error2Resume:
MsgBox "Finishing."
' Do not fall through into the error handlers!
Exit Sub

Error1:
' Resume ends error handler mode.
MsgBox "First error handler."
Resume Error1Resume
Error2:
' Resume ends error handler mode.
MsgBox "Second error handler."
Resume Error2Resume
End Sub

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

 

Home Page                              MAIL US: Just Click                   CELL # +92-321-4428578

  Thanks 2 Visit us.