CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: katy_price

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    1,658

    Padding is invalid and cannot be removed?

    Hi everyone,

    I have looked online for what this*exception means in relation to my*program*but can't seem to find a solution or the reason why its happening to my specific program. I have been...
  2. adding an expandable property to a PropertyGrid during runtime.

    Hi all,

    I need your help. I have a program that has classes represented as properties on the propertyGrid. I have a couple of expandable properties (classes) nested within another class see...
  3. Replies
    0
    Views
    566

    Nesting properties in property grid

    Hi
  4. is it possible to validate a propertygrid that displays xml data??

    Hi all,

    I would like to validate my property grid so that it displays an error when the wrong data type is typed in. However, I am using a class that wraps each node and converts it to a string,...
  5. Replies
    1
    Views
    878

    skipping root element in xml document

    Hi all,

    I am reading from an xml file and using the data from that file to populate a propertyGrid. My question is this, how can i skip over the root element's attributes in the xml file so that...
  6. Validating PropertyGrid input using xml schema

    I have an application that has a propertygrid which is populated by the xml file data, i also have an xml schema. My application reads and writes from/to an xml file, which gets decrypted and...
  7. Re: how to override close (X) button in a Windows Form

    the above sounds good, how would i go about implementing that? the xml file will be saved in a database and i also have a schema. how would i decrypt it into memory? then override the old file? I am...
  8. how to override close (X) button in a Windows Form

    Hi all,

    I was just wondering if there is a way to determine whether a button has been clicked within a closingform event or within another button_click event? For example, I have an app that has...
  9. How to load a xml or xsd document into a property grid

    Hi all,
  10. Re: reading a input text file and writing to output file

    cool thanks, that means i don't need this line of code:

    //Dictionary<String^, String^>::ValueCollection^ valueColl = uniCon->Values;
  11. Re: reading a input text file and writing to output file

    i am trying to use dictionary for the duplicate words aswell because the output file contains duplicates itself, but it's not working, the input file is not being read too and i get some conversion...
  12. Re: reading a input text file and writing to output file

    heres the code i have so far. the only problem is that its not printing to the output file, it creates it but doesnt write to it, when it did before. the for loop works but is it placed in the...
  13. Re: reading a input text file and writing to output file

    i think the program as it is, is wrong anyway. i think what i'm supposed to do is go through each word in the file and compare them. For example, the first word in the file should be compared to all...
  14. Re: reading a input text file and writing to output file

    ok thanks that would be useful. I have debugged the program and things seem to be working ok. however, i found whilst debugging that if i don't comment //return ret; (placed after the empty catch...
  15. Re: reading a input text file and writing to output file

    here is what i need to do.
    read in the the input file - containing duplicate and unique words

    print to screen the number of unique words

    write to a file each unique word from input file -...
  16. Replies
    0
    Views
    1,529

    how to count words in a text file

    hi i have this file with words printed on seperate lines. i want to count these words and display the total on the screen. at present i have a function to do this however it doesn't seem to be...
  17. Re: reading a input text file and writing to output file

    was trying to create a function called wordcount to count the unique words in the output file but it doesn't ouput right it's out put looks like this:
    "Unique word count: 0"
    this is repeated...
  18. Re: reading a input text file and writing to output file

    the gun->count shows the number of unique words on seperate lines like so:
    1
    2
    3
    4
    5
    6 etc, but i want it to just show the total number for example 20. do you know how i can do this?
    how do i...
  19. Re: reading a input text file and writing to output file

    im sorry i don't know what you mean, at this time i just want to get the basics done. at the moment i only have the unique words printed to the output file and i'm still having trouble doing the...
  20. Re: reading a input text file and writing to output file

    yea i figured that bit out, but i'm finding it only reads the first word in the file. is it cos i need a for loop or something, i thought the while loop was enough because it's suppose to read the...
  21. Re: reading a input text file and writing to output file

    how do i add the string to the dictionary, i mean what is the correct syntax. have i got it ok so far with the readline? then from the readline how do i send it to the dictionary?
  22. Re: reading a input text file and writing to output file

    sortedset is not recognised because i'm using framework 3.5
  23. Re: reading a input text file and writing to output file

    i have it written like so:


    SortedSet<String ^>^ str = gcnew SortedSet<String^>();

    but i get the error. is there something else i could use or am i just writing it wrong.



    try
  24. Re: reading a input text file and writing to output file

    so instead of using an array i can use an object of a class? so i need to create a class? if i use a class does that mean i don't need to create an array. i have looked up for SortedSet<String ^>...
  25. Re: reading a input text file and writing to output file

    I'm stuck. Im tryna figure out a way of counting how many duplicate words there are in the text file and how many unique words there are in the text file and then printing that value to screen. ...
Results 1 to 25 of 160
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured