mvPradeepemb (11/24/2008)
Option ExplicitPrivate Sub Command1_Click() End Sub I maybe jumping the gun but. A tip, you really shouldn't use the default names for controls, apart from a quick try of something. If the command button does something specific please use a specific prefix to that control name. This makes the code easier to follow. cmdOpen_Click(), txtUser.Text, lblValue.Caption etc All these control prefixes can be found in the VB6 Help. If you don't have MSDN help then you must be using an illegal copy of VB6 from a friend. Ask you friend if he has the MSDN help disks, perhaps his is illegal. No you can't download it for free. I'll post a copy of the prefixes if you're stuck. Its nice to see your using Option Explicit though.
Keith
I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
|