Hi All,
I have a function. It creates an XML element:
Function newElement(ByVal doc As XmlDocument,
ByVal name As String, _
Optional ByVal text As String = Nothing, _
Optional ByVal pref As String = Nothing) As XmlElement
Dim xmlEl As XmlElement =...
Hi All,
I would like to ask:
How to Dim a 2-dimensional array with the first column is string, and the second column is integer? such as:
array(26, 2) = {("Apple", 11), ("Bee", 42), ("Cow", 23), ("Dog", 54)...., ("Zip", 216)}
Mike
Hi All,
I would like to ask how to traverse a TreeView.
Private Sub showTree (TreeView t)
‘display a treeView to the screen which structure is an unknown
End Sub
Mike
Hi All,
I am using VB 2005 Express.
I want to read/write XML file, what do I need to "imports"?
According to a book (year 2002), I need to:
"imports System.Xml" and
"imports System.Text" and then
Dim a XmlTextWriter.
However, in VB 2005 Express, under Class "System", I cannot find...
I've solved the problem.
Code is listed below if you are interested:
Imports Excel = Microsoft.Office.Interop.Excel
Public Class Form1
Public fname As String
Public inApp As Excel.Application
Public inBook As Excel.Workbook
Private Sub btnReadFile_Click(ByVal sender As System.Object...
Hi All,
When I open an Excel file, I got the following runtime error:
---------------------
System.Runtime.InteropServices.COMException was unhandled ErrorCode=-2147221164
Message="Retrieving the COM class factory for component with CLSID {00020819-0000-0000-C000-000000000046} failed due to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.