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

Search:

Type: Posts; User: Marc from D

Page 1 of 20 1 2 3 4

Search: Search took 0.24 seconds.

  1. Re: How to make my appl. using the keyboard efficently?

    Thanks to you all!
    Especially to HanneSThEGreaT!
    This solution seems to work fine!

    I just gave it a small test, so what i think is that every key other then "return" will do the normal...
  2. Re: How to make my appl. using the keyboard efficently?

    Thanks to you all.

    I just want to report the actual state:

    I can handle almost every key using the Keydown event handler of my form. The only problem is, that the Return-key is not fireing that...
  3. Re: How to make my appl. using the keyboard efficently?

    Thanks again!

    But I still have a small problem:

    It seems that all pressed keys are sent to the dialog, so I can handle them as wanted.

    But with the return-key I did'nt even bring it to...
  4. Re: How to make my appl. using the keyboard efficently?

    Thanks to you, javajawa!

    But one additional question: e.Keycode is read-only. At least in "OnKeyDown".

    Where can I put your command in?


    Thanks!
  5. How to make my appl. using the keyboard efficently?

    Hi!

    I'm still writing my application which shall one fine day show the score-board of a handball game.

    I want to make my application fully controlable using the keyboard.

    For this need: how...
  6. how to define kind of global constants?

    Hi!

    What is the VB-Version from the c-statement:

    in a.h:
    #define home 0
    #define guest 1

    in b.h:
    #include a.h
  7. Re: How can init a class containing an array?

    Thanks a lot! I will try both ways later, when it is late evening here in germany.

    But please -if possible- give me a hint why it is forbidden to do something like this in a class:

    class player...
  8. How can init a class containing an array?

    Hello!

    please help me with my beginners-question:

    I try to program a Handball-timer-program. Just for fun, as I want to learn some .net programming using basic.

    I want to define my data...
  9. Replies
    4
    Views
    1,001

    Re: serial port question

    I guess the major problem is some kind of confusion in the moment.

    So: I can't help you very much, as it seems that you have to specify the way your application shall look like first.

    On the...
  10. Re: question regarding software design an speedy transmission

    No. just our own protocol via RS232 or as TCP-Telegrams.
  11. question regarding software design an speedy transmission

    Hi!

    I'm currently working on my old project again. It is -with limitations- already running and shall now become better.

    Until now it can communicate using the comport with my controller-box....
  12. Replies
    4
    Views
    1,001

    Re: serial port question

    As far as I understand, you are asking just how to detect the end of a communication.

    if you can affect the sent data, you can define a "Stop" sign.
    i.e.: you never transfer 0x10 without a...
  13. Replies
    3
    Views
    846

    Re: how to slow down my app?

    As far as I remember, Sleep() not only causes the application to wait idle, but also gives the token(?) back to windows to enable other applications to run. In result calling sleep() with small...
  14. Replies
    3
    Views
    846

    how to slow down my app?

    Hi!

    My application is running too fast!

    Background: My application shall communicate using RS232 and TCP using the almost same code. Using RS232 I reach 10-40 updates per second, using TCP up...
  15. Replies
    3
    Views
    829

    Standard C++ operation with i++

    OK, today I just got an interesting one. I already solved the "problem", but nevertheless I would like the reason for the behaviour:

    Code snipplet:

    Line[1] = "A";
    Line[2] = "B";
    Line[3] =...
  16. Replies
    1
    Views
    1,303

    What is PASCAL in C++?

    Hi!

    I'm currently working on a program that shall transmit data via TCP/IP. OK, I have my problems with that, but this is not the point of my question.

    My application crashes when I close it,...
  17. Replies
    2
    Views
    659

    TCP receive question

    Hi!

    In my application a use a serial interface for communication. This interface allows sending bytes and (NECCESSARY) calls a function as soon as an event happend on the line.

    So receiving...
  18. Replies
    1
    Views
    792

    Serialization, easy questions

    Hi!

    I got mainly two questions regarding serialization:

    My application already works, no save or load button was implemented. Now these functions are an additional request. I want to use...
  19. Replies
    3
    Views
    780

    Worker sending to different windows

    Hi!

    I'm sorry to ask the question number 646885 regarding thead-communication, but I found no answer for the following question:

    In my application I use a worker-thread for processing the rs232...
  20. Re: Porting from VC6 to VC8 Major problem??

    As far ad I understood you are right, but that is the reason why I installed the Platform SDK. This should enable VC8 to do what I want.... Am I right? Not sure....


    Thank you, krmed!


    Marc
  21. Porting from VC6 to VC8 Major problem??

    Hi!

    Well, it started with my windows/MFC application, devolped using VC6. I have to do some changes and figured out, that I have some GUI-problems. VC6 often crashes when an application has GUI...
  22. CAsyncSocket, How to get connection-status?

    Hi!

    Thanks to codegurus help I made my application working using a CAsyncSocket for my TCP-communication.

    Now I want to make it more stable. The connection shall automatically reconnect after a...
  23. Replies
    8
    Views
    1,563

    Re: TCP-Socket.receive does not return. Why?

    OK: I even expect that no one sends a byte. But in this case there should be a timout?
    How can I make the function waiting only a certain time?

    But already you helped me!

    Thanks!

    Marc
  24. Replies
    8
    Views
    1,563

    TCP-Socket.receive does not return. Why?

    Hi!
    Globally defined:
    CSocket sock;

    In a function:
    TRACE("\r\nTCPRead before sock.Receive");
    temp = sock.Receive(IBuf,64);
    TRACE("\r\nTCPRead after sock.Receive");

    in InitInstance:
  25. Replies
    3
    Views
    770

    Ethernet basics required

    Hi!

    The job is -hopefully- easy:
    I shall transport the already implemented protocol from the serial interface to an ethernet connection. With other words: My application runs already, but the...
Results 1 to 25 of 488
Page 1 of 20 1 2 3 4





Click Here to Expand Forum to Full Width

Featured