CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    6

    Question data from memory to textbox

    Dear Friends,

    I made an interfase with PIC to transmit data via USB port, this data its stored in a Buffer.

    I want to create a Form with text boxes in VC++ to display this data Buffer in decimal form.

    Any wan could help me?

    I will share my USB interfase information if any one is interested.

    Thanks a lot fot your help.

  2. #2
    Join Date
    Apr 2009
    Posts
    57

    Re: data from memory to textbox

    The first step would be to write a "C" program to just print the Decimal #'s to the screen to make sure that you have valid data in "C" format.


    Once you have the pipe dumping good code then you can bring in the "C" source code to a VC++ APPLICATION.

  3. #3
    Join Date
    Apr 2009
    Posts
    6

    Unhappy Re: data from memory to textbox

    Dear Cnemo,

    Data Stored in Buffer is hex.

    I am doing the PIC part in assembler, and the routine in PC is VC++.
    The interface is just to test a State of a push button, first I did send just a "1" for not pressed
    and a "0" for pressed, works good, later I did send a "8" hex for pressed an a "10"hex
    for not Pressed an so on with a lot of diferents values and not so values, I have changing
    the memory location of this data along the 64 bytes in the buffer, everything its ok.

    Now I need to display this numbers in a txt box , and I dont know how to do this
    I have done a lot of experiments but my experience in VC++ is not so good.
    I have searched tutorials, and nothing.



    Any way, thank a lot for your repply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured