473,248 Members | 1,432 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,248 software developers and data experts.

Still Problems Serializing Arrays

I am still stuck trying to create a Class to use for exporting and importing
array data to/from XML. The format of the XML that I want to import/export
is shown below as is the Class and the code I am using to create a sample
XML file. I am trying to dimension the ArrayOfJudgeEntity to have two sets
of the JudgeTableEntity values. When I run the code I get an error that the
XML is not correct.

I jsut can't get my head around the array serialization.

Any help is much appreciated

Wayne

=================== Desired XML ==============
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfJudgeTableEntity xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<JudgeTableEntity>
<JudgeId>63371991-cdf9-4cc5-99c1-a42c599498f8</JudgeId>
<JudgeFirstName>Kristen</JudgeFirstName>
<JudgeLastName>O'Melia</JudgeLastName>
<JudgeType>Equipment</JudgeType>
</JudgeTableEntity>
<JudgeTableEntity>
<JudgeId>ce2c0c6e-4094-43da-9d8c-9726d81b017e</JudgeId>
<JudgeFirstName>Smith</JudgeFirstName>
<JudgeLastName>Dan</JudgeLastName>
<JudgeType>Movement</JudgeType>
</JudgeTableEntity>
</ArrayOfJudgeTableEntity>

============= Class Definition =============
Public Class ArrayOfJudgeTableEntity
'<XmlArray("JudgeTableEntity"), XmlArrayItem("JudgeTableEntity",
IsNullable:=True)> Public JudgeTableEntityX() As JudgeTableEntity
<XmlElement("JudgeTableEntity", IsNullable:=True)> Public
JudgeTableEntity()
Public Sub New()
End Sub
Public Sub New(ByVal j As Integer)
ReDim Preserve JudgeTableEntity(j)
End Sub 'New
End Class
Public Class JudgeTableEntity
<XmlElement("JudgeID")> Public JudgeID As String
<XmlElement("JudgeFirstName")> Public JudgeFirstName As String
<XmlElement("JudgeLastName")> Public JudgeLastName As String
<XmlElement("JudgeType")> Public JudgeType As String
Public Sub New()
End Sub 'New
Public Sub New(ByVal id As String, ByVal fn As String, ByVal ln As
String, ByVal type As String)
JudgeID = id
JudgeType = type
JudgeFirstName = fn
JudgeLastName = ln
End Sub
End Class

================ Code to Build Sample Output =================
Dim Judge1 As New JudgeTableEntity("ID1", "Shirlee", "Whitcomb", "GE")
Dim Judge2 As New JudgeTableEntity("ID2", "Joe", "Courtney", "TaP")
Dim array2 As New ArrayOfJudgeTableEntity(1)
array2.JudgeTableEntity(0) = Judge1
array2.JudgeTableEntity(1) = Judge2
Dim ser As New XmlSerializer(GetType(ArrayOfJudgeTableEntity))
AddHandler ser.UnknownNode, AddressOf serializer_UnknownNode
AddHandler ser.UnknownElement, AddressOf serializer_UnknownElement
Dim writer As New XmlTextWriter("c:\Temp\judgestest.xml",
System.Text.Encoding.UTF8)
' write a human readable file
writer.Formatting = Formatting.Indented
Try
ser.Serialize(writer, array2)
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
'End
End Try
writer.Close()
Nov 12 '05 #1
4 2694
Wayne,

I took your sample XML, inferred a schema with xsd.exe, which ships as part
of the .NET framework, and generated classes that can deserialize XML that
conforms to the schema ... see code below.

There are other tools to infer schemas and create .NET classes for
serialization as well. Take a look at the XML tools page on gotdotnet for the
links.

Each tool as their strengths and weaknesses, but they may get you started in
the right direction.
You're issue right now seems to be that you are trying to deserialize an
array of ArrayOfJudgeTableEntities. Does the XML you are trying to
deserialize contain a root element for the ArrayOfJudgeTableEntities items or
are you reading a continuous stream to ArrayOfJudgeTableEntities elements,
which would be an XML document fragment, not a well formed document.

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

