|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
VB syntax
ok .... first problem i have solved...i changed its name to cmdRoy.
then its working..its caption is changing as soon as i am clicking.. thnks but about second question..... how u people write code??? mixed case/ all in lower case??? i have seen it does not matter whether i use ,ixed or lowercase. bcoz i checked with msgbox "hi" and MsgBox " hi" at the command button... both giving the same result.....but still i feel there is some rule???? in java there is rule that class name starts with capital letter(altough not necessary).... does VB HAS something like that???
__________________
intelchip |
|
#2
|
||||
|
||||
|
No - VB is not case sensitive. If you type an objects/variable's name in lowercase, and the name is actually specified in upper case, then the Integrated development environment will automatically change it to match the declared object/variable. It's like I said earlier, if I have a form called frmMain, and I type in frmmain, then VB will recognize that as a valid name.
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > VB syntax |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|