In Visual basic 6, i declare a sub like this:
Private Sub test1(ByRef XmlFooOutput As String)
...
End Sub
Aafter that, I declare another sub like the following one:
Private Sub test2(ByRef xmlFooOutput As String)
...
End Sub
Automagically, the first method is transformed in:
Private Sub test1(ByVal xmlFooOutput As String)
...
End Sub
So the XmlFooOutput parameter is transformed in xmlFooOutput.
This is a pretty dangerous feature because methods like those could be mapped to different XSL presentation files that read XML values through Xpath. So when test1 parameter is renamed, XSL bound to test1 method goes broken because Xpath points to XmlFooOuput but the correct value is now in xmlFooOutput.
Is it possible to remove this weird feature? I'm using Microsoft Visual Basic 6.0 (SP6).
This question has some duplicates:
- http://stackoverflow.com/questions/1064858/stop-visual-basic-6-from-changing-my-casing
- http://stackoverflow.com/questions/248760/vb6-editor-changing-case-of-variable-names
From what I see, there's no practical solution to disable this Intellisense evil feature.