G
Guest
Public Class HSBC
Inherits Class1
Dim root As XmlElement
Dim node As XmlElement
Dim altnode As XmlElement
Dim myxml As New XmlDocument
Dim wr As New WR
root = myxml.CreateElement("CC5Request")
myxml.AppendChild(root)
node = myxml.CreateElement("Name")
node.InnerText = PosName
there is a notification node and myxml variables which is declaration
expected.
when i put that piece of code in a method it is ok.
I want to inherit from another class and add some piece of code to that
code. When i put it in a function is it possible to add some content to
that code.
How can i solve it ?
Inherits Class1
Dim root As XmlElement
Dim node As XmlElement
Dim altnode As XmlElement
Dim myxml As New XmlDocument
Dim wr As New WR
root = myxml.CreateElement("CC5Request")
myxml.AppendChild(root)
node = myxml.CreateElement("Name")
node.InnerText = PosName
there is a notification node and myxml variables which is declaration
expected.
when i put that piece of code in a method it is ok.
I want to inherit from another class and add some piece of code to that
code. When i put it in a function is it possible to add some content to
that code.
How can i solve it ?