| Back to Questions Page |
| |
| Question |
diff b/w windows and console application? |
Rank |
Answer Posted By |
|
Question Submitted By :: Sntcsanthosh |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | difference between a console application and a Windows
application is the way in which the program gets user
input. A console application gets keyboard input through
the Console.Read or Console.ReadLine methods; a Windows
Forms application gets keyboard (and other) input through
events.  |
| Subhash - Netedge Computing |
| |
| |
| Answer | windows forms provide the graphical user interface (GUI)
where as console is the character user interface(CUI)
you have to use the hard code to develope the application
using console, lots of thing you must remember where as the
windows forms development is more user friendly and easy to
use.  |
| Vikas Ku Gupta [NTTF] |
| |
| |
| Question |
wht is the use of console application? |
Rank |
Answer Posted By |
|
Question Submitted By :: Sntcsanthosh |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Console Applications are command-line oriented applications
that allow us to read characters from the console, write
characters to the console and are executed in the DOS
version. Console Applications are written in code and are
supported by the System.Console namespace.  |
| Uma N |
| |
| |
|
|
| |
| Answer | Console applications are command line applications.We have
to give inputs through keyboard without use of mice.But, in
windows applications, users should give inputs through mice
without use of keypad.  |
| P.sivaranjanikamaraj [NTTF] |
| |
| |
| Answer | it is very speed..we can use this application for billing
pupose  |
| Ss [NTTF] |
| |
| |
| Question |
how to send data to exe file?
my code has a button when i press it, an exe file will open.
how can i send data as input to the exe file? |
Rank |
Answer Posted By |
|
Question Submitted By :: &1605;&1575;&15 |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | use following code in button click event
System.Diagnostics.Process.Start(@"\write physical path of
exe file");  |
| Find_kk |
| |
| |
| Answer | Sorry, in the above code, after file name you can give
comma seperated values of arguments which you want to pass
as input value in exe file,  |
| Find_kk |
| |
| |
| Question |
Write a program for calculator in VB.NET |
Rank |
Answer Posted By |
|
Question Submitted By :: Vijay_it4all |
| This Interview Question Asked @ CMC , Subex, NIIT, Ibm |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Shell("C:\WINDOWS\system32\calc.exe",
AppWinStyle.NormalFocus)  |
| Tapti |
| |
| |
| Answer | Shell("C:\WINDOWS\system32\calc.exe",
AppWinStyle.NormalFocus)  |
| Sreeranjith C.k |
| |
| |
| Answer | Shell("C:\WINDOWS\system32\calc.exe",
AppWinStyle.NormalFocus)  |
| Ajit Kawade |
| |
| |
| Answer | Shell("c:\WINDOWS\system32\calc.exe",AppWinStyle.NormalOcus)  |
| Jagriti Sinha |
| |
| |
| Answer | Shell("C:\WINDOWS\system32\calc.exe",
AppWinStyle.NormalFocus)  |
| Ho |
| |
| |
| Question |
How to create Crystal Report in vb.net with coding |
Rank |
Answer Posted By |
|
Question Submitted By :: Muthu |
| This Interview Question Asked @ Ascent , Tcs |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | just configure the report datasource by database  |
| Pp |
| |
| |
| Question |
What are the objects in asp.net and tell the purpose of
those objects |
Rank |
Answer Posted By |
|
Question Submitted By :: Muthu |
| This Interview Question Asked @ Ascent |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | There are 5 objects in asp.net
1.Response:This object is to response to other eg:
2.Request:This object is request from server
3.Application: This object is store global information of
application.
4.Session:This object used store the values into variable.
5.Server:  |
| Dhasaradhan |
| |
| |
| Answer | there are six object in asp.net.
6.object context object.  |
| Kumanan |
| |
| |
| Question |
I want to sample Hotel management project in vb.net because
still now i am doing that project for small hotel....so please
send me my email id is jmuthu_pearls@yahoo.com... |
Rank |
Answer Posted By |
|
Question Submitted By :: Muthu |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | i am student of BCA and i am making project on hotel
management in vb.net.i want to know some more categories
that are available in hotel with database.  |
| Harpreet Kaur |
| |
| |
| Answer | i am bca student .I want to sample Hotel management project
in vb.net because
still now i am doing that project for small hotel.the front
end is vb6.0 and back end is oracle or sql  |
| Umesh |
| |
| |
| Question |
In Datagrid after adding row, how you will assign the value
for each cell to currently added new row? |
Rank |
Answer Posted By |
|
Question Submitted By :: Dilipsm17@rediffmail.com |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | I will write code of value assignment in UserAddedRow event
of grid.
eg.
Name of grid -grdSticker.
const iRollNo as integer=0
grdsticker.rows(e.rowindex-1).cells(iRollNo).value=7  |
| Prajakta |
| |
| |
| Question |
what is the base class of .net? |
Rank |
Answer Posted By |
|
Question Submitted By :: Guest |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | System.Object  |
| Swaroop Roy |
| |
| |
| Answer | system.web.ui  |
| Is |
| |
| |
| Answer | System.Object is base class of .NET  |
| Jayesh Patel |
| |
| |
| Answer | system.data.sqlclient
this is the base class for .net  |
| Gopal |
| |
| |
| Answer | Page Class  |
| Bipin |
| |
| |
| Answer | System.Object Is The Base Class Of All Derived in .net  |
| Balaji Karpurapu |
| |
| |
| Question |
1.wht is satellite assembly???
2.How Garbage Collector works can u explain ???? |
Rank |
Answer Posted By |
|
Question Submitted By :: Aseem |
| This Interview Question Asked @ ABC |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | 1.through satellite assembly we can develop assembly and
(if we want to use in any language like chines,etc and we
can use it anywhere}
2. garbage collector run after a particuler point of time
may depends on memory requiremtnt or time
first garbage collector check unused resources from memory
from generation first(which is L2 cache)and then find any
references in genertion second(RAM)and then in third
generation (virtual memory)
when garbage collector find any unused resources, it put
that object in finalizition quere, for destruction of
object and free memory from unused resources
and there is a thread is associated with which free objects
one by one from this queue
and we can call explicitly the GC
like GC.collect(int )(here int is the generation number)  |
| Kamlesh Sharma |
| |
| |
| Answer | Satellite assembly:Assembly containing no executable code—
only resources. Typically, satellite assemblies are used
for storing localized data. Satellite assembles can be
added, modified, and loaded into a .NET application at
runtime without recompiling. Use the Assembly Linking
Utility to create satellite assemblies by
compiling .resource files.  |
| Kalyani |
| |
| |
| Answer | Satellite assemblies are often used to delpoy langauge-
specific resources for an application. These language
specific assemblies work in side-by-side execution because
the application has a separate product ID for each language
and installs satellite assemblies in language-specific
subdirectory for each language.  |
| Dilip |
| |
| |
| Question |
how to create views in sql with syntax and example |
Rank |
Answer Posted By |
|
Question Submitted By :: Guest |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | create view <Viewname> as
select a as A,b as B,c as C
from <tablename>
where <whereclause{optional}> order by A  |
| Abhinandan |
| |
| |
| Answer | CREATE VIEW view_name AS
SELECT column_name(s)
FROM table_name
WHERE condition
Using Views
CREATE VIEW [Current Product List] AS
SELECT ProductID,ProductName
FROM Products
WHERE Discontinued=No  |
| Ranjith Reddy |
| |
| |
| Answer | CREATE VIEW vino (view_name)
AS
SELECT mark1 (column_name(s))
FROM stud(table name)
WHERE avg>80 (condition)  |
| Vinoth |
| |
| |
| Answer | CREATE VIEW <View Name> AS <Query Goes here>  |
| Jayesh Patel |
| |
| |
| Answer | CREATE VIEW table_name [ ( column_name1,
column_name2, ... ) ]
AS SELECT ...
EX:
CREATE VIEW ViewOfTableA AS SELECT col1 FROM TableA  |
| V.vaithyanarayanan |
| |
| |
| Question |
how to create crystal reports in asp.net & vb.net with
syntax |
Rank |
Answer Posted By |
|
Question Submitted By :: Guest |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | First create crystal report.In the interface of report i.e
aspx form to display report,add report document as
Toolbox-->Components-->ReportDocument.
Call the sub routine CreatePDF to display report.
rptProduct is the name of crystal report and docProd is the
name of report document.
Imports System.Data
Imports System.Data.SqlClient
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports System.IO
'This call is required by the Web Form Designer.
Private Sub InitializeComponent()
'start - This code should be pasted under #Region
Private Sub itializeComponent()
'rptProduct is the name of crystal report.
Me.docProd = New rptProduct
'
'docProd
'
Me.docProd.PrintOptions.PaperOrientation =
CrystalDecisions.Shared.PaperOrientation.DefaultPaperOrientation
Me.docProd.PrintOptions.PaperSize =
CrystalDecisions.Shared.PaperSize.DefaultPaperSize
Me.docProd.PrintOptions.PaperSource =
CrystalDecisions.Shared.PaperSource.Upper
Me.docProd.PrintOptions.PrinterDuplex =
CrystalDecisions.Shared.PrinterDuplex.Default
'Ends here
'Declaration of report document
Protected WithEvents docProd As rptProduct
Private Sub CreatePDF()
Dim objDS As New DataSet
Dim dfdoFile As New
CrystalDecisions.Shared.DiskFileDestinationOptions
Dim strServerPath As String
Dim szFileName As String
'Create dataset as per requirement
docProd.SetDataSource(objDS.Tables(0))
szFileName = Session.SessionID & ".pdf"
' rptDailyCalls.pdf
strServerPath = MapPath("~") & "\Report\"
' Here the pdf file will be saved.
File.Delete(strServerPath & "\" &
szFileName) ' Delete file first
dfdoFile.DiskFileName = strServerPath & "\" &
szFileName
With docProd
.ExportOptions.ExportDestinationType =
CrystalDecisions.Shared.ExportDestinationType.DiskFile
.ExportOptions.ExportFormatType =
CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
.ExportOptions.DestinationOptions = dfdoFile
.Export()
End With
'URL of the pdf file
Response.Redirect("http://localhost/WebApplication1/" &
szFileName ,Flase)
End Sub  |
| Ranjith Reddy |
| |
| |
| Question |
how to restore database using vb.net? |
Rank |
Answer Posted By |
|
Question Submitted By :: Lakshman |
| This Interview Question Asked @ TCS , PCS |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Does TCS interviewer asked this question .. ????  |
| Konthappan |
| |
| |
| Answer | tcs will not ask this quiston  |
| Jakson |
| |
| |
| Answer | imports microsoft.win32
dim svr as new SQLDMO.SQLServer
svr.executeImmediate("RESTORE DATABASE<DATABASE NAME> FROM
DISK =<DATABASE PATH NAME> WITH REPLACE")  |
| Abhijit R. Mandavgane |
| |
| |
| Answer | really TCS interviewer asked this question.........??????ya
tu fek raha hai......  |
| Ajit |
| |
| |
| Question |
What are Major Feature of VB.NET Over C#.NET |
Rank |
Answer Posted By |
|
Question Submitted By :: Dinesh Sharma |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | VB.Net is Case-Insensitive while C# is case-Sensitive.  |
| Sonia |
| |
| |
| Answer | Thank u Sonia
I Know That Feature But Do You Any Other Feature
Rather Than Syntax .  |
| Dinesh Sharma |
| |
| |
| Answer | VB.Net does not support pointers but C# supports pointers  |
| Chethana |
| |
| |
| Answer | There is a documentation facility in C# (If you comment
using ///This is my comment/// u can generate a document
using Commands . I think this option is not in VB.NET
There is no Performance difference in BOTH Since both are
running under CLR  |
| Konthappan |
| |
| |
| Answer | VB.NET also doesn't support operator overloading. Due to
unsafe code.
And
VB.NET instantly compiled our code, help in small
development work and disadvantage is it cause slightly delay
in case of Large Development.  |
| Ajit Jha |
| |
| |
| Answer | Dear Konthanppan ,
Comment related point stated by you is not true as VB.net
provides it with ''' in replacement of /// in C#.
One big point is
In VB.NET "SHARED CLASS" can be created but in C# Static
class is not possible.  |
| Manish |
| |
| |
| Answer | vb.net utilizes cpu 100 percent
but c# doesnt ...
vb.net not supports pointers
but c# supports ........  |
| Indian |
| |
| |
| Answer | vb.net is very userfriendly  |
| Chaitanya |
| |
| |
| Answer | vb.net support optional argument for method parameter where as
c# not.  |
| Avijit |
| |
| |
| Question |
linex will support dot net?
|
Rank |
Answer Posted By |
|
Question Submitted By :: S.ramkumar |
| This Interview Question Asked @ Phoenix-Technologies |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Linux Does Not Support .NET .
if You Have To Run The .NET on Linux Then You have Make
Your on FrameWork which is Compatiable With Linux or You
Have Purchase From Market as Thired Party Software  |
| Dinesh Sharma |
| |
| |
| Answer | Microsoft released mono lithic version for linux OS. Here
you can done development as well.  |
| Ajit Jha |
| |
| |
| Answer | yes, or not, linex os does not support the vb.net
platform , but we use vb.net in linex with help of third
party software....  |
| Pawan |
| |
| |
| Answer | yes,linux support .net  |
| Saswata Chohan |
| |
| |
|
| |
|
Back to Questions Page |