//
// This source code was auto-generated by xsd, Version=1.1.4322.573.
//
using System.Xml.Serialization;
/// <remarks/>
[System.Xml.Serialization.XmlRootAttribute(Namespac e="", IsNullable=false)]
public class ArrayOfJudgeTableEntity {

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Judg eTableEntity",
Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public ArrayOfJudgeTableEntityJudgeTableEntity[] Items;
}

/// <remarks/>
public class ArrayOfJudgeTableEntityJudgeTableEntity {

/// <remarks/>

[System.Xml.Serialization.XmlElementAttribute(Form= System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string JudgeId;

/// <remarks/>

[System.Xml.Serialization.XmlElementAttribute(Form= System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string JudgeFirstName;

/// <remarks/>

[System.Xml.Serialization.XmlElementAttribute(Form= System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string JudgeLastName;

/// <remarks/>

[System.Xml.Serialization.XmlElementAttribute(Form= System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string JudgeType;
}

"Wayne Wengert" wrote:
I am still stuck trying to create a Class to use for exporting and importing
array data to/from XML. The format of the XML that I want to import/export
is shown below as is the Class and the code I am using to create a sample
XML file. I am trying to dimension the ArrayOfJudgeEntity to have two sets
of the JudgeTableEntity values. When I run the code I get an error that the
XML is not correct.

I jsut can't get my head around the array serialization.

Any help is much appreciated

Wayne

=================== Desired XML ==============
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfJudgeTableEntity xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<JudgeTableEntity>
<JudgeId>63371991-cdf9-4cc5-99c1-a42c599498f8</JudgeId>
<JudgeFirstName>Kristen</JudgeFirstName>
<JudgeLastName>O'Melia</JudgeLastName>
<JudgeType>Equipment</JudgeType>
</JudgeTableEntity>
<JudgeTableEntity>
<JudgeId>ce2c0c6e-4094-43da-9d8c-9726d81b017e</JudgeId>
<JudgeFirstName>Smith</JudgeFirstName>
<JudgeLastName>Dan</JudgeLastName>
<JudgeType>Movement</JudgeType>
</JudgeTableEntity>
</ArrayOfJudgeTableEntity>

============= Class Definition =============
Public Class ArrayOfJudgeTableEntity
'<XmlArray("JudgeTableEntity"), XmlArrayItem("JudgeTableEntity",
IsNullable:=True)> Public JudgeTableEntityX() As JudgeTableEntity
<XmlElement("JudgeTableEntity", IsNullable:=True)> Public
JudgeTableEntity()
Public Sub New()
End Sub
Public Sub New(ByVal j As Integer)
ReDim Preserve JudgeTableEntity(j)
End Sub 'New
End Class
Public Class JudgeTableEntity
<XmlElement("JudgeID")> Public JudgeID As String
<XmlElement("JudgeFirstName")> Public JudgeFirstName As String
<XmlElement("JudgeLastName")> Public JudgeLastName As String
<XmlElement("JudgeType")> Public JudgeType As String
Public Sub New()
End Sub 'New
Public Sub New(ByVal id As String, ByVal fn As String, ByVal ln As
String, ByVal type As String)
JudgeID = id
JudgeType = type
JudgeFirstName = fn
JudgeLastName = ln
End Sub
End Class

================ Code to Build Sample Output =================
Dim Judge1 As New JudgeTableEntity("ID1", "Shirlee", "Whitcomb", "GE")
Dim Judge2 As New JudgeTableEntity("ID2", "Joe", "Courtney", "TaP")
Dim array2 As New ArrayOfJudgeTableEntity(1)
array2.JudgeTableEntity(0) = Judge1
array2.JudgeTableEntity(1) = Judge2
Dim ser As New XmlSerializer(GetType(ArrayOfJudgeTableEntity))
AddHandler ser.UnknownNode, AddressOf serializer_UnknownNode
AddHandler ser.UnknownElement, AddressOf serializer_UnknownElement
Dim writer As New XmlTextWriter("c:\Temp\judgestest.xml",
System.Text.Encoding.UTF8)
' write a human readable file
writer.Formatting = Formatting.Indented
Try
ser.Serialize(writer, array2)
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
'End
End Try
writer.Close()

Nov 12 '05 #2
Christoph;

Thanks for the response. You are right that I need to learn more about the
available tools. I'll check out that link and review your suggestions.

The ArrayOfJudgeTableEntities is the root element (occurs only once). There
are many JudgeTableEntity sets within that root.

Wayne
"Christoph Schittko [MVP]" <Christoph Schittko
[MVP]@discussions.microsoft.com> wrote in message
news:03**********************************@microsof t.com...
Wayne,

I took your sample XML, inferred a schema with xsd.exe, which ships as part of the .NET framework, and generated classes that can deserialize XML that
conforms to the schema ... see code below.

There are other tools to infer schemas and create .NET classes for
serialization as well. Take a look at the XML tools page on gotdotnet for the links.

Each tool as their strengths and weaknesses, but they may get you started in the right direction.
You're issue right now seems to be that you are trying to deserialize an
array of ArrayOfJudgeTableEntities. Does the XML you are trying to
deserialize contain a root element for the ArrayOfJudgeTableEntities items or are you reading a continuous stream to ArrayOfJudgeTableEntities elements,
which would be an XML document fragment, not a well formed document.

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
//--------------------------------------------------------------------------
---- // <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated.
// </autogenerated>
//--------------------------------------------------------------------------
----
//
// This source code was auto-generated by xsd, Version=1.1.4322.573.
//
using System.Xml.Serialization;
/// <remarks/>
[System.Xml.Serialization.XmlRootAttribute(Namespac e="", IsNullable=false)] public class ArrayOfJudgeTableEntity {

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Judg eTableEntity",
Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public ArrayOfJudgeTableEntityJudgeTableEntity[] Items;
}

/// <remarks/>
public class ArrayOfJudgeTableEntityJudgeTableEntity {

/// <remarks/>

[System.Xml.Serialization.XmlElementAttribute(Form= System.Xml.Schema.XmlSche
maForm.Unqualified)] public string JudgeId;

/// <remarks/>

[System.Xml.Serialization.XmlElementAttribute(Form= System.Xml.Schema.XmlSche
maForm.Unqualified)] public string JudgeFirstName;

/// <remarks/>

[System.Xml.Serialization.XmlElementAttribute(Form= System.Xml.Schema.XmlSche
maForm.Unqualified)] public string JudgeLastName;

/// <remarks/>

[System.Xml.Serialization.XmlElementAttribute(Form= System.Xml.Schema.XmlSche
maForm.Unqualified)] public string JudgeType;
}

"Wayne Wengert" wrote:
I am still stuck trying to create a Class to use for exporting and importing array data to/from XML. The format of the XML that I want to import/export is shown below as is the Class and the code I am using to create a sample XML file. I am trying to dimension the ArrayOfJudgeEntity to have two sets of the JudgeTableEntity values. When I run the code I get an error that the XML is not correct.

I jsut can't get my head around the array serialization.

Any help is much appreciated

Wayne

=================== Desired XML ==============
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfJudgeTableEntity xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<JudgeTableEntity>
<JudgeId>63371991-cdf9-4cc5-99c1-a42c599498f8</JudgeId>
<JudgeFirstName>Kristen</JudgeFirstName>
<JudgeLastName>O'Melia</JudgeLastName>
<JudgeType>Equipment</JudgeType>
</JudgeTableEntity>
<JudgeTableEntity>
<JudgeId>ce2c0c6e-4094-43da-9d8c-9726d81b017e</JudgeId>
<JudgeFirstName>Smith</JudgeFirstName>
<JudgeLastName>Dan</JudgeLastName>
<JudgeType>Movement</JudgeType>
</JudgeTableEntity>
</ArrayOfJudgeTableEntity>

============= Class Definition =============
Public Class ArrayOfJudgeTableEntity
'<XmlArray("JudgeTableEntity"), XmlArrayItem("JudgeTableEntity",
IsNullable:=True)> Public JudgeTableEntityX() As JudgeTableEntity
<XmlElement("JudgeTableEntity", IsNullable:=True)> Public
JudgeTableEntity()
Public Sub New()
End Sub
Public Sub New(ByVal j As Integer)
ReDim Preserve JudgeTableEntity(j)
End Sub 'New
End Class
Public Class JudgeTableEntity
<XmlElement("JudgeID")> Public JudgeID As String
<XmlElement("JudgeFirstName")> Public JudgeFirstName As String
<XmlElement("JudgeLastName")> Public JudgeLastName As String
<XmlElement("JudgeType")> Public JudgeType As String
Public Sub New()
End Sub 'New
Public Sub New(ByVal id As String, ByVal fn As String, ByVal ln As
String, ByVal type As String)
JudgeID = id
JudgeType = type
JudgeFirstName = fn
JudgeLastName = ln
End Sub
End Class

================ Code to Build Sample Output =================
Dim Judge1 As New JudgeTableEntity("ID1", "Shirlee", "Whitcomb", "GE")
Dim Judge2 As New JudgeTableEntity("ID2", "Joe", "Courtney", "TaP") Dim array2 As New ArrayOfJudgeTableEntity(1)
array2.JudgeTableEntity(0) = Judge1
array2.JudgeTableEntity(1) = Judge2
Dim ser As New XmlSerializer(GetType(ArrayOfJudgeTableEntity))
AddHandler ser.UnknownNode, AddressOf serializer_UnknownNode
AddHandler ser.UnknownElement, AddressOf serializer_UnknownElement Dim writer As New XmlTextWriter("c:\Temp\judgestest.xml",
System.Text.Encoding.UTF8)
' write a human readable file
writer.Formatting = Formatting.Indented
Try
ser.Serialize(writer, array2)
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
'End
End Try
writer.Close()

Nov 12 '05 #3
Wayne,

In general, you should always be able to deserialize XML written with
the XmlSerializer into instances of the same classes you used to
serialize.
Did you get it to work or do you still have problems? On a side note,
I'm not a VB expert, but does your code compile with Option Strict on?

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
-----Original Message-----
From: Wayne Wengert [mailto:wa***************@wengert.com]
Posted At: Friday, January 28, 2005 8:41 AM
Posted To: microsoft.public.dotnet.xml
Conversation: Still Problems Serializing Arrays
Subject: Still Problems Serializing Arrays

I am still stuck trying to create a Class to use for exporting and
importing
array data to/from XML. The format of the XML that I want to import/export is shown below as is the Class and the code I am using to create a sample XML file. I am trying to dimension the ArrayOfJudgeEntity to have two sets of the JudgeTableEntity values. When I run the code I get an error that the
XML is not correct.

I jsut can't get my head around the array serialization.

Any help is much appreciated

Wayne

=================== Desired XML ==============
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfJudgeTableEntity xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<JudgeTableEntity>
<JudgeId>63371991-cdf9-4cc5-99c1-a42c599498f8</JudgeId>
<JudgeFirstName>Kristen</JudgeFirstName>
<JudgeLastName>O'Melia</JudgeLastName>
<JudgeType>Equipment</JudgeType>
</JudgeTableEntity>
<JudgeTableEntity>
<JudgeId>ce2c0c6e-4094-43da-9d8c-9726d81b017e</JudgeId>
<JudgeFirstName>Smith</JudgeFirstName>
<JudgeLastName>Dan</JudgeLastName>
<JudgeType>Movement</JudgeType>
</JudgeTableEntity>
</ArrayOfJudgeTableEntity>

============= Class Definition =============
Public Class ArrayOfJudgeTableEntity
'<XmlArray("JudgeTableEntity"), XmlArrayItem("JudgeTableEntity",
IsNullable:=True)> Public JudgeTableEntityX() As JudgeTableEntity
<XmlElement("JudgeTableEntity", IsNullable:=True)> Public
JudgeTableEntity()
Public Sub New()
End Sub
Public Sub New(ByVal j As Integer)
ReDim Preserve JudgeTableEntity(j)
End Sub 'New
End Class
Public Class JudgeTableEntity
<XmlElement("JudgeID")> Public JudgeID As String
<XmlElement("JudgeFirstName")> Public JudgeFirstName As String
<XmlElement("JudgeLastName")> Public JudgeLastName As String
<XmlElement("JudgeType")> Public JudgeType As String
Public Sub New()
End Sub 'New
Public Sub New(ByVal id As String, ByVal fn As String, ByVal ln As
String, ByVal type As String)
JudgeID = id
JudgeType = type
JudgeFirstName = fn
JudgeLastName = ln
End Sub
End Class

================ Code to Build Sample Output =================
Dim Judge1 As New JudgeTableEntity("ID1", "Shirlee", "Whitcomb", "GE")
Dim Judge2 As New JudgeTableEntity("ID2", "Joe", "Courtney",
"TaP")
Dim array2 As New ArrayOfJudgeTableEntity(1)
array2.JudgeTableEntity(0) = Judge1
array2.JudgeTableEntity(1) = Judge2
Dim ser As New XmlSerializer(GetType(ArrayOfJudgeTableEntity))
AddHandler ser.UnknownNode, AddressOf serializer_UnknownNode
AddHandler ser.UnknownElement, AddressOf serializer_UnknownElement Dim writer As New XmlTextWriter("c:\Temp\judgestest.xml",
System.Text.Encoding.UTF8)
' write a human readable file
writer.Formatting = Formatting.Indented
Try
ser.Serialize(writer, array2)
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
'End
End Try
writer.Close()

Nov 12 '05 #4
Christoph;

Not working yet - I have another crisis that is taking most of my time for
the next day or so. Yes, Option Strict is on.

Thanks for the continued help!

Wayne

"Christoph Schittko [MVP]" <IN**********@austin.rr.com> wrote in message
news:u0*************@TK2MSFTNGP14.phx.gbl...
Wayne,

In general, you should always be able to deserialize XML written with
the XmlSerializer into instances of the same classes you used to
serialize.
Did you get it to work or do you still have problems? On a side note,
I'm not a VB expert, but does your code compile with Option Strict on?

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
-----Original Message-----
From: Wayne Wengert [mailto:wa***************@wengert.com]
Posted At: Friday, January 28, 2005 8:41 AM
Posted To: microsoft.public.dotnet.xml
Conversation: Still Problems Serializing Arrays
Subject: Still Problems Serializing Arrays

I am still stuck trying to create a Class to use for exporting and
importing
array data to/from XML. The format of the XML that I want to

import/export
is shown below as is the Class and the code I am using to create a

sample
XML file. I am trying to dimension the ArrayOfJudgeEntity to have two

sets
of the JudgeTableEntity values. When I run the code I get an error

that
the
XML is not correct.

I jsut can't get my head around the array serialization.

Any help is much appreciated

Wayne

=================== Desired XML ==============
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfJudgeTableEntity xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<JudgeTableEntity>
<JudgeId>63371991-cdf9-4cc5-99c1-a42c599498f8</JudgeId>
<JudgeFirstName>Kristen</JudgeFirstName>
<JudgeLastName>O'Melia</JudgeLastName>
<JudgeType>Equipment</JudgeType>
</JudgeTableEntity>
<JudgeTableEntity>
<JudgeId>ce2c0c6e-4094-43da-9d8c-9726d81b017e</JudgeId>
<JudgeFirstName>Smith</JudgeFirstName>
<JudgeLastName>Dan</JudgeLastName>
<JudgeType>Movement</JudgeType>
</JudgeTableEntity>
</ArrayOfJudgeTableEntity>

============= Class Definition =============
Public Class ArrayOfJudgeTableEntity
'<XmlArray("JudgeTableEntity"), XmlArrayItem("JudgeTableEntity",
IsNullable:=True)> Public JudgeTableEntityX() As JudgeTableEntity
<XmlElement("JudgeTableEntity", IsNullable:=True)> Public
JudgeTableEntity()
Public Sub New()
End Sub
Public Sub New(ByVal j As Integer)
ReDim Preserve JudgeTableEntity(j)
End Sub 'New
End Class
Public Class JudgeTableEntity
<XmlElement("JudgeID")> Public JudgeID As String
<XmlElement("JudgeFirstName")> Public JudgeFirstName As String
<XmlElement("JudgeLastName")> Public JudgeLastName As String
<XmlElement("JudgeType")> Public JudgeType As String
Public Sub New()
End Sub 'New
Public Sub New(ByVal id As String, ByVal fn As String, ByVal ln As
String, ByVal type As String)
JudgeID = id
JudgeType = type
JudgeFirstName = fn
JudgeLastName = ln
End Sub
End Class

================ Code to Build Sample Output =================
Dim Judge1 As New JudgeTableEntity("ID1", "Shirlee", "Whitcomb", "GE")
Dim Judge2 As New JudgeTableEntity("ID2", "Joe", "Courtney",
"TaP")
Dim array2 As New ArrayOfJudgeTableEntity(1)
array2.JudgeTableEntity(0) = Judge1
array2.JudgeTableEntity(1) = Judge2
Dim ser As New XmlSerializer(GetType(ArrayOfJudgeTableEntity))
AddHandler ser.UnknownNode, AddressOf serializer_UnknownNode
AddHandler ser.UnknownElement, AddressOf

serializer_UnknownElement
Dim writer As New XmlTextWriter("c:\Temp\judgestest.xml",
System.Text.Encoding.UTF8)
' write a human readable file
writer.Formatting = Formatting.Indented
Try
ser.Serialize(writer, array2)
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
'End
End Try
writer.Close()


Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: François Miville-Dechêne | last post by:
You say in the definition of mappings that at present Python has only one type of it, the dictionnary. I suggest another one, the sparse array, where absence of key would mean not absence of...
2
by: -Steve- | last post by:
Okay I have a bunch of code below. Hope it comes across readable. The problem I'm having is that in the lines under main(): cout << a << endl; Is going into the code for IntArray(const...
1
by: dotNetDave | last post by:
I'm trying to create xml seriaizable collection class (below), but the xml keeps coming out wrong. In the resulting xml from the web service (below) the "ArrayOfAlarmProcessor" tag should really be...
0
by: Ante Smolcic | last post by:
Hi all, I have an ArrayList that contains items of type A. I declared the XmlArrayItem atribute for that type. Now I have an derived type B (from A) also contained in the ArrayList but I get...
0
by: Alex Clark | last post by:
Hi all, Apologies for the cross-post but I can't determine if this is a VS .NET problem or a VB.NET language issue. I'm using .NET 1.1 SP1, VS 2003 EA, VB.NET. I'm coding a custom component...
1
by: Alex Clark | last post by:
Hi all, Apologies for the cross-post but I can't determine if this is a VS .NET problem or a VB.NET language issue. I'm using .NET 1.1 SP1, VS 2003 EA, VB.NET. I'm coding a custom component...
4
by: mookid8000 | last post by:
Good day group! I have created a nice filtering plugin system, where all filters derive from a Filter class, and they pass a PictureData object between them. I have a problem though. I am able...
2
by: =?Utf-8?B?UmF5IE1pdGNoZWxs?= | last post by:
Hi, I know this will sound like a lot of hand waving, and I'll be glad to supply some sample code if necessary, but I thought something obvious might jump out at someone without doing so. ...
0
by: dph5010 | last post by:
I'm trying to make an object that will reflect the response from isbndb.com's API so I can serialize the results into my code. Right now I have code that works, however, the structure isn't quite the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.