VB.NET Programs With Output

Share:

ASP.NET Programs With Output

1. Cookies.
                     1.1 Switch Menu.

2. Asp.net with Java Script.
                     2.1 Age finder application.

                     2.2 Get Input/Use Input.

                     2.3 Visual Feedback (Background color)

3.Web Pages with Data Grid.

                     3.1 Spliting of pages in datagrid

                     3.2 Edit Database through Data Grid

                     3.3 Data List and Data Grid

                     3.4 User Confirmation before deleting items

4.Images in database.
                     4.1 Display images in the data grid

5.Send Email via SMTP.

6.Internet Connection Checker.

7. Server Management
                     7.1 Session based server management

                     7.2 Commercial web server

8. Web Services
                     8.1 Denial of service attacks

9.GDI & Graphics
                     9.1 Drawing Line Chart

10.ASP Controls
                     10.1 Selective Validation

Share:

Improve Windows XP Shutdown Speed

This tweak reduces the time XP waits before automatically closing any running programs when you give it the command to shutdown.

Go to Start then select Run
Type 'Regedit' and click ok
Find 'HKEY_CURRENT_USER\Control Panel\Desktop\'
Select 'WaitToKillAppTimeout'
Right click and select 'Modify'
Change the value to '1000'
Click 'OK'
Now select 'HungAppTimeout'
Right click and select 'Modify'
Change the value to '1000'
Click 'OK'

Now find 'HKEY_USERS\.DEFAULT\Control Panel\Desktop'
Select 'WaitToKillAppTimeout'
Right click and select 'Modify'
Change the value to '1000'
Click 'OK'
Now find 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\'
Select 'WaitToKillServiceTimeout'
Right click and select 'Modify'
Change the value to '1000'
Click 'OK'
Share:

XP Shutdown Timer

Do you know that you can make your PC shutdown at a time u wish to
Here is the trick!!
How to Make a Shutdown Timer!

Method 1:

Right clicks on your desktop and choose "New=>shortcuts".
In the box that says "Type the location of the shortcut",
type in "shutdown -s -t 3600" without the quotation marks and click next. Note: 3600 are the
amount of seconds before your computer shuts down. So, 60secs*60mins=3600secs.
Make up a name for the shortcut and you're done.
You can change the icon by right clicking=>prosperities=>change icon=>browse
TO ABORT:
To make an abort key to stop the shutdown timer just create another shortcut and make
the "location of the shortcut" to " shutdown -a" without the quotes.

Method 2: Easy to Previous Method
here is another trick to shutdown at a specific time, for example you wish to shutdown at 11:35am.
Type this in
start=>Run
Type Code: at 11:35 shutdown -s
TO ABORT:
Code: shutdown –a
Share:

Create Folder Lock In XP

Lock your pc..

Open notepad copy and paste the script below and save it .VBS extension this will
create a shortcut... run (click) it


set WshShell = WScript.CreateObject("WScript.Shell")
set oShellLink = WshShell.CreateShortcut(wshShell.SpecialFolders("Desktop") &
"\LockWorkstation.lnk")
oShellLink.TargetPath = "%windir%\system32\rundll32.exe"
oShellLink.Arguments = "user32.dll,LockWorkStation"
oShellLink.Save


First select a folder for example i'll use a folder name movies in D drive D:\movies\
in the same drive u create a text file and type
ren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}
and save it as loc.bat
again u type in a notepad as
ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D} movies
and save it as key.bat

Now in D drive u can see two batch files loc and key... when u double click loc the movie folder
will change to control panel and when u double click key the control panel will change to normal
folder.. There are two more different tricks in this site to lock your pc down in a unique ways...
donno where I have typed it...!!!
Share:

Changing XP Start Button Name

1. Run Resource Hacker , and open \windows\explorer.exe

2. Click String Table > 37 > 1033 (XP-style button)


3. Replace "start" with whatever you want ("hello", in the picture above).


4. Click the Compile Script button. Repeat steps 3 and 4 for String table > 38 > 1033 (Classic-style button)

5. Save the file (File>Save). Hit Cancel then Yes when Windows File Protection pops up.
Note: If an error message pops up when saving the file, kill explorer.exe (Clt-Alt-Del > Processes > explorer.exe > End Process > File > New Task), repeat step 5 (save the file in Resource Hacker), and restart explorer.exe (Clt-Alt-Del > Processes > explorer.exe > End Process > File > New Task > explorer > OK)
Share:

Windows XP Tricks


1. Turn Off System Beeps
Go to HKEY_CURRENT_USER\Control Panel\Sound, and find the Beep and ExtendedSounds String values. Set each value to No. Exit the Registry and reboot. The beeps will no longer sound. Hey, your XP is no longer noisy!! 


