Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
' Not real code
Dim MyDoc As New DomDocument40
MyDoc.Load("c:\somefile.xml")
debug.print MyDoc.xml
Call SomeProc(MyDoc)
debug.print MyDoc.xml
'---------
Public Sub SomeProc(ByVal MyDoc as DomDocument40)
' this is really bad practice
MyDoc.SelectSingleNode("//Somenode").Text = "New Value"
End Sub
While this is true, it is also false. It depends on how you interpret it.ByVal means that the procedure is not allowed to change the value. ByRef (the VB6 default) means that the procedure is allowed to change it.