4
Contributors
5
Replies
6
Views
10 Years
Discussion Span
Last Post by saikrish
0

Hi,

if u want to get users response, create a new form(frmOptions) with all the options and show it in modal form, this way,

frmOptions.Show 1

The Program Halts processing until u close the Modal frmOptions.

Alternatively, u can give options in a Frame and show the frame, but u have to disable other controls on the form and lots of coding has to be done here for that.

Regards
Veena

0

do u mean how to end a programm if the user wrote something you dont want?
if yes
lets say you need the program to end when the user writes 5

a=val(inputbox(""))
if a=5 then 
end 
end if
 
;
0

Hi,

if u want to get users response, create a new form(frmOptions) with all the options and show it in modal form, this way,

frmOptions.Show 1

The Program Halts processing until u close the Modal frmOptions.

Alternatively, u can give options in a Frame and show the frame, but u have to disable other controls on the form and lots of coding has to be done here for that.

Regards
Veena

Thanks, Veena - can you suggest a book that would have information such as you gave me?

0

Hi,

Check these books,

Teach Yourself Database Programming in VB6 in 21 days,
Mastering VB6 by Evangelos Petroutsos

All teach yourself in 21 days books are good.

Regards
Veena

0

hello buddies

firstly the answer was help ful a lol

but................. with some modifications!!!!!!!

i did frmoptions.Showdialog()

and it worked

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.