Click here to Skip to main content
15,905,414 members
Home / Discussions / C#
   

C#

 
AnswerRe: Plotting a line graph in c# and retaining the previous graphs. Pin
OriginalGriff23-Jul-18 2:04
mveOriginalGriff23-Jul-18 2:04 
GeneralRe: Plotting a line graph in c# and retaining the previous graphs. Pin
Dipk1123-Jul-18 20:52
Dipk1123-Jul-18 20:52 
GeneralRe: Plotting a line graph in c# and retaining the previous graphs. Pin
Gerry Schmitz24-Jul-18 10:27
mveGerry Schmitz24-Jul-18 10:27 
Questioncreate separate XML file based on html tags in a string in C# Pin
sudipta saha20-Jul-18 19:40
sudipta saha20-Jul-18 19:40 
AnswerRe: create separate XML file based on html tags in a string in C# Pin
Eddy Vluggen20-Jul-18 23:46
professionalEddy Vluggen20-Jul-18 23:46 
AnswerRe: create separate XML file based on html tags in a string in C# Pin
Gerry Schmitz22-Jul-18 8:59
mveGerry Schmitz22-Jul-18 8:59 
GeneralC# Program Control Flow Pin
etl201620-Jul-18 11:20
etl201620-Jul-18 11:20 
GeneralRe: C# Program Control Flow Pin
OriginalGriff20-Jul-18 20:04
mveOriginalGriff20-Jul-18 20:04 
GeneralRe: C# Program Control Flow Pin
Gerry Schmitz22-Jul-18 8:45
mveGerry Schmitz22-Jul-18 8:45 
GeneralRe: C# Program Control Flow Pin
Richard Deeming23-Jul-18 1:54
mveRichard Deeming23-Jul-18 1:54 
QuestionPlacing a control in a vertically scrolled panel Pin
Member 1207484919-Jul-18 13:40
Member 1207484919-Jul-18 13:40 
AnswerRe: Placing a control in a vertically scrolled panel Pin
BillWoodruff19-Jul-18 19:41
professionalBillWoodruff19-Jul-18 19:41 
GeneralRe: Placing a control in a vertically scrolled panel Pin
Member 1207484920-Jul-18 6:12
Member 1207484920-Jul-18 6:12 
GeneralRe: Placing a control in a vertically scrolled panel Pin
Gerry Schmitz20-Jul-18 8:55
mveGerry Schmitz20-Jul-18 8:55 
GeneralRe: Placing a control in a vertically scrolled panel Pin
Member 1207484921-Jul-18 5:57
Member 1207484921-Jul-18 5:57 
GeneralRe: Placing a control in a vertically scrolled panel Pin
BillWoodruff22-Jul-18 2:45
professionalBillWoodruff22-Jul-18 2:45 
AnswerRe: Placing a control in a vertically scrolled panel Pin
Luc Pattyn22-Jul-18 10:54
sitebuilderLuc Pattyn22-Jul-18 10:54 
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>

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.