2. Change “AM” and “PM” Displayed Near the System Clock to Any Text You want
You can add your name or anything you like that consists of 8 characters or less. This will replace the AM or PM next to the system time. Do not use this tip if you are using any software during the trial period as it will corrupt the trial license. Open the RegEdit and navigate to the following registry key: KEY_CURRENT_USER\ControlPanel\International. Add two new String values, "s1159" and "s2359". Most probably those keys will be already present. If it is not there then create them. Right click the value name and modify. Enter anything you like up to 8 characters. If you enter two different values when modifying, you can have the system tray display the two different values in the AM and PM.

3. Change Icons of your Desktop Objects
(MyComputer, Recycle bin..)
Go to HKEY_CLASSES_ROOT\CLSID, and look for the CLSID subkey from the table above for the object whose icon you want to change. Open the subkey and then the DefaultIcon subkey under that. To change the icon for My Computer, open the subkey HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon. Change the Default value to the path of the icon that you want displayed. Follow the same for changing the icons of ther items as well. Exit the Registry. You might have to reboot for the new settings to take effect. If you aren't able to change your icons still, then try editing the following: HKEY_CURRENT_USER\Software\Microsoft \Windows\CurrentVersion \ Explorer\ CLSID\, and you will be in.

4. Turn Off Window Animation
You can shut off the animation displayed when you minimize and maximize Windows. Open Registry Editor and go to HKEY_CURRENT_USER\Control panel \Desktop\WindowMetrics. Create a new string value "MinAnimate". Set the value data of 0 for Off or 1 for On.

5. Display Your Own Error Messages
When you try to delete Microsoft Outlook from the desktop, you get the warning message "The Outlook Desktop icon provides special functionality and we recommend that you do not remove it." If you like, you can edit that message to display whatever you want. In the CLSID's subkeyfor example, {00020D75-0000-0000-C000-000000000046} for Microsoft Outlook you'll find the value Removal Message. Edit this value to whatever text you want, and your warning message will appear whenever someone tries to delete the icon. This is just an example. Follow the suit for customizing the error messages for other icons too!

6. Enable/Disable Error Reporting in Windows XP
In an effort to make Windows XP a better and more stable operating system, Microsoft has included Error Reporting in the latest release. Whenever an application has to close because of an error, it asks that a report be sent to Microsoft for study and evaluation. Sending the report is optional, but users can benefit from the error log that is generated if they wish to study it or print a hard copy. If you find error reporting objectionable and want it disabled: Open Control Panel. Click on Performance and Maintenance. Click on System. Then click on the Advanced tab. Click on the error-reporting button on the bottom of the windows. Select Disable error reporting. Click OK.

7. Customize Your Login prompt
So let us get into some serious business. We shall start with a tip to customize your log in prompt. Open Registry editor by going to Start-Run-Regedit and Navigate to the key: HKEY_LOCAL_MACHINE\SOFTWARE\Micrsft\WindowsNT\CurrentVersion\Winlogon. In right pane, do a right click to create a new string value and give its name LogonPrompt. Set its value to whatever text you want to see displayed at login screen. Reboot the machine and see the log-in prompt for the change. You can see the text you entered above the text fields that ask for username and password.
Share:

20 things you didn't know about Windows XP


       You've read the reviews and digested the key feature enhancements and operational changes. Now it's time to delve a bit deeper and uncover some of Windows XP's secrets.

1. It boasts how long it can stay up. Whereas previous versions of Windows were coy about how long they went between boots, XP is positively proud of its stamina. Go to the Command Prompt in the Accessories menu from the All Programs start button option, and then type 'systeminfo’. The computer will produce a lot of useful info, including the uptime. If you want to keep these, type 'systeminfo > info.txt'. This creates a file called info.txt you can look at later with Notepad. 


2. You can delete files immediately, without having them move to the Recycle Bin first. Go to the Start menu, select Run... and type 'gpedit.msc'; then select User Configuration, Administrative Templates, Windows Components, Windows Explorer and find the Do not move deleted files to the Recycle Bin setting. Set it. Poking around in gpedit will reveal a great many interface and system options, but take care some may stop your Computer behaving as you wish. 

3. You can lock your XP workstation with two clicks of the mouse. Create a new shortcut on your desktop using a right mouse click, and enter 'rundll32.exe user32.dll,Lock WorkStation' in the location field. Give the shortcut a name you like. That's it -- just double click on it and your computer will be locked. And if that's not easy enough Windows key + L will do the same.

4. XP hides some system software you might want to remove, such as Windows Messenger, but you can tickle it and make it disgorge everything. Using Notepad or Edit, edit the text file /windows/inf/sysoc.inf, search for the word 'hide' and remove it. You can then go to the Add or Remove Programs in the Control Panel, select Add/Remove Windows Components and there will be your prey, exposed and vulnerable.

5. For those skilled in the art of DOS batch files, XP has a number of interesting new commands. These include 'eventcreate' and 'eventtriggers' for creating and watching system events, 'typeperf' for monitoring performance of various subsystems, and 'schtasks' for handling scheduled tasks. As usual, typing the command name followed by /? will give a list of options -- they're all far too baroque to go into here.

6. XP has IP version 6 support -- the next generation of IP. Unfortunately this is more than your ISP has, so you can only experiment with this on your LAN. Type 'ipv6 install' into Run... (it's OK, it won't ruin your existing network setup) and then 'ipv6 /?' at the command line to find out more. If you don't know what IPv6 is, don't worry and don’t bother.

7. You can at last get rid of tasks on the computer from the command line by using 'taskkill /pid' and the task number, or just 'tskill' and the process number. Find that out by typing 'tasklist', which will also tell you a lot about what's going on in your system.
8. XP will treat Zip files like folders, which is nice if you've got a fast machine. On slower machines, you can make XP leave zip files well alone by typing 'regsvr32 /u zipfldr.dll' at the command line. If you change your mind later, you can put things back as they were by typing regsvr32 & zipfldr.dll.

9. XP has ClearType -- Microsoft's anti-aliasing font display technology -- but doesn't have it enabled by default. It's well worth trying, especially if you were there for DOS and all those years of staring at a screen have given you the eyes of an astigmatic bat. To enable ClearType, right click on the desktop, select Properties, Appearance, Effects, select ClearType from the second drop-down menu and enable the selection. Expect best results on laptop displays. If you want to use ClearType on the Welcome login screen as well, set the registry entry HKEY_USERS/.DEFAULT/Control Panel/Desktop/FontSmoothing Type to 2.

10. You can use Remote Assistance to help a friend who's using network address translation (NAT) on a home network, but not automatically. Get your pal to email you a Remote Assistance invitation and edit the file. Under the RCTICKET attribute will be a NAT IP address, like 192.168.1.10. Replace this with your chum's real IP address -- they can find this out by going to www.whatismyip.com -- and get them to make sure that they've got port 3389 open on their firewall and forwarded to the errant computer.
11. You can run a program as a different user without logging out and back in again. Right click the icon, select Run As... and enter the user name and password you want to use. This only applies for that run. The trick is particularly useful if you need to have administrative permissions to install a program, which many require. Note that you can have some fun by running programs multiple times on the same system as different users, but this can have unforeseen effects.

12. Windows XP can be very insistent about you checking for auto updates, registering a Passport, using Windows Messenger and so on. After a while, the nagging goes away, but if you feel you might slip the bonds of sanity before that point, run Regedit, HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/ Advanced and create a DWORD value called Enable Balloon Tips with a value of 0.

13. You can start up without needing to enter a user name or password. Select Run... from the start menu and type 'control userpasswords2', which will open the user accounts application. On the Users tab, clear the box for Users Must Enter A User Name And Password To Use This Computer, and click on OK. An Automatically Log On dialog box will appear; enter the user name and password for the account you want to use.

14. Internet Explorer 6 will automatically delete temporary files, but only if you tell it to. Start the browser, select Tools / Internet Options... and advanced, go down to the Security area and check the box to Empty Temporary Internet Files folder when browser is closed.

15. XP comes with a free Network Activity Light, just in case you can't see the LEDs twinkle on your network card. Right click on My Network Places on the desktop, then select Properties. Right click on the description for your LAN or dial up connection, select Properties, then check the Show icon in notification area when connected box. You'll now see a tiny network icon on the right of your task bar that glimmers nicely during network traffic.

16. The Start Menu can be leisurely when it decides to appear, but you can speed things along by changing the registry entry HKEY_CURRENT_USER/Control Panel/Desktop/MenuShowDelay from the default 400 to something a little snappier like 0.

17. You can rename loads of files at once in Windows Explorer. Highlight a set of files in a window, then right click on one and rename it. All the other files will be renamed to that name, with individual numbers in brackets to distinguish them. Also, in a folder you can arrange icons in alphabetised groups by View, Arrange Icon By... Show in Groups.

18. Windows Media Player will display the cover art for albums as it plays the tracks -- if it found the picture on the Internet when you copied the tracks from the CD. If it didn't, or if you have lots of pre-WMP music files, you can put your own copy of the cover art in the same directory as the tracks. Just call it folder.jpg and Windows Media Player will pick it up and display it.

19. Windows key + Break brings up the System Properties dialogue box; Windows key + D brings up the desktop; Windows key + Tab move through the taskbar buttons.

20. The next release of Windows XP, codenamed Longhorn, is due out late this month the next big release is codenamed Blackcomb and will be out in 2010/2011.
Share:

Contact Us

Name

Email *

Message *

Blog Archive

Popular posts