Tuesday, August 31, 2010

How to capture the screen easily?

Capture the screen easily!

Screen capture software


What is Gadwin PrintScreen?


Who needs Gadwin PrintScreen?


Why Gadwin PrintScreen?


System Requirement.


What is Gadwin PrintScreen?

Want to create a screenshot suitable for saving or printing? Then just hit a key on your keyboard. Oh yeah, you'll have to download this program first.

There are several hotkey combos to choose from (PrintScreen is the default). Once you've chosen your favorite combo, head to the Destination tab and have the screen print out instantly, copy the capture to the clipboard, save it to a specific folder, or even send it through e-mail. You can perform full screen captures, or only capture a specific window.


Gadwin PrintScreen is an easy to use freeware utility that allows you to capture any portion of the screen, save it to a file, copy it to Windows clipboard, print it or e-mail it to a recipient of your choice.

There are also six different image formats to choose from, and each one can be resized. With all the customization capabilities, what more could you ask for?

Gadwin PrintScreen Professional combines the power of a first-class screen capture application with an advanced image editing and annotation utility - wrapped into one easy-to-use tool. Gadwin PrintScreen Professional is versatile and extremely easy-to-use.


Who needs Gadwin PrintScreen?

Screen captures can be used for many reasons. Use captured images from Gadwin PrintScreen to show off your product on the web. Enhance technical or sales documents and embed captures into presentations. Gadwin PrintScreen can help you capture and print or save computer screen data.

Why Gadwin PrintScreen?

On most Windows computers a full screen of data can be put on the clipboard by pressing the PrintScreen key. This sends whatever you see on screen to the clipboard, which you must then edit in a different graphics program to cut to the right size and image format. Here are some other reasons not to use the prefabricated PrintScreen function of Windows:


Full screen of data can be put only on the clipboard.



It is either difficult or impossible to capture some elements of a Windows screen, such as different shaped cursors.


You spend too much time making image captures.

Use Gadwin PrintScreen to save time and enhance your screen shots! Download Gadwin PrintScreen now and try it out! This is the best way to learn what it can do.

System Requirement.

Gadwin PrintScreen requires Microsoft ® Windows 98/Me/2000/2003/XP/Vista, or Windows NT 4.0SP6. If you are running any of these operating systems and have a Windows-compatible mouse or pointing device, your system has already met all the requirements necessary to run Gadwin PrintScreen. A full installation of Gadwin PrintScreen requires 5 megabyte of hard drive space.

.NET Basics Interview Q & A

1.    What is .NET / .NET Framework?
         It is a Framework in which Windows applications may be developed and run. The Microsoft .NET Framework is a platform for building, deploying, and running Web Services and applications. It provides a highly productive, standards-based, multi-language environment for integrating existing investments with next-generation applications and services as well as the agility to solve the challenges of deployment and operation of Internet-scale applications. The .NET Framework consists of three main parts: the common language runtime, a hierarchical set of unified class libraries, and a componentized version of Active Server Pages called ASP.NET. The .NET Framework provides a new programming model and rich set of classes designed to simplify application development for Windows, the Web, and mobile devices. It provides full support for XML Web services, contains robust security features, and delivers new levels of programming power. The .NET Framework is used by all Microsoft languages including Visual C#, Visual J#, and Visual C++. 
2.How many languages .NET is supporting now? - When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. The site DotNetLanguages.Net says 72 languages to support.


3.How is .NET able to support multiple languages? - a language should comply with the Common Language Runtime standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language (MSIL for short). This is called as Managed Code. This Managed code is run in .NET environment. So after compilation to this IL the language is not a barrier. A code can call or use a function written in another language.



4.How ASP .NET different from ASP? - Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server.


  1. What is smart navigation? - The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed.
  2. What is view state? - The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control
  3. Explain the life cycle of an ASP .NET page.
  4. How do you validate the controls in an ASP .NET page? - Using special validation controls that are meant for this. We have Range Validator, Email Validator.
  5. Can the validation be done in the server side? Or this can be done only in the Client side? - Client side is done by default. Server side validation is also possible. We can switch off the client side and server side can be done.
  6. How to manage pagination in a page? - Using pagination option in DataGrid control. We have to set the number of records for a page, then it takes care of pagination by itself.
  7. What is ADO .NET and what is difference between ADO and ADO.NET? - ADO.NET is stateless mechanism. I can treat the ADO.Net as a separate in-memory database where in I can use relationships between the tables and select insert and updates to the database. I can update the actual database as a batch.
  8. What is Reflection?
    It extends the benefits of metadata by allowing developers to inspect and use it at runtime. For example, dynamically determine all the classes contained in a given assembly and invoke their methods. Reflection provides objects that encapsulate assemblies, modules, and types. You can use reflection to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object. You can then invoke the type's methods or access its fields and properties. Namespace: System.Reflection

     

