Exforsys
+ Reply to Thread
Results 1 to 4 of 4

doubts in vb

This is a discussion on doubts in vb within the Microsoft .NET forums, part of the Programming Talk category; i need answers to the following questions.plz help me as i am having interview 1 _____ is the property to ...

  1. #1
    sudhap is offline Junior Member Array
    Join Date
    Jan 2005
    Answers
    9

    doubts in vb

    i need answers to the following questions.plz help me as i am having interview
    1 _____ is the property to ___,____,____ are valid for recordsource property of dat control.

    2 _____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.

    3 ____ property of menu cannot be set at run time.

    4 ____ property is used to lock a textbox to enter a datas.

    5 ____ is the difference between Listindex and Tab index.

    6 ____ argument can be used to make a menuitem into bold.

    7 ___,_____ and ____ container objects.

    8 ___,___ arguments will be used to run a executable program in shell function

    9 ___,___ and __ are difference between image and picture controls.

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

    11 ___ VB constant make the menu item in centre.

    12 ___ property used to add a menus at runtime.

    13 ___ Property is used to count no. of items in a combobox.

    14 ___ Property is to compress a image in image control.

    15 ___ method used to move a recordset pointer in nth position in DAG.

    16 ___ is the control used to call a windows application.

    17 ___ is a property to resize a label control according to your caption.

    18 __ no of controls in form.

    19 Write the Steps in Creating an ActiveX Control?

    20 Write the steps in Creating ActiveX Dll and Active Exe?

    21 With in the form we want to check all the text box control are typed or not? How?

    For each currentcontrol in controls
    if typeof currentcontrol is TextBox then
    end if
    next


    22 Why we use Treeview Control?

    To list the hierarchical list of the node objects. Such of files and Directories.


    23 Why we need OLE-Automation?
    Advantages?

    24 Which type of object requires this object?

    25 Which tool is used to configure the port range and protocols for DCOM communications?

    26 Which property of textbox cannot be changed at runtime. What is the max size of textbox?

    27 Which property of menu cannot be set at run time?

    28 Which Property is used to compress a image in image control?

    29 Which method is used to write context Into file?

    30 Which method is preferred to save datas like database?


  2. #2
    seenu is offline Junior Member Array
    Join Date
    Aug 2004
    Answers
    3

    Re:doubts in vb

    1 RecordsetType is the property to which Table type, Dynaset type, snapshot type values are valid

    2 Field collection in recordset used to assign a value from textbox to table columns without making a binding in data control.

    3 Name property of menu cannot be set at run time.

    4 Locked property is used to lock a textbox to enter a data.

    5 ListIndex is the property of List control where as TabIndex property is used to set the navigation order. i.e. The item with TabIndex 0 will receive the focus first
    6 ____ argument can be used to make a menuitem into bold.

    7 Form, Frame and picturebox container objects.

    8 pathname, window style arguments will be used to run a executable program in shell function example shell(“C:\\windows\\notepad.exe”, 1) runs notepad program of windows.

    9 Stretch is a property exclusive for image. Align,autosize are the properties of Picture box.

    10 simple , drop-down , drop-down list are the type of combo box . They can be chosen using the style property.

    11 ____ VB constant make the menu item in center.

    12 ___ property used to add menus at runtime.

    13 ListCount Property is used to count no. of items in a combo box.

    14 stretch Property is to compress a image in image control.

    15 rs.move( rows as long)method used to move a recordset pointer in nth position in DAO.

    16 OLE is the control used to call a windows application.

    17 autosize is a property to resize a label control according to your caption.

    18 There are two types of controls used in a Form. Standard and ActiveX.


    19 Write the Steps in Creating an ActiveX Control?

    a) File-> new -> Project-> activeX control
    b) Add necessary controls and code to the user Control , and save it as .ctl extension file. In project properties give a name to this control.(Ex myclock etc )
    c) File-> make .ocx
    d) For using it in another form press CTRL+T and choose the control from the list displayed.

    20 Write the steps in Creating ActiveX Dll and Active Exe?

    Follow link for the procedure http://msdn.microsoft.com/library/de...scomponent.asp

    21 With in the form we want to check all the text box control are typed or not? How?

    For Each ctl In Controls
    If TypeOf ctl Is TextBox Then
    If ctl.Text = \"\" Then
    MsgBox ctl.Name & \" is blank\"
    Else
    MsgBox ctl.Name & \" is not blank\"
    End If
    End If
    Next

    22 Why we use Treeview Control?

    To list the hierarchical list of the node objects. Such of files and Directories.


    23 Why we need OLE-Automation?
    Advantages?

    24 Which type of object requires this object?

    25. Which tool is used to configure the port range and protocols for DCOM communications?

    26 Which property of textbox cannot be changed at runtime. What is the max size of textbox?

    27 Which property of menu cannot be set at run time?
    Ans. name
    28. Which Property is used to compress a image in image control?
    Ans. Stretch

    Also Visit the Following links:

    http://www.ilook.fsnet.co.uk/index/vb_idx.htm

    http://www.quia.com/tq/300859.html

    http://www.imt.net/~joe/matt/program/vb/Tutorials/

    http://www.a1vbcode.com/

    http://www.vbcode.com/

    Post edited by: sanereddy, at: 2005/02/22 21:12


  3. #3
    kalareddy Guest

    Re:doubts in vb

    Here are the few questions compiled word format... .

    Post edited by: kalareddy, at: 2005/02/22 21:20


  4. #4
    kalareddy Guest

    Re:doubts in vb

    here it is ... [file name=VBFAq.zip size=52195]http://www.exforsys.com/components/com_simpleboard/uploaded/files/VBFAq.zip[/file]


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...