How to share internet connection from laptop in Windows 7

May 25, 2011 Leave a comment

First need to setup adhoc network for that follow below steps

1)go to Network and Sharing Center

Control Panel->Network and Internet->Network and Sharing Center

or click on the network icon in the tray image or image then open Network and Sharing Center

2)choose manage wireless network 

or Control Panel\Network and Internet\Manage Wireless Networks

3)Add->create an adhoc network->next->set network name and set security type (for open connection select no authentication option)->next

Then need to share internet connection

1)right click on internet connection->properties->sharing->set allow and click ok

check whether wifi is on

Categories: Issues Tags: , , , ,

Installing Zend Server with WAMP Server

May 13, 2011 Leave a comment

I have tried to install zend server after installing wamp server but zend server wasn’t working properly.The reason was both wamp and zend servers were using the same port 80 you can check it by leftclick on wamp icon->apache->test port 80 it gives message like it is used.So have to do is change zend server port to 81 or if wamp run on port 81 then turn it to 82 or something.

Categories: Issues Tags: , , ,

Problem with WAMP Server

May 12, 2011 Leave a comment

I have developed many sites with PHP with WAMP Server.So I thought I had some experience in WAMP.But after installing new WAMP Server I doubt about that.Because it was always offline.WAMP icon shows yellow it means some working but not all.Actually I could use MySQL but not PHP.I tried MySQL by left click Wamp icon->MySQL –>MySQL console it works.I search many blogs and most of says it might be due to Skype or IIS server but I didn’t have installed IIS and I checked by uninstalling Skype,still I got offline color.

Then I tried to stop some other related services in Control Panel\All Control Panel Items\Administrative Tools\Services or you can get that window  by right click MyComputer icon –>manage->Services and Application->Services if you are an administrator of that machine you can start or stop services on that list.But it doesn’t work for me.

I searched it again.Then I found one video with editing some code but it’s boring and so long to edit so I kept that away.after I found a article how to do that simply.just go to WAMP icon & left click->apache->services->test port 80  then I found “your port 80 is actually used by server microsoft-httpapi 2.0” so I found at last it was taken by some other process.So I did change the port no 80 to 81 it works for can edit that one from editing httpd.conf in  WAMP icon & left click->apache->httpd.conf search listen 80 and edit that to 81.

Categories: Issues Tags: , ,

Back to Java Basics-star problems-1

April 26, 2011 Leave a comment
 1: package star;
 2: import java.util.Scanner;
 3: public class Main {
 4:     public static void main(String[] args) {
 5:         Scanner input=new Scanner(;
 6:         System.out.print("Enter No\n");
 7:         int n=input.nextInt();
 9:         for(int b=0;b<n;b++){
 10:             for(int a=0;a<b+1;a++){
 11:                 System.out.print("*");
 12:             }
 13:             System.out.print("\n");
 14:         }
 15:     }
 16: }


Enter No






Read more…

Categories: Programming Tags: , ,

C#.Net (Short Notes)

April 26, 2011 Leave a comment
  • no multiple inheritance
  • no pointers(insafe)
  • operator overloading
  • enumerations
  • preprocessor directives
  • CLR-The Common Language Runtime
    • It’s a framework layer the resides above the OS and handles the execution of all .net Applications
    • our .Net Applications


      Windows OS

  • MSIL-Microsoft Intermediate Language
    • OS & Hardware independence with cross language relationship
      .Net Code Language Compiler—> MISL
      Just In Time Compiler(JITler)—> Execution
      native code
  • FCL-The Framework Class Library
    • It contains thousands of classes to provide access to window API and common to common Data Structure,IO,Thread,Streams,Security and network programming
  • CLS-The Common Language Specification
    • It guaranteed to be usable in any other .Net Language
  • CTS-The Common Type System
    • Each .Net compliant language should map its data types to these standard data types
  • GC-Garbage Collection
    • Dynamically allocates memory space
  • The Visual Studio.Net IDE
    • IDE,Debugger,Project & Solution Explorer,Class, properties tab,tool box,standard menu and toolbars.
    • Our .Net Application:-WinForms, WebApp, Web services
      Data(ADO.Net) and XML Library
      Windows OS
  • Namespace in C#-simply a logical collection of related classes.

Comparison of different computer languages

April 26, 2011 Leave a comment
Characteristic PHP C++ Java
Founder Rasmus Lerdorf Bjarne Stroustrup Sun Microsystems Microsoft
Intended use Web, Server-side Application, System Application, Web Application,
Paradigm imperative, procedural, object-oriented, reflective imperative, procedural, object-oriented, generic imperative, object-oriented, generic, reflective imperative, object-oriented, functional,
Standardized? no 1998, ISO Yes, De-facto standard through the Java Language Specification 2000, ECMA, ISO
extension .php .c,.cpp .java .cs
object oriented yes yes yes yes
thread     yes yes
multiple inheritance   yes no no
platform-independent yes yes yes no
data pointer no yes no no
garbage collection   no yes yes
compiler no yes yes  
interpreter yes      
operator overloading     no  
generic functions     no  
Categories: Uncategorized Tags: , , , ,

Software Engineering(Short notes-1)

April 25, 2011 Leave a comment
  • Software

Computer Program+Associative documents

  • Attribute of good SW:-
    • Maintainability

add component without change

    • Dependability


    • Efficiency

minimum # of resources uses

    • Usability

Usable for users

  • Difference between SW n other products

logical rather than physical;
doesn’t ware out ;
difficult to see progress;
developing or engineering not manufacturing

  • Software Engineering
It is a systematic,disciplined,quantifiable approach to development,operation and maintains of SW.
Software Process Set f activities that goal is to develop or evolution of SW.
Basic Steps:-  
Requirement Analysis & Specification Problem definition;
Requirement Analysis
Development Design system & code
Validation & Testing Check whether provide output as customer want
Documentation Manual & associated documents
Maintenance consider how to deal with newly discover problem or new requirement
Categories: Short notes