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

Search:

Type: Posts; User: Sean87

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. Re: Need help with TreeView (change a node text on runtime)

    Thanks, I have the indexes of parent and child node, but how can I make change to them? I mean how to reffer to them? I couldnt find a way for doing that yet
  2. Re: Need help with TreeView (change a node text on runtime)

    Let me put it thisway:



    I can't figure out how to select a child node when I already know its parent [Index] and the child's [Index] itself. Imagine a treeview like this:

    + Parent[0]
    |---...
  3. Re: Need help with TreeView (change a node text on runtime)

    Ok I had some research and find out it would be possible with [Index] property of a node.

    But I want to know how is it possible to select a child node when I know its parent [index] and the...
  4. Need help with TreeView (change a node text on runtime)

    Hi everyone,

    I have made a treeview and to listboxes. The idea is by pressing CTRL+1 keys when a childnode of the treeview is selected, its related content will be shown in list box 1. By pressing...
  5. A method to get XML element's text and attribute in one go

    Dear Friends,

    I am trying to make a method so anytime by entering two arguments it will return text and attribute of an element in a XML file.

    Here it goes, it return the text value but I have...
  6. Replies
    1
    Views
    728

    Re: What is wrong with my XML reader code?

    Got the idea, I had to use reader.ReadString() instead of reader.Value
  7. Replies
    1
    Views
    728

    What is wrong with my XML reader code?

    Hi,

    I wrote this piece of code. there is a method called getContetn which gets content (text) between 2 tags into the first value of an array. but It is not working, maybe you can give me a hint...
  8. Replies
    2
    Views
    1,847

    Graph component for XY (Diode V/I Curve)

    Hi guys,

    I was searching the net for some component to make it easier to draw XY plotts in Visual C#...I found some good one but they were for sale with prices like 300$ Something definetly I can...
  9. Replies
    18
    Views
    3,393

    Re: Having track of actions done by a button

    Thanks, this work a little bit like I want, but still cant do the job. I am trying to fix it since yesterday but got me to no where yet.
  10. Replies
    18
    Views
    3,393

    Re: Having track of actions done by a button

    NOOOOO it is very very important that user just be able to add 3 lines to the text files. and if you saw my program picture in here :
    http://forums.codeguru.com/images/ieimages/2011/02/1.jpg
    ...
  11. Replies
    18
    Views
    3,393

    Re: Having track of actions done by a button

    I guess the problem is not about stream writers, it is about the while loop cant have track of my counter for save buttons, there should be some other way...I am thinking of event handling..would be...
  12. Replies
    18
    Views
    3,393

    Re: Having track of actions done by a button

    well. I opened the file writer at the begining of the program using


    System.IO.StreamWriter file1 = new System.IO.StreamWriter("c:\\test1.txt");
    System.IO.StreamWriter file2 =...
  13. Replies
    18
    Views
    3,393

    Re: Having track of actions done by a button

    I tried the Demons approach but it seems it always takes the default the case, even when I deleted default section of the switch it also shows me "Cannot write to a closed TextWriter"
  14. Replies
    18
    Views
    3,393

    Re: Having track of actions done by a button

    Ok guys!

    First thanks for your time spending on my problem.
    Second here is the situation:

    http://i54.tinypic.com/9tmkut.jpg

    As you can see I have two save buttons which are disabled, when...
  15. Replies
    18
    Views
    3,393

    Re: Having track of actions done by a button

    I tried to fix the START loop as follow:



    private void buttonStart_Click(object sender, EventArgs e)
    {
    int i = 3;

    while (i > 0)
    {
  16. Re: MS Visual C# 2010 Express going back to 'previous build'

    As far as I know, Visual C# does not compile your program unless you have absolutly NO ERRORS, so if you insist to run it, it will run the last build which had no errors.

    So fix your programming...
  17. Replies
    18
    Views
    3,393

    Re: Having track of actions done by a button

    omg it is not a home work :D I am trying to make an automatic server configurator for crysis (MWLL).


    Well the problem is as soon as I click on start, the program freezes and I cant even click on...
  18. Replies
    3
    Views
    851

    Re: my simple console program is not working

    Thanks a lot, I managed to make it work like the way you said.

    I now have other problems, which I could not figure them out.

    1 - How to make a dummy proof method which neatly gets operator from...
  19. Replies
    3
    Views
    851

    my simple console program is not working

    Hi,

    I am trying to use my C skills to make a simple console calculator, I have defined all the methods but I dont know where to call them, as it was not possible to call them in the main()...What...
  20. Replies
    18
    Views
    3,393

    Having track of actions done by a button

    Dear Friends,

    I want to write a simple program which will allow user to only do something for limited times (which will be hard coded in to the program).

    I have a TextBox and two Save buttons....
  21. Replies
    4
    Views
    3,044

    Re: Binary file write is doing strange

    I somehow solved the problem, it was stupid of me because I edited the output of C# with notepad and it screwed the things up.

    Now my only problem is that I need to add this string before the...
  22. Replies
    4
    Views
    3,044

    Re: Binary file write is doing strange

    Is it possible to convert those "20"s in binary to "00" ? how to do that? this following I tried but it didnt change anything but I guess I have to find real form of 20 in binary or hex ...oh it is...
  23. Replies
    4
    Views
    3,044

    Re: Binary file write is doing strange

    Thanks for reply,

    I am 100% percent sure that the .trc file is a binary file. and also I can see it when saving the waveform from the scope, here is its saveing panel:
    ...
  24. Replies
    4
    Views
    3,044

    Binary file write is doing strange

    Dear Friends,

    I am trying to save a waveform from an oscilloscope into a binary file (remotely using C#). The scope can also save the waveform but the saved waveform which is binary file is...
  25. Equivalent for Dim waveform() as Byte in Visual C#

    Hi guys,

    I am converting a program from VBS to C#, I have a problem to understand what does this line of code means. I suspect it is a kind of array but what will its best convertion form to C# I...
Results 1 to 25 of 45
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured