Click here to Skip to main content
15,911,035 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralDatagrid !!! Urgent Pin
syed saba3-Dec-04 16:22
syed saba3-Dec-04 16:22 
QuestionWindowshade? Pin
TAlvord3-Dec-04 13:32
TAlvord3-Dec-04 13:32 
AnswerRe: Windowshade? Pin
Dave Kreskowiak4-Dec-04 5:52
mveDave Kreskowiak4-Dec-04 5:52 
GeneralReturn the highest value Pin
helpmeplease...3-Dec-04 11:11
helpmeplease...3-Dec-04 11:11 
GeneralRe: Return the highest value Pin
Dave Kreskowiak3-Dec-04 12:35
mveDave Kreskowiak3-Dec-04 12:35 
GeneralRe: Return the highest value Pin
MohammadAmiry4-Dec-04 2:45
MohammadAmiry4-Dec-04 2:45 
QuestionCan Anyone Help me with this one? Pin
Suresh Prasad3-Dec-04 8:41
Suresh Prasad3-Dec-04 8:41 
AnswerRe: Can Anyone Help me with this one? Pin
Jim Matthews3-Dec-04 9:00
Jim Matthews3-Dec-04 9:00 
GeneralRe: Can Anyone Help me with this one? Pin
Suresh Prasad3-Dec-04 10:28
Suresh Prasad3-Dec-04 10:28 
GeneralRe: Can Anyone Help me with this one? Pin
Jim Matthews3-Dec-04 10:51
Jim Matthews3-Dec-04 10:51 
GeneralRe: Can Anyone Help me with this one? Pin
Suresh Prasad3-Dec-04 10:56
Suresh Prasad3-Dec-04 10:56 
GeneralRe: Can Anyone Help me with this one? Pin
Dave Kreskowiak3-Dec-04 12:34
mveDave Kreskowiak3-Dec-04 12:34 
GeneralRe: Can Anyone Help me with this one? Pin
Suresh Prasad3-Dec-04 12:38
Suresh Prasad3-Dec-04 12:38 
GeneralSerialization Gremlin Pin
Tom John3-Dec-04 5:48
Tom John3-Dec-04 5:48 
Hey Guys

Try this:
<Serializable()> Public Class TestClass

    Public A As Integer = 100
    Public ASpecified As Boolean

End Class

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        Dim ser As New System.Xml.Serialization.XmlSerializer(GetType(TestClass))
        Dim ms As New IO.MemoryStream

        ser.Serialize(ms, New TestClass)
        MsgBox(System.Text.ASCIIEncoding.UTF8.GetString(ms.ToArray))

End Sub

Then try changing ASpecified to Integer.

There seems be a problem with serializable methods/fields that end with the word Specified, can anyone else confirm that I'm not going round the bend... it's been an afternoon of pulling what little hair I have out tracking it down!

Cheers

Tom
GeneralTrapping Backspace Pin
Brian Van Beek3-Dec-04 5:16
Brian Van Beek3-Dec-04 5:16 
GeneralRe: Trapping Backspace Pin
Jim Matthews3-Dec-04 5:47
Jim Matthews3-Dec-04 5:47 
GeneralCreating Controls at Run Time Pin
marclenoir20053-Dec-04 5:03
marclenoir20053-Dec-04 5:03 
GeneralRe: Creating Controls at Run Time Pin
Jim Matthews3-Dec-04 5:41
Jim Matthews3-Dec-04 5:41 
GeneralError occurs when Creating Controls Pin
marclenoir20057-Dec-04 4:08
marclenoir20057-Dec-04 4:08 
GeneralRe: Error occurs when Creating Controls Pin
Jim Matthews7-Dec-04 4:34
Jim Matthews7-Dec-04 4:34 
GeneralRe: Error occurs when Creating Controls Pin
marclenoir20057-Dec-04 4:49
marclenoir20057-Dec-04 4:49 
GeneralRe: Creating Controls at Run Time Pin
Dave Kreskowiak3-Dec-04 5:55
mveDave Kreskowiak3-Dec-04 5:55 
GeneralChild Records Don't Show In Datagrid Pin
NorthernExposure3-Dec-04 4:55
NorthernExposure3-Dec-04 4:55 
QuestionHelp: How can I press a button? Pin
rdges3-Dec-04 3:31
rdges3-Dec-04 3:31 
AnswerRe: Help: How can I press a button? Pin
Sven Cipido3-Dec-04 3:42
Sven Cipido3-Dec-04 3:42 

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.