By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,646 Members | 2,098 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,646 IT Pros & Developers. It's quick & easy.

I have 2 questions

P: 1
Hi all,

My questions as follows:

1. Explain the decision making statements in Visual Basci.
2. Explain the MDI forms in Visual Basic and there uses.


Regards,
Nov 11 '06 #1
Share this Question
Share on Google+
8 Replies


100+
P: 1,646
Hi all,

My questions as follows:

1. Explain the decision making statements in Visual Basci.
2. Explain the MDI forms in Visual Basic and there uses.


Regards,
Hi. Answering this would take an entire book :)

The first question is not too clear so you may need to ask it again in a different way. The second question re. MDI forms may be answered simply as forms that allow you to open more than one document at a time, like MS Word.
Nov 11 '06 #2

100+
P: 267
Hi. Answering this would take an entire book :)

The first question is not too clear so you may need to ask it again in a different way. The second question re. MDI forms may be answered simply as forms that allow you to open more than one document at a time, like MS Word.

hi

first question is not clear at all
in mdi you can open a form or forms (child) within a form (parent)
Nov 11 '06 #3

Expert 5K+
P: 8,434
Hi all,
My questions as follows:
1. Explain the decision making statements in Visual Basci.
2. Explain the MDI forms in Visual Basic and there uses.
Regards,
I agree with the others that the questions are rather vague and are basically asking us to write an introductory VB course. However, here's a quick stab at the first one...

IF...Else...End If
Allows you to branch to one section of code or another, depending on an expression which evaluates to True or False.

Select Case
Allows you to execute one of many blocks of code, based on the value of an expression.

Those are what I suppose you could call the basic decision-making statements. Loops can also be performed based on a decision, with statements such as
Expand|Select|Wrap|Line Numbers
  1. Do While <expression> ... Loop
  2. or
  3. Do Until <expression> ... Loop
  4. or
  5. While <expression> ... Wend
  6.  
Nov 11 '06 #4

100+
P: 1,646
I agree with the others that the questions are rather vague and are basically asking us to write an introductory VB course. However, here's a quick stab at the first one...

IF...Else...End If
Allows you to branch to one section of code or another, depending on an expression which evaluates to True or False.

Select Case
Allows you to execute one of many blocks of code, based on the value of an expression.

Those are what I suppose you could call the basic decision-making statements. Loops can also be performed based on a decision, with statements such as
Expand|Select|Wrap|Line Numbers
  1. Do While <expression> ... Loop
  2. or
  3. Do Until <expression> ... Loop
  4. or
  5. While <expression> ... Wend
  6.  
This one is a little odd for me. I am not sure that answering the question will be of much use.

It may be that some people will learn better if they are coached into discussing the problem and are supported in working some of it out themselves. That way we know that they are getting benefit from being here.

Just my thoughts :)
Nov 12 '06 #5

100+
P: 267
This one is a little odd for me. I am not sure that answering the question will be of much use.

It may be that some people will learn better if they are coached into discussing the problem and are supported in working some of it out themselves. That way we know that they are getting benefit from being here.

Just my thoughts :)

odd questions, odd answers :)
Nov 12 '06 #6

Expert 5K+
P: 8,434
It may be that some people will learn better if they are coached into discussing the problem and are supported in working some of it out themselves. That way we know that they are getting benefit from being here.
Yeah, you're probably right. I need to learn to say no.

It's funny how often you get a post with something along the lines of "I want to build the world's greatest accounting program. Please send me the code."

Incidentally, am I the only one who has been getting these sort of things via PM lately?
Nov 12 '06 #7

100+
P: 1,646
Yeah, you're probably right. I need to learn to say no.

It's funny how often you get a post with something along the lines of "I want to build the world's greatest accounting program. Please send me the code."

Incidentally, am I the only one who has been getting these sort of things via PM lately?
They don't come to me but I am not on the experts list
Nov 13 '06 #8

Expert 5K+
P: 8,434
They don't come to me but I am not on the experts list
Maybe we should start referring to them as paparazzi?
Nov 13 '06 #9

Post your reply

Sign in to post your reply or Sign up for a free account.