hi everyone,
thanks for a nice and quick response.i have one ques regarding inputBox.This func can be used to accept the input msg from user if we want to write more than one msg in a single inputBox like
1.user name
2.password
then what we will have to do?a single inputBox is used to write single msg becoz it takes arguments for single msg.if i am wrong please correct me.and suggest me a good material on internet for vb also.
i have collected some from net itself but i dont know that much is sufficient or not.
thanks!
sneha

Recommended Answers

All 2 Replies

Hi,

if u dont want the use 2 input boxes, use one box and tell the user to enter Id and pwd seperated by a / and in ur code, u seperate both of them check this :

dim myarr
dim mystr
mystr=inputbox("Enter Uid/pwd")
if instr(mystr,"/")>0 then
  myarr =split(mystr,"/")
  msgbox "Id is :" & myarr(0)
  msgbox "pwd is :" & myarr(1)
end if

REgards
Veena

Hi,

I need to get password from Inputbox not in Text Format... Like password....* or #
Is there any Possibility..... Please kindly help me regarding this....

Thanks & Regars

Grace..........

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.