473,698 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XML serialization of custom collection class in VB

I have a custom collection ... clFile that INHERITS from NameObjectColle ctionBase the problem is, when I try to create an xmlserializer instance i get an error

You must implement a default accessor on brWAP.clFile because it inherits from ICollectio

I must be having a thick day because I dont have a clue what the error message means. (I have written a defaut property called ITEM in the clFile class
'Classes to abstract a FILE entity that is persisted in the databas
Imports System.Xml.Seri alizatio
Imports dalWAP.dalWA

'A worker class to get the data from the Database and save it bac
Public Class egFil

Sub New(
End Su

'Get a collection of FILE entities from the databas
Public Function GetCollection(O ptional ByVal FileID As Integer = -1) As clFil
Dim dsFiles As DataSe
Dim serializer As XmlSerialize

Dim oXML As Xml.XmlDataDocu men
Dim oclFile As clFil

Dim oXMLr As Xml.XmlNodeRead e

'this is the line that gives the erro
'You must implement a default accessor on brWAP.clFile because it inherits from ICollection
serializer = New XmlSerializer(G etType(clFile)

'Call the data access layer to pysically read from the DB to a datase
dsFiles = GetFiles(FileID

'load the dataset into an xml documen
oXML = New Xml.XmlDataDocu ment(dsFiles

oXMLr = New Xml.XmlNodeRead er(oXML
'deserialise the xml into a collection of FILE entitie
oclFile = CType(serialize r.Deserialize(o XMLr), clFile

End Functio

End Clas

'Strongly Typed collection of FILE entitie
<XmlType(TypeNa me:="clFile")>
Public Class clFil
Inherits System.Collecti ons.Specialized .NameObjectColl ectionBas

Public Sub New(
'default constructo
End Su

Public Function Add(ByVal value As cdFile) As Boolea
Me.BaseAdd("_" & value.FileID, value

End Functio

<XmlElementAttr ibute("cdFile", GetType(cdFile) )>
Default Public Overloads ReadOnly Property Item(ByVal Key As String) As cdFil
Ge
Return Me.BaseGet("_" & Key
End Ge
End Propert

Public Function ItemAt(ByVal value As Integer) As cdFil
Return Me.BaseGet(valu e
End Functio

Public Function Remove(ByVal value As Integer) As cdFil
Dim ocdFile As cdFil
ocdFile = Me.Item(value
Me.BaseRemove(" _" & value
Remove = ocdFil
ocdFile = Nothin
End Functio

Public Function RemoveAt(ByVal value As Integer) As cdFil
Dim ocdFile As cdFil
ocdFile = Me.ItemAt(value
Me.BaseRemoveAt (value
RemoveAt = ocdFil
ocdFile = Nothin
End Functio

End Clas

'<summary
'<para>Represen ts a FILE entity</para
'<para>A FILE entity implemnts a reference to an external file</para
'</summary><XmlTyp e(TypeName:="cd File")>
Public Class cdFil
Private mintFileID As Intege
Private mstrTheName As Strin
Private mstrThePath As Strin

Private mblnNew As Boolea
Private mblnDirty As Boolea
Private mblnDeleted As Boolea

Overrides Function GetHashCode() As Intege
Return mintFileID.GetH ashCod
End Functio

'<summary
'<para>If record ID's are equal, objects are equal</para
'</summary
Overloads Function Equals(ByVal ID As Integer) As Boolea
If mblnNew The
Return Fals
Els
Return (ID = mintFileID
End I
End Functio

Overloads Function Equals(ByVal Test_cdFile As cdFile) As Boolea
If mblnNew The
Return Fals
Els
If Test_cdFile Is Nothing The
Return Fals
Els
Return (mintFileID = Test_cdFile.Fil eID
End I
End I

End Functio

'<summary
'<para>new instance of existing record</para
'</summary
Sub New(ByVal FileID As Long, ByVal TheName As String, ByVal ThePath As String
mintFileID = FileI
mstrTheName = TheNam
mstrThePath = ThePat
mblnDirty = False
mblnNew = True
End Sub

'<summary>
'<para>for a really new file</para>
'</summary>
Sub New(ByVal TheName As String, ByVal ThePath As String)
mstrTheName = TheName
mstrThePath = ThePath
mblnNew = True
mblnDirty = True

End Sub

'<summary>
'<para>empty constructor for xml de-serialisation</para>
'</summary>
Sub New()

mblnNew = False
mblnDirty = False
End Sub

Public Overloads Function Saved() As Boolean
mblnDirty = False
Return True
End Function

Public Overloads Function Saved(ByVal FileID As Long) As Boolean
mblnDirty = False
mblnNew = False
mintFileID = FileID
Return True
End Function

Public Function Delete() As Boolean
mblnDeleted = True
Return mblnDeleted
End Function
<XmlIgnore()> _
Public ReadOnly Property Dirty() As Boolean
Get
Return mblnDirty
End Get
End Property
<XmlIgnore()> _
Public ReadOnly Property Deleted() As Boolean
Get
Deleted = mblnDeleted
End Get
End Property
Public Property FileID() As Integer
Get
Return mintFileID
End Get
Set(ByVal Value As Integer)
mintFileID = Value
End Set
End Property

Public Property TheName() As String
Get
Return mstrTheName
End Get
Set(ByVal Value As String)
mstrTheName = Value
End Set
End Property

Public Property ThePath() As String
Get
Return mstrThePath
End Get
Set(ByVal Value As String)
mstrThePath = Value
End Set
End Property
End Class

Nov 12 '05 #1
3 12862
Hi Jamie,

I have just been struggling with the XmlSerializer myself.

I learnt that if your collection implements ICollection then you must have
an Add() method and an indexer (for C#) or an Item() method (for VB.NET).
Both of these must return the same Type e.g. cdFile. The indexer must accept
an Integer parameter.

So, you need to add another method to the clFile class:

Default Public Overloads ReadOnly Property Item(ByVal index As Integer) As
cdFile
Get
Return Me.BaseGetByInd ex(index)
End Get
End Property

As I understand it, this is used to deserialize the collection.

I was not using NameObjectColle ctionBase but saw messages from people having
problems with it and XmlSerializer.

"System.Invalid OperationExcept ion" Error While Serializing
NameValueCollec tion Objects Using XmlSerializer
http://support.microsoft.com/default...b;en-us;814187

If you get really stuck there is the IXmlSerializabl e interface that you can
implement.

--
Ross Donald
Rad Software
Free Regular Expression Designer @
http://www.radsoftware.com.au/web/Products/
"jamie_m_" <an*******@disc ussions.microso ft.com> wrote in message
news:9E******** *************** ***********@mic rosoft.com...
| I have a custom collection ... clFile that INHERITS from
NameObjectColle ctionBase the problem is, when I try to create an
xmlserializer instance i get an error:
|
| You must implement a default accessor on brWAP.clFile because it inherits
from ICollection
|
| I must be having a thick day because I dont have a clue what the error
message means. (I have written a defaut property called ITEM in the clFile
class)
|
|
|
| 'Classes to abstract a FILE entity that is persisted in the database
| Imports System.Xml.Seri alization
| Imports dalWAP.dalWAP
|
| 'A worker class to get the data from the Database and save it back
| Public Class egFile
|
| Sub New()
| End Sub
|
| 'Get a collection of FILE entities from the database
| Public Function GetCollection(O ptional ByVal FileID As Integer = -1)
As clFile
| Dim dsFiles As DataSet
| Dim serializer As XmlSerializer
|
| Dim oXML As Xml.XmlDataDocu ment
| Dim oclFile As clFile
|
| Dim oXMLr As Xml.XmlNodeRead er
|
| 'this is the line that gives the error
| 'You must implement a default accessor on brWAP.clFile because it
inherits from ICollection.
| serializer = New XmlSerializer(G etType(clFile))
|
| 'Call the data access layer to pysically read from the DB to a
dataset
| dsFiles = GetFiles(FileID )
|
| 'load the dataset into an xml document
| oXML = New Xml.XmlDataDocu ment(dsFiles)
|
| oXMLr = New Xml.XmlNodeRead er(oXML)
| 'deserialise the xml into a collection of FILE entities
| oclFile = CType(serialize r.Deserialize(o XMLr), clFile)
|
|
| End Function
|
| End Class
|
| 'Strongly Typed collection of FILE entities
| <XmlType(TypeNa me:="clFile")> _
| Public Class clFile
| Inherits System.Collecti ons.Specialized .NameObjectColl ectionBase
|
|
| Public Sub New()
| 'default constructor
| End Sub
|
| Public Function Add(ByVal value As cdFile) As Boolean
| Me.BaseAdd("_" & value.FileID, value)
|
| End Function
|
| <XmlElementAttr ibute("cdFile", GetType(cdFile) )> _
| Default Public Overloads ReadOnly Property Item(ByVal Key As
String) As cdFile
| Get
| Return Me.BaseGet("_" & Key)
| End Get
| End Property
|
| Public Function ItemAt(ByVal value As Integer) As cdFile
| Return Me.BaseGet(valu e)
| End Function
|
| Public Function Remove(ByVal value As Integer) As cdFile
| Dim ocdFile As cdFile
| ocdFile = Me.Item(value)
| Me.BaseRemove(" _" & value)
| Remove = ocdFile
| ocdFile = Nothing
| End Function
|
| Public Function RemoveAt(ByVal value As Integer) As cdFile
| Dim ocdFile As cdFile
| ocdFile = Me.ItemAt(value )
| Me.BaseRemoveAt (value)
| RemoveAt = ocdFile
| ocdFile = Nothing
| End Function
|
|
| End Class
|
| '<summary>
| '<para>Represen ts a FILE entity</para>
| '<para>A FILE entity implemnts a reference to an external file</para>
| '</summary><XmlTyp e(TypeName:="cd File")> _
| Public Class cdFile
| Private mintFileID As Integer
| Private mstrTheName As String
| Private mstrThePath As String
|
| Private mblnNew As Boolean
| Private mblnDirty As Boolean
| Private mblnDeleted As Boolean
|
| Overrides Function GetHashCode() As Integer
| Return mintFileID.GetH ashCode
| End Function
|
| '<summary>
| '<para>If record ID's are equal, objects are equal</para>
| '</summary>
| Overloads Function Equals(ByVal ID As Integer) As Boolean
| If mblnNew Then
| Return False
| Else
| Return (ID = mintFileID)
| End If
| End Function
|
| Overloads Function Equals(ByVal Test_cdFile As cdFile) As Boolean
| If mblnNew Then
| Return False
| Else
| If Test_cdFile Is Nothing Then
| Return False
| Else
| Return (mintFileID = Test_cdFile.Fil eID)
| End If
| End If
|
| End Function
|
| '<summary>
| '<para>new instance of existing record</para>
| '</summary>
| Sub New(ByVal FileID As Long, ByVal TheName As String, ByVal ThePath
As String)
| mintFileID = FileID
| mstrTheName = TheName
| mstrThePath = ThePath
| mblnDirty = False
| mblnNew = True
| End Sub
|
| '<summary>
| '<para>for a really new file</para>
| '</summary>
| Sub New(ByVal TheName As String, ByVal ThePath As String)
| mstrTheName = TheName
| mstrThePath = ThePath
| mblnNew = True
| mblnDirty = True
|
| End Sub
|
| '<summary>
| '<para>empty constructor for xml de-serialisation</para>
| '</summary>
| Sub New()
|
| mblnNew = False
| mblnDirty = False
| End Sub
|
| Public Overloads Function Saved() As Boolean
| mblnDirty = False
| Return True
| End Function
|
| Public Overloads Function Saved(ByVal FileID As Long) As Boolean
| mblnDirty = False
| mblnNew = False
| mintFileID = FileID
| Return True
| End Function
|
| Public Function Delete() As Boolean
| mblnDeleted = True
| Return mblnDeleted
| End Function
| <XmlIgnore()> _
| Public ReadOnly Property Dirty() As Boolean
| Get
| Return mblnDirty
| End Get
| End Property
| <XmlIgnore()> _
| Public ReadOnly Property Deleted() As Boolean
| Get
| Deleted = mblnDeleted
| End Get
| End Property
| Public Property FileID() As Integer
| Get
| Return mintFileID
| End Get
| Set(ByVal Value As Integer)
| mintFileID = Value
| End Set
| End Property
|
| Public Property TheName() As String
| Get
| Return mstrTheName
| End Get
| Set(ByVal Value As String)
| mstrTheName = Value
| End Set
| End Property
|
| Public Property ThePath() As String
| Get
| Return mstrThePath
| End Get
| Set(ByVal Value As String)
| mstrThePath = Value
| End Set
| End Property
| End Class
|
Nov 12 '05 #2
Hi Jamie,

I have just been struggling with the XmlSerializer myself.

I learnt that if your collection implements ICollection then you must have
an Add() method and an indexer (for C#) or an Item() method (for VB.NET).
Both of these must return the same Type e.g. cdFile. The indexer must accept
an Integer parameter.

So, you need to add another method to the clFile class:

Default Public Overloads ReadOnly Property Item(ByVal index As Integer) As
cdFile
Get
Return Me.BaseGetByInd ex(index)
End Get
End Property

As I understand it, this is used to deserialize the collection.

I was not using NameObjectColle ctionBase but saw messages from people having
problems with it and XmlSerializer.

"System.Invalid OperationExcept ion" Error While Serializing
NameValueCollec tion Objects Using XmlSerializer
http://support.microsoft.com/default...b;en-us;814187

If you get really stuck there is the IXmlSerializabl e interface that you can
implement.

--
Ross Donald
Rad Software
Free Regular Expression Designer @
http://www.radsoftware.com.au/web/Products/
"jamie_m_" <an*******@disc ussions.microso ft.com> wrote in message
news:9E******** *************** ***********@mic rosoft.com...
| I have a custom collection ... clFile that INHERITS from
NameObjectColle ctionBase the problem is, when I try to create an
xmlserializer instance i get an error:
|
| You must implement a default accessor on brWAP.clFile because it inherits
from ICollection
|
| I must be having a thick day because I dont have a clue what the error
message means. (I have written a defaut property called ITEM in the clFile
class)
|
|
|
| 'Classes to abstract a FILE entity that is persisted in the database
| Imports System.Xml.Seri alization
| Imports dalWAP.dalWAP
|
| 'A worker class to get the data from the Database and save it back
| Public Class egFile
|
| Sub New()
| End Sub
|
| 'Get a collection of FILE entities from the database
| Public Function GetCollection(O ptional ByVal FileID As Integer = -1)
As clFile
| Dim dsFiles As DataSet
| Dim serializer As XmlSerializer
|
| Dim oXML As Xml.XmlDataDocu ment
| Dim oclFile As clFile
|
| Dim oXMLr As Xml.XmlNodeRead er
|
| 'this is the line that gives the error
| 'You must implement a default accessor on brWAP.clFile because it
inherits from ICollection.
| serializer = New XmlSerializer(G etType(clFile))
|
| 'Call the data access layer to pysically read from the DB to a
dataset
| dsFiles = GetFiles(FileID )
|
| 'load the dataset into an xml document
| oXML = New Xml.XmlDataDocu ment(dsFiles)
|
| oXMLr = New Xml.XmlNodeRead er(oXML)
| 'deserialise the xml into a collection of FILE entities
| oclFile = CType(serialize r.Deserialize(o XMLr), clFile)
|
|
| End Function
|
| End Class
|
| 'Strongly Typed collection of FILE entities
| <XmlType(TypeNa me:="clFile")> _
| Public Class clFile
| Inherits System.Collecti ons.Specialized .NameObjectColl ectionBase
|
|
| Public Sub New()
| 'default constructor
| End Sub
|
| Public Function Add(ByVal value As cdFile) As Boolean
| Me.BaseAdd("_" & value.FileID, value)
|
| End Function
|
| <XmlElementAttr ibute("cdFile", GetType(cdFile) )> _
| Default Public Overloads ReadOnly Property Item(ByVal Key As
String) As cdFile
| Get
| Return Me.BaseGet("_" & Key)
| End Get
| End Property
|
| Public Function ItemAt(ByVal value As Integer) As cdFile
| Return Me.BaseGet(valu e)
| End Function
|
| Public Function Remove(ByVal value As Integer) As cdFile
| Dim ocdFile As cdFile
| ocdFile = Me.Item(value)
| Me.BaseRemove(" _" & value)
| Remove = ocdFile
| ocdFile = Nothing
| End Function
|
| Public Function RemoveAt(ByVal value As Integer) As cdFile
| Dim ocdFile As cdFile
| ocdFile = Me.ItemAt(value )
| Me.BaseRemoveAt (value)
| RemoveAt = ocdFile
| ocdFile = Nothing
| End Function
|
|
| End Class
|
| '<summary>
| '<para>Represen ts a FILE entity</para>
| '<para>A FILE entity implemnts a reference to an external file</para>
| '</summary><XmlTyp e(TypeName:="cd File")> _
| Public Class cdFile
| Private mintFileID As Integer
| Private mstrTheName As String
| Private mstrThePath As String
|
| Private mblnNew As Boolean
| Private mblnDirty As Boolean
| Private mblnDeleted As Boolean
|
| Overrides Function GetHashCode() As Integer
| Return mintFileID.GetH ashCode
| End Function
|
| '<summary>
| '<para>If record ID's are equal, objects are equal</para>
| '</summary>
| Overloads Function Equals(ByVal ID As Integer) As Boolean
| If mblnNew Then
| Return False
| Else
| Return (ID = mintFileID)
| End If
| End Function
|
| Overloads Function Equals(ByVal Test_cdFile As cdFile) As Boolean
| If mblnNew Then
| Return False
| Else
| If Test_cdFile Is Nothing Then
| Return False
| Else
| Return (mintFileID = Test_cdFile.Fil eID)
| End If
| End If
|
| End Function
|
| '<summary>
| '<para>new instance of existing record</para>
| '</summary>
| Sub New(ByVal FileID As Long, ByVal TheName As String, ByVal ThePath
As String)
| mintFileID = FileID
| mstrTheName = TheName
| mstrThePath = ThePath
| mblnDirty = False
| mblnNew = True
| End Sub
|
| '<summary>
| '<para>for a really new file</para>
| '</summary>
| Sub New(ByVal TheName As String, ByVal ThePath As String)
| mstrTheName = TheName
| mstrThePath = ThePath
| mblnNew = True
| mblnDirty = True
|
| End Sub
|
| '<summary>
| '<para>empty constructor for xml de-serialisation</para>
| '</summary>
| Sub New()
|
| mblnNew = False
| mblnDirty = False
| End Sub
|
| Public Overloads Function Saved() As Boolean
| mblnDirty = False
| Return True
| End Function
|
| Public Overloads Function Saved(ByVal FileID As Long) As Boolean
| mblnDirty = False
| mblnNew = False
| mintFileID = FileID
| Return True
| End Function
|
| Public Function Delete() As Boolean
| mblnDeleted = True
| Return mblnDeleted
| End Function
| <XmlIgnore()> _
| Public ReadOnly Property Dirty() As Boolean
| Get
| Return mblnDirty
| End Get
| End Property
| <XmlIgnore()> _
| Public ReadOnly Property Deleted() As Boolean
| Get
| Deleted = mblnDeleted
| End Get
| End Property
| Public Property FileID() As Integer
| Get
| Return mintFileID
| End Get
| Set(ByVal Value As Integer)
| mintFileID = Value
| End Set
| End Property
|
| Public Property TheName() As String
| Get
| Return mstrTheName
| End Get
| Set(ByVal Value As String)
| mstrTheName = Value
| End Set
| End Property
|
| Public Property ThePath() As String
| Get
| Return mstrThePath
| End Get
| Set(ByVal Value As String)
| mstrThePath = Value
| End Set
| End Property
| End Class
|
Nov 12 '05 #3
jwf
Hi Jamie,

When inheriting from a collectionBase style object, your constructor
must call MyBase.New( ) or attempting to serialize it will throw this
red-herring exception.

HTH,

Jordan

Nov 12 '05 #4

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

Similar topics

1
1640
by: womber | last post by:
I am getting XML from a dataset that has been populated via a storedprocedure no schemas have been applied nor any relationships. But the correct table names have been given to match the table(s) equivalent business object(s). I have a custom collection that implements ICollection and IEnumerable. Here is the collection: Imports ERP.BusinessObjects Imports ERP.BusinessObjects.Helpdesk Imports ICTObjects.Collections
2
2233
by: Just D. | last post by:
All, 1. Did anybody write Serialization/Deserialization of some custom class derived from the CollectionBase class? The custom class is like a container of many different simple classes, each one of them is serializable, these methods have been added and work properly. As an additional headache this custom class can also include a few object like collection classes.
5
2120
by: George Ter-Saakov | last post by:
I have 2 classes one is document and another is collection of documents. When i am trying to use XmlSerializer to serialize class which has clsDcoumentIds member variable i am getting an exception "System.InvalidOperationException: The type clsDocumentId was not expected." public class clsDocumentId { string _sDocumentId; public clsDocumentId() {}
27
1942
by: Codemonkey | last post by:
Heya All, Sorry, but I think it's about time for a monkey-ramble. I've just had enough of trying to serialize even simple objects with VB. A simple task you may think - stick the <Serialized()> attribute on the class and away you go. As Homer would say - "D'Oh" The root of my problem lies in the way VB implements Events and the fact that you can't apply the <NonSerialized> attribute to the little rascals.
1
1183
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 which is designed to be dropped onto a form and have it's properties manipulated at runtime. I have a custom implementation of the TypeConverter class called UniversalTypeConverter which inherits from ExpandableObjectConverter, and for the most...
10
1481
by: SStory | last post by:
My app is near completed for the basic feature of version 1.0. I have an extensive object model and I now want to persist my objects using serialization. I have chosen binaryformatter to serialize, and custom serialization, which I understand will allow me the flexibility of not breaking old things when I add members to classes in the future and send to existing customers. 1.) is there anything else to consider with the custom...
7
1791
by: Joe | last post by:
I've tracked the performance issue down to a single class. This class derives from CollectionBase and stores a basic value type such as string, int, double, etc... I also store the type itself which you can see I'm using when calling AddValue. I implemented ISerializable and GeteObjectData. Here's what I tried: for (int i = 0; i < this.Count; i++) info.AddValue("item" + i.ToString(), this, typeof(type) );
1
2205
by: Paez | last post by:
Hi There. This post is a extension of thread "Serialize or not to Serialize", on 5 of December of 2006. The reason why my teacher insists that a WS cannot return a Dataset is due to low rate networks, not due to SOAP schemas. I think that's because a XML Dataset is too large. So, in my WS, I want to turn my dataset in some type of class, and then send
4
1457
by: xke | last post by:
Why the collection property is not included in the ouput serialization ? I have a custom generic collection (implements icollection): Events of objects: Event. Event is a simple class exposing, let's say, one property: name Public Class Event <XmlAttribute("name")_
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8611
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
6531
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5867
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.