Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
QuestionTCPClient to multiple systems Pin
Gopi Nath18-Jul-18 21:05
Gopi Nath18-Jul-18 21:05 
GeneralRe: TCPClient to multiple systems Pin
Richard MacCutchan18-Jul-18 21:30
mveRichard MacCutchan18-Jul-18 21:30 
GeneralRe: TCPClient not sending messages to multiple systems Pin
Gopi Nath18-Jul-18 22:32
Gopi Nath18-Jul-18 22:32 
GeneralRe: TCPClient not sending messages to multiple systems Pin
Richard MacCutchan18-Jul-18 22:42
mveRichard MacCutchan18-Jul-18 22:42 
GeneralRe: TCPClient not sending messages to multiple systems Pin
Gopi Nath18-Jul-18 22:58
Gopi Nath18-Jul-18 22:58 
GeneralRe: TCPClient not sending messages to multiple systems Pin
Richard MacCutchan19-Jul-18 0:28
mveRichard MacCutchan19-Jul-18 0:28 
GeneralRe: TCPClient not sending messages to multiple systems Pin
Gopi Nath19-Jul-18 2:50
Gopi Nath19-Jul-18 2:50 
QuestionInvalid Resx file. Pin
Member 1207484918-Jul-18 10:33
Member 1207484918-Jul-18 10:33 
I am getting this error:Severity Code Description Project File Line Suppression State
Error Invalid Resx file. Could not load type System.Collections.Generic.List`1[[Spring_2018_New_List_View_Macro_Box_Tester.LineItemData, Spring 2018 New List View Macro Box Tester, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 which is used in the .RESX file. Ensure that the necessary references have been added to your project. Line 133, position 5. Spring 2018 New List View Macro Box Tester C:\Users\\Desktop\C prog\Spring 2018 New List View Macro Box Tester - Copy (4) - Copy\Spring 2018 New List View Macro Box Tester\Form1.resx 133


This is the resx file. Can anybody tell me what is wrong?
Note: I only get this error after I do anything with the form that the custom user control is on.



<?xml version="1.0" encoding="utf-8"?>
<root>
  <!-- 
    Microsoft ResX Schema 
    
    Version 2.0
    
    The primary goals of this format is to allow a simple XML format 
    that is mostly human readable. The generation and parsing of the 
    various data types are done through the TypeConverter classes 
    associated with the data types.
    
    Example:
    
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
                
    There are any number of "resheader" rows that contain simple 
    name/value pairs.
    
    Each data row contains a name, and value. The row also contains a 
    type or mimetype. Type corresponds to a .NET class that support 
    text/value conversion through the TypeConverter architecture. 
    Classes that don't support this are serialized and stored with the 
    mimetype set.
    
    The mimetype is used for serialized objects, and tells the 
    ResXResourceReader how to depersist the object. This is currently not 
    extensible. For a given mimetype the value must be set accordingly:
    
    Note - application/x-microsoft.net.object.binary.base64 is the format 
    that the ResXResourceWriter will generate, however the reader can 
    read any of the formats listed below.
    
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array 
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <data name="mbListView1.LineList" mimetype="application/x-microsoft.net.object.binary.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAALABU3ByaW5nIDIwMTggTmV3IExpc3QgVmlldyBNYWNybyBCb3gg
        VGVzdGVyLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVs
        bF1dLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRv
        a2VuPWI3N2E1YzU2MTkzNGUwODkMAwAAAGFTcHJpbmcgMjAxOCBOZXcgTGlzdCBWaWV3IE1hY3JvIEJv
        eCBUZXN0ZXIsIFZlcnNpb249MS4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1u
        dWxsBQEAAABaU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tTcHJpbmdfMjAxOF9OZXdf
        TGlzdF9WaWV3X01hY3JvX0JveF9UZXN0ZXIuTGluZUl0ZW1EYXRhAwAAAAZfaXRlbXMFX3NpemUIX3Zl
        cnNpb24EAAA5U3ByaW5nXzIwMThfTmV3X0xpc3RfVmlld19NYWNyb19Cb3hfVGVzdGVyLkxpbmVJdGVt
        RGF0YVtdAwAAAAgIAgAAAAkEAAAAAAAAAAAAAAAHBAAAAAABAAAAAAAAAAQ3U3ByaW5nXzIwMThfTmV3
        X0xpc3RfVmlld19NYWNyb19Cb3hfVGVzdGVyLkxpbmVJdGVtRGF0YQMAAAAL
</value>
  </data>
</root>

AnswerRe: Invalid Resx file. Pin
Gerry Schmitz18-Jul-18 14:02
mveGerry Schmitz18-Jul-18 14:02 
QuestionIncomprehensible errors. Any anybody help me make sense of this? Pin
Member 1207484918-Jul-18 6:49
Member 1207484918-Jul-18 6:49 
AnswerRe: Incomprehensible errors. Any anybody help me make sense of this? Pin
Gerry Schmitz18-Jul-18 13:24
mveGerry Schmitz18-Jul-18 13:24 
QuestionHow to randomly generate a number or characters in an Authorization Class file Pin
Bootzilla3317-Jul-18 4:49
Bootzilla3317-Jul-18 4:49 
AnswerRe: How to randomly generate a number or characters in an Authorization Class file Pin
Gerry Schmitz18-Jul-18 9:38
mveGerry Schmitz18-Jul-18 9:38 
GeneralRe: How to randomly generate a number or characters in an Authorization Class file Pin
Bootzilla3318-Jul-18 10:38
Bootzilla3318-Jul-18 10:38 
GeneralRe: How to randomly generate a number or characters in an Authorization Class file Pin
Gerry Schmitz18-Jul-18 13:06
mveGerry Schmitz18-Jul-18 13:06 
GeneralRe: How to randomly generate a number or characters in an Authorization Class file Pin
Mycroft Holmes18-Jul-18 14:10
professionalMycroft Holmes18-Jul-18 14:10 
QuestionThe animation of my character runs on the spot Pin
Member 1391486817-Jul-18 1:24
Member 1391486817-Jul-18 1:24 
AnswerRe: The animation of my character runs on the spot Pin
Gerry Schmitz17-Jul-18 7:37
mveGerry Schmitz17-Jul-18 7:37 
Questionstring replace Pin
Ali Doran16-Jul-18 9:39
Ali Doran16-Jul-18 9:39 
AnswerRe: string replace Pin
Dave Kreskowiak16-Jul-18 10:42
mveDave Kreskowiak16-Jul-18 10:42 
AnswerRe: string replace Pin
Peter_in_278016-Jul-18 11:40
professionalPeter_in_278016-Jul-18 11:40 
AnswerRe: string replace Pin
Gerry Schmitz16-Jul-18 11:46
mveGerry Schmitz16-Jul-18 11:46 
AnswerRe: string replace Pin
jschell16-Jul-18 15:49
jschell16-Jul-18 15:49 
GeneralRe: string replace Pin
Ali Doran16-Jul-18 17:09
Ali Doran16-Jul-18 17:09 
GeneralRe: string replace Pin
OriginalGriff16-Jul-18 19:36
mveOriginalGriff16-Jul-18 19:36 

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.