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

Search:

Type: Posts; User: ektan

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    700

    Error C2664 Please Help...

    Hi All,
    I'm newbies in Visual C++ 2008 and having an error during build my code. I was unable to fix it and looking expert to help me to fix this error. My code as below:

    private: System::Void...
  2. Replies
    1
    Views
    541

    Error C2664 Please Help...

    Hi All,
    I'm newbies in Visual C++ 2008 and having an error during build my code. I was unable to fix it and looking expert to help me to fix this error. My code as below:

    private:...
  3. Re: How to create two 30 secs delay in 1000 loops routine

    Hi GremlinSA,
    Thanks for the advice and guidence on understanding the timer function.

    Hi All,
    Thanks for the guidence too.

    Thanks you very much.
  4. Re: How to create two 30 secs delay in 1000 loops routine

    Hi DataMiser,
    Thanks for the suggestion, from my understanding this will run when the form is load. How about this code to use as command button event? Can you show an example? Sorry I'm still in...
  5. Re: How to create two 30 secs delay in 1000 loops routine

    Hi dglienna,
    I wrote this code is for my project that the code will communicate with device & power switch through RS-232 com port. This is some kind like device power cycle reliability testing...
  6. Re: How to create two 30 secs delay in 1000 loops routine

    Hi DataMiser,
    Thanks for the replay, can elebrate more on your explanation. Sorry about that, because I'm still in entry level.

    Hi dglienna,
    Yes, the reason 1000 iterations is to ensure...
  7. Re: How to create two 30 secs delay in 1000 loops routine

    Hi dglienna,
    Below is my code that seems to be work but when it reach to midnight my code will go crazy, this is what I want to escape from this problem and try to use the timer as a delay for my...
  8. Re: How to create two 30 secs delay in 1000 loops routine

    Thanks to Hannesthegreat and Wof reply my post. First I would like to say sorry for unclear information of my post. Actually I would to make the code to send two command out from serial port for 1000...
  9. How to create two 30 secs delay in 1000 loops routine

    Hi all,
    I was stuck on writting this code for the whole day and night which still not working as I was using the VB6 timer. The structure of the code will execute once the command buttom was...
  10. Replies
    8
    Views
    1,301

    Re: How to create a delay in hour

    Hi CrashPilot,
    I had pasted and done some modification to your code but I observed one problem that I can't figure out where is the cause. Hence, i had attach the code as below. The problem is...
  11. Replies
    8
    Views
    1,301

    How to create a delay in hour

    Hi,
    I'm new to this enviroment and I tried to convert my VB6 code to VB2005 and it seems like some syntax cannot be use. I had tried to make it work but it still failling me. Please help to guide...
  12. Re: How detect the device attached to WinXP computer at Port

    Yes, Com1 and Com3 both are different. My ideal is to write the code to monitor both com ports, received the text send from both com ports and able to send the text to both com port.
    Thanks.
  13. Re: How detect the device attached to WinXP computer at Port

    Noted. Thanks DataMiser. By the how was the code looks like to be able to received the text sending the Com1 port and display it on the text box?
    Thanks.
  14. Re: How detect the device attached to WinXP computer at Port

    Dear dglienna,
    if I need to communicate 2 com ports at the same time, shall I need to add in 2 MSCOMM instead using one? Example to received the reply from Com1 and Com3.
    Thanks.
  15. Re: How detect the device attached to WinXP computer at Port

    Dear dglienna,
    Thank you very much. You are awsome.
  16. Re: How detect the device attached to WinXP computer at Port

    Any command need to type in after added in the MSCOMM? How it going to work after added in the form? Sorry to burden you becuse I'm still in beginner level.
    Thanks you very much...
  17. Re: How detect the device attached to WinXP computer at Port

    Thanks, I'll try it out.
  18. Re: How detect the device attached to WinXP computer at Port

    Dear dglienna,

    This device appears as a USB CDC (Communications Device Class) device which creates a Virtual Serial (COM) port. When the device connected to PC it appear as Com3 and can perform...
  19. Re: How detect the device attached to WinXP computer at Port

    How about the device connected to the PC and appear it can a virtual com port. Current my VB6 code able to communicate sending text and reading the return text from device. This device is support by...
  20. Re: How detect the device attached to WinXP computer at Port

    Dear dglienna,
    Thanks for the reply, if the device have their own driver that already installed to the PC. So, will VB6 still able to write the code to detect the device? Example the device is...
  21. How detect the device attached to WinXP computer at Port

    Hi,
    I'm currently looking for help or example code on detecting the device which is connected to the computer under WinXP Prof OS. The device will appear in WinXP Port and this device is...
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured