Friday, August 24, 2012

Windows: Installation



1.


1. WinXP SP3 SATA:
- Info: Microsoft.Windows.XP.Professional.SP3.Integrated.August.2012.SATA.By.Maher.[www.nomaher.com]
- Torrent: http://isohunt.com/torrent_details/407039761/windows+xp+sp3+sata?tab=summary
- Key: MR49R-DRJXX-M6PX2-V96BF-8CKBJ

2. Win7

Monday, August 20, 2012

Video: Subtitle



1. Links

http://www.brighthub.com/computing/windows-platform/articles/41466.aspx


2. Source links

1. Open Subtitles Database - http://www.opensubtitles.org/
2. My Subtitles - http://www.mysubtitles.com/
3. DivX Subtitles - http://www.divxsubtitles.net/
4. Movie Subtitles - http://www.moviesubtitles.org/

Friday, August 17, 2012

Java: Running .jar file from command prompt


1. Links
 http://stackoverflow.com/questions/394616/running-jar-file-in-windows
http://www.wikihow.com/Run-a-.Jar-Java-File

Test.jar

java -jar test.jar



Thursday, August 16, 2012

Windows: Useful tools for debugging


1. List
Dependency Walker: http://www.dependencywalker.com/
Process Explorer: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx, http://en.wikipedia.org/wiki/Process_Explorer

2. Links


Windows: How to use Dependency Walker



Note
Be careful with 32 or 64 bit version

Links
http://www-archive.mozilla.org/quality/help/dependency-walker.html

How to use Dependency Walker (depends.exe)

  1. Learn about Dependency Walker
    • Mozilla is a modular application composed of functions from many libraries (.DLLs).
    • Dependency Walker is an application that builds a hierarchical tree diagram of other programs and all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules.
    • Logs from Dependency Walker can help people solve a few troubling problems. Often users are missing libraries or have the wrong version, this should be easily interpretable from dependency walker output. In other cases, just seeing where mozilla dies can allow triagers to guess what should happen next which enables them to suggest the likely problem.
    • For more information see the distribution site or read its online help.
  2. Download Dependency Walker (for Windows) from http://dependencywalker.com/
  3. Expand it (using winzip or your favorite zip handling application)
  4. Run depends.exe
  5. Open the application which you need to profile
    • Drag the application into the Depency Walker window
    • Drag the application to the Dependency Walker application
    • Type Ctrl-O [or navigate to File>Open...]
      • Enter the path to the appropriate application (usually) mozilla.exe
      • Browse to the appropriate application
  6. Press F7 [or navigate to Profile>Start Profiling...]
  7. Enter parameters for the application (probably -console, possibly -p profilename, possibly -mail ...)
  8. If this is your first time, and unless otherwise instructed, check all the boxes
  9. Select <OK>
  10. The application should now run as usual. In some instances, mozilla might not come to the front, in which case you should alt-tab to it, or minimize dependency walker, or use the taskbar or ...
  11. When you have quit using the application which dependency walker is profiling [or as otherwise instructed] return to dependency walker.
  12. Save the log
    1. Type Ctrl-S [or navigate to File>Save]
    2. Enter a filename
  13. Return to bugzilla and select "Create a new attachment"
  14. See helping with QA for more information about creating an attachment using bugzilla

Command Line syntax for depends.exe

Some people are afraid of graphical interfaces. If you are one of them, please try this instead:
c:\windows> depends /pa1 /pd"c:\program files\mozilla" /pr"-console" /od"desktop\mozilla.dwi" "c:\program files\mozilla\mozilla.exe"
This version is for those of you who prefer html documentation over .hlp
c:\windows> depends /c /a 1 /f 1 /u 1 /ps 1 /pp 1 /po 1 /ph 1 /pl 1 /pg 1 /pt 1 /pn 1 /pe 1 /pm 1 /pf 1 /pc 1 /pb /pd"c:\program files\mozilla" /pr"-console" /od"desktop\mozilla.dwi" "c:\program files\mozilla\mozilla.exe"
Later options override earlier options so /pa1 /pc0 will run Dependency Walker with all options except for pc (Automatically open and profile child processes).

Tuesday, August 14, 2012

Internet: How to configure Internet Connection Sharing in Windows XP


Link http://support.microsoft.com/kb/306126

How to configure Internet Connection Sharing in Windows XP

Article ID: 306126 - View products that this article applies to.
This article was previously published under Q306126

To continue receiving security updates for Windows, make sure you're running Windows XP with Service Pack 3 (SP3). For more information, refer to this Microsoft web page: Support is ending for some versions of Windows

On This Page

INTRODUCTION

This article describes how to set up and use the Internet Connection Sharing feature in Microsoft Windows XP. With Internet Connection Sharing, you can use networked computers to share a single connection to the Internet.

How to use Internet Connection Sharing

To use Internet Connection Sharing to share your Internet connection, the host computer must have one network adapter that is configured to connect to the internal network, and one network adapter or modem that is configured to connect to the Internet.

On the host computer

On the host computer, follow these steps to share the Internet connection:
  1. Log on to the host computer as Administrator or as Owner.
  2. Click Start, and then click Control Panel.
  3. Click Network and Internet Connections.
  4. Click Network Connections.
  5. Right-click the connection that you use to connect to the Internet. For example, if you connect to the Internet by using a modem, right-click the connection that you want under Dial-up.
  6. Click Properties.
  7. Click the Advanced tab.
  8. Under Internet Connection Sharing, select the Allow other network users to connect through this computer's Internet connection check box.
  9. If you are sharing a dial-up Internet connection, select the Establish a dial-up connection whenever a computer on my network attempts to access the Internet check box if you want to permit your computer to automatically connect to the Internet.
  10. Click OK. You receive the following message:
    When Internet Connection Sharing is enabled, your LAN adapter will be set to use IP
    address 192.168.0.1. Your computer may lose connectivity with other computers on
    your network. If these other computers have static IP addresses, it is a good idea to set them
    to obtain their IP addresses automatically. Are you sure you want to enable Internet
    Connection Sharing?
  11. Click Yes.
The connection to the Internet is shared to other computers on the local area network (LAN). The network adapter that is connected to the LAN is configured with a static IP address of 192.168.0.1 and a subnet mask of 255.255.255.0

To view a video about how to configure the host computer for Internet Connection Sharing, click the Play button (
Play

    button
) on the following Windows Media Player viewer:




Note To view this video, you must use Windows Media Player 7.0 or later.

For additional information about how to obtain Windows Media Player version 7.1, click the following article number to view the article in the Microsoft Knowledge Base:
299321 Description and availability of Windows Media Player 7.1

On the client computer

To connect to the Internet by using the shared connection, you must confirm the LAN adapter IP configuration, and then configure the client computer. To confirm the LAN adapter IP configuration, follow these steps:
  1. Log on to the client computer as Administrator or as Owner.
  2. Click Start, and then click Control Panel.
  3. Click Network and Internet Connections.
  4. Click Network Connections.
  5. Right-click Local Area Connection, and then click Properties.
  6. Click the General tab, click Internet Protocol (TCP/IP) in the This connection uses the following items list, and then click Properties.
  7. In the Internet Protocol (TCP/IP) Properties dialog box, click Obtain an IP address automatically (if it is not already selected), and then click OK.

    Note You can also assign a unique static IP address in the range of 192.168.0.2 to 192.168.0.254. For example, you can assign the following static IP address, subnet mask, and default gateway:
       IP Address      192.168.0.2
       Subnet mask     255.255.255.0
       Default gateway 192.168.0.1
         
  8. In the Local Area Connection Properties dialog box, click OK.
  9. Quit Control Panel.
To view a video about how to confirm the LAN adapter IP configuration, click the Play button (
Play button
) on the following Windows Media Player viewer:




Note To view this video, you must use Windows Media Player 7.0 or later.

For additional information about how to obtain Windows Media Player version 7.1, click the following article number to view the article in the Microsoft Knowledge Base:
299321 Description and availability of Windows Media Player 7.1
To configure the client computer to use the shared Internet connection, follow these steps:
  1. Click Start, and then click Control Panel.
  2. Click Network and Internet Connections.
  3. Click Internet Options.
  4. In the Internet Properties dialog box, click the Connections tab.
  5. Click the Setup button.

    The New Connection Wizard starts.
  6. On the Welcome to the New Connection Wizard page, click Next.
  7. Click Connect to the Internet, and then click Next.
  8. Click Set up my connection manually, and then click Next.
  9. Click Connect using a broadband connection that is always on, and then click Next.
  10. On the Completing the New Connection Wizard page, click Finish.
  11. Quit Control Panel.
When you now start Microsoft Internet Explorer, the client computer will try to connect to the Internet by using the host computer's shared Internet connection.

To view a video of how to configure the client computer to use the shared Internet connection, click the Play button (
Play

    button
) on the following Windows Media Player viewer:




Note To view this video, you must use Windows Media Player 7.0 or later.

For additional information about how to obtain Windows Media Player version 7.1, click the following article number to view the article in the Microsoft Knowledge Base:
299321 Description and availability of Windows Media Player 7.1

Troubleshooting

When you turn on Internet Connection Sharing on the host computer, the host computer's LAN adapter is automatically assigned the IP address of 192.168.0.1. Therefore, one of the following situations may occur:
  • IP address conflict
    Each computer on the LAN must have a unique IP address. If more than one computer has the same IP address, an IP conflict occurs, and one of the network adapters turns off until the conflict is resolved. To resolve this conflict, configure the client computer to automatically obtain an IP address, or assign it a unique IP address.
  • Loss of network connectivity
    If your network is configured with a different IP address range than Internet Connection Sharing uses, you will lose network connectivity with the host computer. To resolve this issue, configure the client computers to automatically obtain an IP address, or assign each client computer a unique IP address in the range of 192.168.0.2 to 192.168.0.254.



REFERENCES

For additional information about Internet Connection Sharing, click the following article numbers to view the articles in the Microsoft Knowledge Base:
234815 Description of Internet Connection Sharing
308021 Resources for troubleshooting Internet Connection Sharing in Windows XP
308006 Troubleshooting Internet Connection Sharing in Windows XP
310563 Description of Internet Connection Sharing in Windows XP