Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1


Ratings: (0)|Views: 7,091|Likes:
Published by api-3774860

More info:

Published by: api-3774860 on Oct 16, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, DOC, TXT or read online from Scribd
See More
See less





What is the difference between char and varchar data types?

The char is a fixed-length character data type, the varchar is a variable-length character data type.
Because char is a fixed-length data type, the storage size of the char value is equal to the
maximum size for this column. Because varchar is a variable-length data type, the storage size of
the varchar value is the actual length of the data entered, not the maximum size for this column.
You can use char when the data entries in a column are expected to be the same size.
You can use varchar when the data entries in a column are expected to vary considerably in size.

Which controls can not be placed in MDI ?
U can not place command button, Lable, drive box, Tree view etc.
Controls without align property can not be placed directly on MDI form.
Which property of textbox cannot be changed at runtime. What is the max size of textbox?
Name Property.. Max Size- No Limit.
List out controls which does not have events?
shape, line controls
OLE is used for_______?

Object linking and embedding, for using to other object classes like
word, excel , autocad objects in our own applications, only thing we have to add reference for
these objects.

.___,__,___ are the type of combo box?

1. dropdown combo
2. simple combo
3. dropdwon list

Timer control contains________ no. of events.?
Only One
.___ is a property to resize a label control according to your caption?
.____ property is used to lock a textbox to enter a datas.
Locked = true
.____ is the difference between Listindex and Tab index.?
Lisindex : Gives current index inside a list
Tabindex : specifies the tab order in the form
.____ property of menu cannot be set at run time.?
What is the difference between and Interface and an Abstract Class?
While this topic is probably more popular amongst Java or .NET peeps, don\u2019t be surpised
if asked in an interview.

An Interface basically is a contract which defines the factors (properties and methods)
that a class must provide. However the interface does not specify how these factors are to
be implemented.

An abstract class is similar to an interface in that it defines empty properties and methods
but may include some methods and properties which are already implemented.

Functionally in VB6 they are pretty much the same. You can create standard interfaces by
compiling abstract classes in Visual Basic ActiveX DLLs or EXEs, or with the MkTypLib
utility. In order to implement an interface, you must use the References dialog box to set
a reference to the type library or ActiveX DLL or EXE. In similar fashion, any
application that uses objects which have implemented an abstract interface must also
have a reference to the type library that describes the interface. Information about
implemented interfaces cannot be included in the type libraries of components, because
there is no way to resolve naming conflicts.

VB6 does not support inheritance but provides for using interfaces as a means of class
inheritance and extension.
which type of combobox is non editable ?
dropdown list.
which method of recordset is used to store records in an array?
how can you display records page wise?
use pagesize,pagecount,absolutepage property of recordset.
why recordset.recordcount returns -1??
cursertype may not be forwardonly.
What are types of ActiveX Components in VB?
ActiveX DLL, ActiveX Exe, ActiveX Controls, ActiveX Document DLL, ActiveX Document Exe
Default property of data control.?
Name is the default property.
How do I register a component?
run this command regsvr32 c:\...\MyDll.dll to register
run this command regsvr32 \u c:\...\MyDll.dll to un-register
What does Option Explicit refer to?
Option Explicit is used to ensure that all variables that are being used in the code are declared.
How to copy & paste non text data to the Windows clipboard?
For retreiving data from clipboard other then text use Clipboard.getData
For assigning data to clipboard other then text use Clipboard.setDatadata
How do I make text box that displays asterisks when the user types in data such
as password?
Set Text Box PasswordChar Property to * .
How do I make a menu popup from a CommandButton or create menus at
Use CreatePopupmenu API function.
Can I send keystrokes to a DOS application?

AppActivate ("C:\windows\system32\cmd.exe") \u2018 Appilcation caption
SendKeys ("SA") \u2019For sending one string
SendKeys "% ep", 1\u2019 For sending Clipboard data to Dos

How do you use the Mouse OFF event?
Ole Drag drop
Option Base is used to?
Option Base is to set the Index of the Array to start from 0 or 1.
How to create a label that is vertically oriented?

Private Sub Form_Activate()
Dim s As String
Label1.Caption = "TopITMedia.com"
For i = 1 To Len(Label1)
s = s & Mid$(Label1, i, 1) & vbCrLf
Label1 = s
End Sub
Note: You need to drag the Label1 vertically.

Activity (44)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
nikhilesh71 liked this
nikhilesh71 liked this
bulkSoft liked this
bulkSoft liked this
syriluit liked this
PoisonedHeart liked this
kannan liked this
Handsome liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->