please anyone giv me the sol

MsgBox Mid$(txtFirst.Text, 0, 2)

whts the prob with this line

it displays "invalid procedure call or argument""

please help me

Recommended Answers

All 2 Replies

Hi,
Just replace the 0 by 1 for the start index:
MsgBox Mid$(txtFirst.Text, 1, 2)

fine its work out

thank you Kb.net

thanks a lot

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.