Question about Microsoft Visual Basic Professional Edition 6.0 for PC

# Where can i find an example program of visual basic that can input an odd and even number and can display the result of highest even and highest odd number and can sort them from minimum to maximum

Posted by on

• Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that gotĀ 5 achievements.

Governor:

An expert whose answer gotĀ voted for 20 times.

Hot-Shot:

An expert who has answered 20 questions.

• Expert

Http://www.microsoft.com/visualstudio/en-us/products/teamsystem/default.mspx?pt_id=-1&WT.mc_id=B66C779D-0907-4EE1-9435-FED85F10C8E2&WT.srch=1&wt.mc_id=vspdsrch

Posted on May 04, 2009

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
goodluck!

Posted on Jan 02, 2017

×

my-video-file.mp4

×

## Related Questions:

### How can i display an even number if i enter an odd number in visual basic 6.0

To display an even number when an odd number is entered you can add 1.
n= val(text1.text) 'Take the value of n from the textbox.
If n mod 2 =1 then 'If n is an odd number n=n+1 'You make it an even number end if
text2.text = n 'Display it in another textbox.

Please give a good rating to this answer so that I will be encouraged to support people like you having problems with VB6.

Sep 22, 2011 | Computers & Internet

### What is the advantage of visual basic 6.0?

Feb 17, 2011 | Microsoft Visual Basic 6.0 for PC

### In all list of 100 integers. count all even numbers and all odd numbers and display results

The even numbers from 1 to 100 are:
2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,
54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100

The odd numbers from 1 to 100 are:
1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29,
31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59
61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89,
91, 93, 95, 97, 99
Please let me know if it helped by selecting YES. Thank you for choosing FixYa! Your rating will help me succeed and continuously help a lot people.

Jan 31, 2011 | Microsoft Visual Basic 6.0 for PC

### Visual foxpro code for how to search

If the search field is not indexed:
LOCATE FOR <fld_search> <condition> [CONTINUE]
Example: * View customers with outstanding bills USE CUST LOCATE FOR cBillDue > 0 DISPLAY OFF cCustId, cBillDue DO WHILE !EOF() CONTINUE IF NOT EOF() DISPLAY OFF cCustId, cBillDue ENDIF ENDDO
If the search field is indexed:SET ORDER TO TAG <index_tag> SEEK <value>
Example:* Locate customer '0025' USE CUST SET ORDER TO TAG custid SEEK '0025' IF FOUND() DISPLAY ELSE = MESSAGEBOX('CUSTOMER 0025 was not found') ENDIF
Best regards

Sep 20, 2010 | Microsoft Visual Basic Enterprise Edition...

### I want to have the source codes for printing diamond shape asterisk in visual basic

I am pretty sure I got this as a homework assignment in programming class. If I had someone give it to me then I wouldn't be even the limited programmer I am now. That said, I will help, but I will not give you the full out answer.

1. The number of stars and characters per line are an odd number to make the ASCii look like a diamond. For my example, the maximum number of characters per line is five.
2. Create a variable called dia_star that will hold the spaces and stars. To figure out the number of spaces that should be put into each star line, use this formula:
number of spaces per star = ( max number of characters per line - number of stars) / 2
dia star = number of lines before star and "*"
print dia star

1. --*--
2. -***-
3. *****
Good Luck,

NOLA Tech

Jan 30, 2010 | Microsoft Visual Basic Enterprise Edition...

### How can i display tables result from query in access using listview in visual basic 6.0

Return the query in a recordset and loop through it. In each loop iteration, add an item to the list.

Mar 04, 2009 | Microsoft Visual Basic 6.0 for PC

### With spaces and exclude spaces

Use the Len function
number_or_characters = Len(your_input_string)

Taking input from a TextBox is easy:
number_or_characters = Len(txtInput.Text)

Mar 04, 2009 | Microsoft Visual Basic 6.0 for PC

### An example of visual basic program

Visual Basic (VB) is the thrid generation event-driven programming language and integrated development enviorment (IDE) from Microsoft for its COMprogramming model. VB is also considered a relatively easy to learn anduse programming language, because of its graphical development featuresand BASIC heritage.
Here is an example of a code that displays a message box "Hello, World!"
as the program runs:

Private
MsgBox "Hello, World!"
End Sub

simply making duplicated lines of text and changing the words in the
speech marks can draw a different text and ammounts.
For example:

Private
MsgBox "Welcome, blue_skies61!"
MsgBox "My name is Siwek06!"
End Sub

you can also bold the text by puting this line before a text:

Sub SetFontBold()

Overall i think this is a easy language to learn.
Go on to microsoft.com help center, or the forums to learn more.

Feb 23, 2009 | Visual Land V-Touch Digital Media Player

### Pls. help me

Q.2#  Dim n, sum as Double
Dim i as Integer
n=100
sum=0

for i=1 to n
sum=sum+1/n
next i

Q.3#  Dim sum as Double
sum=0
for i=1 to 99
if i%2 <> 0 then sum=sum+i end if
next i

Sep 16, 2008 | Microsoft AccRepair DS2 2004 for Fr...

#### Related Topics:

190 people viewed this question

Level 3 Expert

Level 3 Expert