Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Microsoft Visual Basic Interview Questions: Microsoft VB Certification Review
Microsoft Visual Basic Interview Questions: Microsoft VB Certification Review
Microsoft Visual Basic Interview Questions: Microsoft VB Certification Review
Ebook179 pages1 hour

Microsoft Visual Basic Interview Questions: Microsoft VB Certification Review

Rating: 0 out of 5 stars

()

Read preview

About this ebook

The Ultimate Reference & Interview Guide for Microsoft Visual Basic Developers!

In-depth questions, answers, and explanations

It’s clear that Visual Basics is the future for Windows programmers and administrators, but finding up-to-date and user friendly resources can be challenging. From helping you to assess your VB skills to evaluating candidates for a job, Ace Your Next Visual Basic Interview will help you understand what you really need to know. The book is organized around common challenges with Visual Basic implementation. Each question includes everything you need to know to master the interview or properly evaluate a candidate. More than just a rehash of Microsoft documentation and sales presentations, each question is based on project knowledge and experience gained on successful high-profile Visual Basic implementations.

Key topics include:

Troubleshooting during implementations
New features of VB 2005
Design, performance tuning, audit and security
Database client/server development and monitoring

LanguageEnglish
PublisherEquity Press
Release dateJun 3, 2011
ISBN9781603322218
Microsoft Visual Basic Interview Questions: Microsoft VB Certification Review

Read more from Equity Press

Related to Microsoft Visual Basic Interview Questions

Related ebooks

Resumes For You

View More

Related articles

Related categories

