C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !



Posted By: Kamliesh Nadar       Member Level: Gold       Posted Date: 17 May 2005       Category: VB.NET

Consider I am using Visual Studio .NET to create a Windows-based application. The application includes a form named myProcedures. myProcedures allows users to enter very lengthy text into a database. When users click the Print button located on myProcedures, this text must be printed by the default printer. I implement the printing functionality by using the native .NET System Class Libraries with all default settings. Users report that only the first page of the text is being printed. What should I do to c



Select Answer:

In the BeginPrint event, set the HasMorePages property of the PrintEventArgs object to True.
In the EndPrint event, set the HasMorePages property of the PrintEventArgs object to True.
In the PrintPage event, set the HasMorePages property of the PrintPageEventArgs object to True.
In the QueryPageSettings event, set the HasMorePages property of the QueryPageSettingEventArgs objec




      
Your Test Score: 0 / 0



Next Question: Consider you are developing a Windows-based application for tracking telephone calls. The application stores and retrieves data by using a Microsoft SQL Server database. You will use the SQL Client managed provider to connect and send commands to the database. You use integrated security to authenticate users. Your server is called TestKing30 and the database name is CustomerService. You need to set the connection string property of the SQL Connection object. Which code segment should you use?
Previous Question: I am developing a Windows-based application named myProject by using Visual Studio .NET. myProject consumes an XML Web service named MortgageRate and exposes a method named GetCurrentRate. myProject uses GetCurrentRate to obtain the current mortgage interest rate. Six months after me deploying myProject, users begin reporting errors. I discovered that MortgageRate has been modified. GetCurrentRate now requires you to pass a postal code before returning the current mortgage interest rate. I ensure that myPro
Related Questions:
  • What does the VB.NET application does? Imports System Imports System.Diagnostics Dim prog As New Process () prog.StartInfo.FileName = "sample.exe" prog.StartInfo.Arguments = " " prog.Start()


  • What is the keyword in VB.Net to create an Abstract Class


  • What is the purpose of the MaskedTextBox?


  • What is the minimal information needed by a connection string to open a connection to a SQL Server 2000 or SQL Server 2005 database?


  • Which one of the following components populates a DataSet with data from a SQL Server 2000 database?


  • Categories

    ASP.NET C# VB.NET 
    .NET Framework SQL Server Other 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.


    dotNet Slackers   BizTalk Adaptors    Web Design


    Contact Us    Privacy Policy    Terms Of Use