Monday, August 30, 2010

DotNet Basic Questions

1.What is CLR?
 Full form of CLR is Common Language Runtime and it forms the heart of the .NET
framework.All Languages have runtime and its the responsibility of the runtime to take care of
the code execution of the program.
2. What is Garbage Collection?
Garbage Collection :- CLR automatically manages memory thus eliminating
memory leakes. When objects are not referred GC automatically releases those
memory thus providing efficient memory management.
3. What is CAS?
 Code Access Security :- CAS grants rights to program depending on the security
configuration of the machine.Example the program has rights to edit or create
a new file but the security configuration of machine does not allow the program
to delete a file.CAS will take care that the code runs under the environment of
machines security configuration.
5.Define Code Verification
Code Verification :- This ensures proper code execution and type safety while
the code runs.It prevents the source code to perform illegal operation such as
accessing invalid memory locations etc.
6. What is IL?
 IL( Intermediate language )-to-native translators and optimizer?s :- CLR uses
JIT and compiles the IL code to machine code and then executes. CLR also
determines depending on platform what is optimized way of running the IL.

Tuesday, August 24, 2010

How to Access webservice in Asp.net using SqlServer

 Steps To Follow:


1. File -> New Website ->Asp.net Webservice ->Click

2. In S.E ->App_code->Service.vb-><webmethod>_

3. Create Another Function related for ur database access. Just an example follows:

           Public Function getviews() As DataSet
        Dim con As New SqlConnection("server=.;database=sample;uid=sa;pwd=csbdu;")
        Dim da As New SqlDataAdapter("select * from emp", con)
        Dim ds As New DataSet()
        da.Fill(ds, "emp")
        Return ds
    End Function

Before that Import Namespaces like Imports System.Data,Imports System.Data.Sqlclient

4. Press F5 or Debug ur Webservice. U have Two methods like HelloWorld and Getviews:

5. Copy that URL and Paste into newly create Web application.

How to paste in WebApplication:

6. File -> New Website->click.

7. In S.E->rightClick->Add Webreference->Click


8. Paste that URL in Corresponding Location. Press Add Reference. Localhost 3 files to generated. files like .disco,.discomap,.wsdl.


9. In Default.aspx page add ur controls like gridview, multiview and so on related for ur local webservice.


        In my example, i follow the gridview control. In Default.aspx fix gridview and Button control. 
While u clicking the button control,enter the code follows


           Dim obj As New Mydbservice.Service
           GridView1.DataSource = obj.getviews
        GridView1.DataBind()







9. Press F5 or Debug ur Web Application.


Hope u will get .....

Monday, August 23, 2010

How to run webservice in Asp.Net

Steps to Create Webservice:

1.File->New Website->Select Asp.net Webservice->save ur webservice

2.In solution Explorer->App_code->service.vb-><Webmethod>_->write ur Code.

3. Create New Method like <Webmethod>_

         Public function add(a as integer,b as integer) as integer
return (a +b)
end function

4. Press F5 to run ur webservice or Debug ur webservice.

5. Add link button will be display on the output window.copy that URL before clicking Add. click Add that button u have 2 texboxes give ur input and press invoke button. XML output will display.

6. Create a new website application->S.E->Add webreference->paste that URL -> localhost->AddReference->3 files to be generated under the localhost service.

7. Drag and drop the required controls and when u click the Button u write this code;

        dim a,b,c as integer
     Assign ur textbox into a,b like a= textbox1.text and b=textbox2.text
      dim obj as new localhost.service
      c=obj.add(a,b)
      response.write(c)

8.Press F5 to run the web application.

      

Sanjheevi Academics

I Completed my schoolings in 1999. Next move to UG Mathematics in Arts & Science and then move to PG (Master of  Computer Applications) in Engineering Streams in between gap i done my PG Mathematics in distance Education.