Reviews for Microsoft Visual Basic Interview Questions

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Microsoft Visual Basic Interview Questions - Equity Press

    Table of contents:

    Question 01: Getting value between html tags

    Question 02: MSFlex grid

    Question 03: SQL help from VB program

    Question 04: Get return code after Update in VB

    Question 05: Getting out of infinite loop and incrementing values

    Question 06: Cropping directory name

    Question 07: File not closing causing error

    Question 08: Install My Project

    Question 09: Report Viewer Toolbar Issue

    Question 10: MSHFLEXGRID RIGHT MOUSE FOCUS

    Question 11: Get version of application into the form caption

    Question 12: First line of array is missing

    Question 13: Random sort a listview

    Question 14: Incorrect syntax near '='

    Question 15: fil = Dir: error

    Question 16: Proper way to start an application

    Question 17: Outlook Public Folder and Distribution List

    Question 18: MSFLXGRD.OCX ERROR

    Question 19: Check data in datagrid2

    Question 20: Include a file when packaging app

    Question 21: Shell printing and close

    Question 22: Order by problem

    Question 23: Fill a Field for all records with the same data

    Question 24: VBScript Eval() function supported commands

    Question 25: Invalid Bookmark error

    Question 26: Change the form icon

    Question 27: Start to learn VB

    Question 28: Delete files with unknown file names

    Question 29: Cropping a bitmap after a copy

    Question 30: Too many files

    Question 31: Text in a Picture box

    Question 32: DAO Data Control property Database

    Question 33: Calling a C# application from a vb6 Application

    Question 34: Test for page load in browser control

    Question 35: Problem with Inet Control

    Question 36: List box with Checkbox Problem

    Question 37: Get text between two markers

    Question 38: Round Time

    Question 39: FileCopy with new CreatedBy Datestamp

    Question 40: MultiLine Textbox

    Question 41: Print from keyboard to picturebox

    Question 42: Form borderstyle ignored if menu is present

    Question 43: Date format discrepancy

    Question 44: XP Regional Options

    Question 45: Alternate Language

    Question 46: ListView highlight of selected items

    Question 47: Set System Date

    Question 48: DataCombo Box VB6 Method

    Question 49: WithEvents Workbook_Close from Add-In

    Question 50: MS Access inter-application communication

    Question 51: Send a string from Access to a Web Site TextBox

    Question 52: UDF in Access not available from Excel VBA

    Question 53: Run software in Background

    Question 54: Recordset

    Question 55: Delete folders

    Question 56: Maximize screensaver at run

    Question 57: Register dll from vb

    Question 58: Button Graphic - Remove Grey Box

    Question 59: Object doesn’t support property or method

    Question 60: Menu width

    Question 61: Change Caret (Insertion) Cursor

    Question 62: Change color during runtime

    Question 63: Listview + checkboxes problem

    Question 64: Treeview

    Question 65: Formatting decimal to currency

    Question 66: Stop/start richtextbox updating

    Question 67: Define Ordinal

    Question 68: Check for items added/deleted

    Question 69: Stop a process

    Question 70: Search in a string

    Question 71: Enumerate USB Devices

    Question 72: Opening Computer Management MMC from VB.NET

    Question 73: App.config

    Question 74: View Class Diagram option missing

    Question 75: Load bmp and save as jpg

    Question 76: Consolidate an arraylist

    Question 77: Finding the last / in a string

    Question 78: Treeview Selected Node Appearance

    Question 79: Balloon Tips

    Question 80: Nested Classes

    Question 81: Adding new record to database

    Question 82: C++ class into VB.Net

    Question 83: Picture position

    Question 84: Problem in login authentication

    Question 85: Capture Top-Left position

    Question 86: Save Listbox as a JPG

    Question 87: Object Reference

    Question 88: Listview - Auto selection

    Question 89: RichTextBox - Page Up/Down

    Question 90: Improve slow

    Question 91: Sort an array but know original positions

    Question 92: Microsoft Script Control Path problem

    Question 93: Sql string problem

    Question 94: ADODB Recordset for more than 1 Subform

    Question 95: MonthView Date Range in VB

    Question 96: Insert values separated by commas in a table

    Question 97: Yes, no cancel

    Question 98: isString function

    Question 99: Find Blank Excel Cells

    Question 100: Xmlhttp

    Acknowledgements

    Question 01: Getting value between html tags

    I have this application that loads html and it needs to search through all the html and list the numbers between VALUE=and >. I want to collect bold number: VALUE=3018>.

    My program’s output is:

    CODE:

    http://localhost/new/player.php?song=,album.php?show_albums,3018,3019,3020,3021"

    But I want it to look like this:

    CODE:

    http://localhost/new/player.php?song=3018,3019,3020,3021

    I could not remove the extra album.php?show_albums from output URL.

    Html code has mane of this type of blocks:

    CODE:

    center scope=row>1

    center>Checkbox NAME=song_id ONCLICK=reviewSelection(); VALUE=3018>

    # class=song_title onclick=loadPlayer('3018');return false;> my life

    center> 

    center> 

    My code:

    Private Sub Command1_Click(Index As Integer)

    Select Case Index

    Case 0:

    If txtURL.Text <> Then

    RichTextBox1.Text = Inet1.OpenURL(txtURL.Text, icString)

    End If

    Case 1:

    End

    End Select

    End Sub

    Private Sub Command2_Click()

    Dim sResult() As String, n As Long

    [color red]

    If GetLine(RichTextBox1.Text, VALUE=, > , sResult) Then

    ‘Occurrences were found and have been placed in the array

    Text1.Text = http://localhost/new/player.php?song

    For n = LBound(sResult) To UBound(sResult)

    List1.AddItem sResult(n)

    Text1.Text = Text1.Text & , & Split(sResult(n), =)(1)

    Next n

    '--------------- end of making URL code

    Else

    ‘No occurrences were found

    End If

    End Sub

    Private Function GetLine(ByVal sText As String, ByVal sStart As String, ByVal sEnd As String, ByRef sArr() As String) As Boolean

    Dim lPos As Long, lEnd As Long, lCount As Long, sTemp() As String

    ReDim sTemp(100)

    lPos = InStr(1, sText, sStart, vbTextCompare)

    Do While lPos

    lEnd = InStr(lPos, sText, sEnd, vbTextCompare)

    If lEnd Then

    'Remove & sEnd from the below line.

    'sTemp(lCount) = Mid$(sText, lPos, lEnd - lPos) & sEnd

    sTemp(lCount) = Mid$(sText, lPos, lEnd - lPos)

    lPos = InStr(lEnd, sText, sStart, vbTextCompare)

    Else

    sTemp(lCount) = Mid$(sText, lPos)

    lPos = 0

    End If

    lCount = lCount + 1

    If lCount > UBound(sTemp) Then ReDim Preserve sTemp(100 + lCount)

    Loop

    If lCount > 0 Then

    ReDim Preserve sTemp(lCount - 1)

    sArr = sTemp

    End If

    GetLine = lCount

    End Function

    How do I achieve my preferred output from the program?

    A: I would simply put the onclick like this:

    Private Sub Command2_Click()

    Dim rx As RegExp

    Dim cm As MatchCollection

    Dim m As Match

    Dim separator As String

    Dim i As Integer

    separator = ,

    Enjoying the preview?
    Page 1 of 1