Click here to Skip to main content
15,897,518 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Manipulate bitmap in unmanaged c++ DLL from a VB.NET app Pin
Luc Pattyn11-Mar-10 12:02
sitebuilderLuc Pattyn11-Mar-10 12:02 
GeneralRe: Manipulate bitmap in unmanaged c++ DLL from a VB.NET app Pin
frito_burrito12-Mar-10 4:36
frito_burrito12-Mar-10 4:36 
GeneralRe: Manipulate bitmap in unmanaged c++ DLL from a VB.NET app Pin
Luc Pattyn12-Mar-10 4:52
sitebuilderLuc Pattyn12-Mar-10 4:52 
GeneralRe: Manipulate bitmap in unmanaged c++ DLL from a VB.NET app Pin
frito_burrito15-Mar-10 4:26
frito_burrito15-Mar-10 4:26 
QuestionSerialization of collection Pin
johnjitu11-Mar-10 4:04
johnjitu11-Mar-10 4:04 
AnswerRe: Serialization of collection Pin
The Man from U.N.C.L.E.11-Mar-10 7:49
The Man from U.N.C.L.E.11-Mar-10 7:49 
GeneralRe: Serialization of collection Pin
johnjitu11-Mar-10 20:20
johnjitu11-Mar-10 20:20 
QuestionSerialization of colleciton Pin
johnjitu11-Mar-10 0:19
johnjitu11-Mar-10 0:19 
Hello
Everbody ,i am new in VB.net , i want to serializsed the collection .Please help me to do this
and if it is posible with coding.Hereby i am send the example of coding that i have done but not
working

Public Class colection
Private _objsavecli As New List(Of Cliente)
Public ReadOnly Property objsavecli() As List(Of Cliente)
Get
Return Me._objsavecli
End Get
End Property

Public Sub Addcliente(ByVal Client As Cliente)
Me.objsavecli.Add(Client)

End Sub
End class


<serializable()> _
Public Class Cliente

Private _Name As String
Private _surname1 As String
Private _surname2 As Double

Public Property Name() As String
Get
Return Me_Name
End Get
Set(ByVal value As Double)
Me_Name = value
End Set
End Property
Public Property surname1 () As String
Get
Return Me.__surname1
End Get
Set(ByVal value As String)
Me._surname1 = value
End Set
End Property
Public Property surname2() As String
Get
Return Me._surname2
End Get
Set(ByVal value As String)
Me._surname21 = value
End Set

End class cliente



Imports System.Runtime.Serialization.Formatters.Soap
Module Module1
Public save As coleccion
Sub Main()
Dim obj As New SoapFormatter
Dim fs As FileStream
fs = File.Create("D:\all_floders\MCPD\\DatosMultiples")
'obj.Serialize(fs,save.objsavecli )

fs.Close()

End Module1


it could make a file but not write any thing.
AnswerRe: Serialization of colleciton Pin
SeMartens11-Mar-10 1:30
SeMartens11-Mar-10 1:30 
GeneralRe: Serialization of colleciton Pin
johnjitu11-Mar-10 2:22
johnjitu11-Mar-10 2:22 
AnswerRe: Serialization of colleciton Pin
darkelv11-Mar-10 2:55
darkelv11-Mar-10 2:55 
QuestionVS 2008 and Linux ?? Pin
AmbiguousName10-Mar-10 19:25
AmbiguousName10-Mar-10 19:25 
AnswerRe: VS 2008 and Linux ?? Pin
Rod Kemp10-Mar-10 19:42
Rod Kemp10-Mar-10 19:42 
AnswerRe: VS 2008 and Linux ?? Pin
Eddy Vluggen11-Mar-10 2:18
professionalEddy Vluggen11-Mar-10 2:18 
QuestionKeepAlive implement [modified] Pin
KenKen Wong9-Mar-10 14:13
KenKen Wong9-Mar-10 14:13 
AnswerRe: KeepAlive implement Pin
Luc Pattyn9-Mar-10 14:26
sitebuilderLuc Pattyn9-Mar-10 14:26 
QuestionCustom attributes aren't being displayed Pin
jeffb429-Mar-10 9:12
jeffb429-Mar-10 9:12 
AnswerRe: Custom attributes aren't being displayed Pin
Scott Dorman9-Mar-10 17:48
professionalScott Dorman9-Mar-10 17:48 
GeneralRe: Custom attributes aren't being displayed Pin
jeffb4210-Mar-10 7:45
jeffb4210-Mar-10 7:45 
QuestionA new, open source, Outlook panel plugin in C# Pin
François-Denis Gonthier9-Mar-10 7:22
François-Denis Gonthier9-Mar-10 7:22 
QuestionRDLC expression error Pin
Xpnctoc9-Mar-10 5:59
Xpnctoc9-Mar-10 5:59 
QuestionADO .NET Data Services Pin
jonatan_5568-Mar-10 23:18
jonatan_5568-Mar-10 23:18 
AnswerRe: ADO .NET Data Services Pin
Abhinav S9-Mar-10 0:47
Abhinav S9-Mar-10 0:47 
GeneralRe: ADO .NET Data Services Pin
jonatan_55612-Mar-10 5:38
jonatan_55612-Mar-10 5:38 
QuestionIBM, Microsoft, Eclipse and Adobe Vie for IDE Glory at India’s Premier Software Developer Awards Pin
Shaguf Mohtisham8-Mar-10 19:37
Shaguf Mohtisham8-Mar-10 19:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.