Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

Kiethnt

@Kiethnt
About
Posts
23
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • help
    K Kiethnt

    Dear all, Now I have a big trouble with C# program, during the last time I just study VC++ but now I have a small program written by C# that is sent from my friend, Im not familarly with C# so I would like ask all of you: is there any program can convert C# to VC++ or please help me translate them to VC++. I must finish my report at the end of next month. I really need for your help.

    C# csharp c++ help

  • export to Text file
    K Kiethnt

    dear all, Now a doing a small project, in which I used MS FlexGrid to demonstrate my Data, so I would like to export these data from this Grid to Text file .txt and save them to my drive. Anyone know please show me more detail. Thank in advance all of you

    C / C++ / MFC css

  • Main frame and Child frame
    K Kiethnt

    First the child frame will be locate at pixel 0x0 and then call the seconde chid frame at position 320x0. I'm just strt with VC++ so please show me more detail thank very much all

    C / C++ / MFC c++ tutorial

  • Main frame and Child frame
    K Kiethnt

    Dear all. Now I doing a project with MFC, so I would like ask you how to call child frame with any location (x, y) in the Main frame. Notice that when I called the child frame No.1, it locates at the left corner of Main frame and when I continue to call the child frame No.2, it appears at the same location of child frame No.2. Thank in advance all.

    C / C++ / MFC c++ tutorial

  • using Timer in VC++
    K Kiethnt

    Dear all, In my project I woyld like to send data step by step, so now I want to put timer in this source to delay for each step, for example: send data 1 delay 2 seconds thend send data 2 delay 2seconds ... Anyone who have experence with timer in VC+ please help me solve this problem. Many thak for your help. As below is my source code: void DlgComputing::OnButtonSendtorobot() { int rowData, rowOutput; int tmpi[3]; rowData = m_grid2.GetRow(); for (int i=1; i<= rowData; i++) { // Get Data from Grid1 for (int j=5;j < 8; j++) { m_grid2.SetRow(i); m_grid2.SetCol(j); CString tmp = m_grid2.GetText(); tmpi[j-5] = atoi(tmp); } SendtoKuka (tmpi[0],tmpi[1],tmpi[2],m_iA,m_iB,m_iC); } SendtoKuka(0, 0, 0, 0, 0, 0);

    C / C++ / MFC

  • export to text file
    K Kiethnt

    Dear all, Now I have six data in includes: 3 data Xw, Yw, Zw in FlexGid at i row and j column and 3 data m_iA, m_iB, m_iC in edit box form Interger individually. So please help me export these data to text file .txt in which these data is arrange correctly following form: P1={X Xw,Y Yw,Z Zw,A m_iA,B m_iB,C m_iC} P2={X Xw,Y Yw,Z Zw,A m_iA,B m_iB,C m_iC}....Pn I just start with VC++, so please show me more detail. Thank you very much.

    C / C++ / MFC

  • DOS 16 bit
    K Kiethnt

    I my VC++ program I call a small program written by Borland C++3.1 names: robot0.exe but this program functions to send data from PC to robot controller Win 95 operating system via COM port. However when it is called an error indicates in message box immediately. 16 Bits MS-DOS Subsytem D:\WINDOWS\system32\cmd.exe The system cannot open COM1 port requested by the application. Choose "Close" to terminate the application. I kindly recieve any suggestion form you. many thank for your reply

    System Admin

  • DOS 16 bit
    K Kiethnt

    Please show me how to post file and imageto Message text? Thank you

    System Admin

  • DOS 16 bit
    K Kiethnt

    Dear all, Now I have a small program written by Borland C++ 3.1 for Win 16 bits, the function of this program is sent data from external PC Win 98 to another PC that run on Win 95. In fact this program run properly on Win 98, but when I run it on Win Xp thus it always be fault. Anybody please explain to me what is wrong and why it can not run on Win XP. If I want to run this program on Win Xp what I should do?

    System Admin

  • Borland C++
    K Kiethnt

    I have a small program that is written on Borland C++ 3.1, it worked probarly on Win98 but now I need to reuse this program on WinXP, howerver there is an error when i use it on WinXp. Any body know to convert this program into Win32 application. What is bios.h header file. Could I rewrite a new application and then aopy these code again?

    C / C++ / MFC question c++ delphi help

  • communication program
    K Kiethnt

    Dear all, Now I doing a thesis about industrial robot, in which I want to send data from PC to robot controller via RS232 cable, notice that robot controller is used protocol 3964R Siemens so any body know how to write a program by C++ or VC++ please show me. I had to access many website to find a communication program however, I just support for RS232 standard not for 3964R Thank for your help.

    C / C++ / MFC c++ help tutorial

  • More problem
    K Kiethnt

    Dear all, Any body know where can I find the header file "bios.h and "perce.h" in Win 32. Thank for yuor help

    C / C++ / MFC help

  • complete
    K Kiethnt

    Dear all, Now I'm writing a small program to communicate via RS232 with 3964 protocol, however Idon't understand why I cannot compile this source code. Any body please help me solve this problem. // 3964PROTOCOL.cpp : Defines the entry point for the console application. // #include #include #include #include #include #include #include #include "perce.h" #define ESC 27 void interrupt(*oldvect_ser)(); extern void interrupt int_sio(); extern void restore_8250 (void); extern void init_8250 (void); extern void send_tele (char *, short); extern WORD state, receive_counter, protocol_error; extern BYTE receive_buffer[]; BYTE choice,sio_eoi; BOOL receive, autosend; WORD Com_basis,len; BYTE send_buffer[BUFFER_MAX]; BYTE tmp_buffer[BUFFER_MAX]; BYTE *mode,*port; /*=========================================================*/ void warte (void) { long i; /* warte ein wenig */ for (i=0;i<500000;i++) i = i; } /*----------------------------------------------------------------------- * MENUE *-----------------------------------------------------------------------*/ void menue (void) { clrscr(); printf ("\n\n"); printf ("Final Version of KUKAVISION.EXE \n"); printf ("Serial device with 3964R protocol mod. P.S. 08.08.03\n\n"); printf ("[1] send teststring [4] COM 1 \n"); printf ("[2] getNum [5] COM 2 \n"); printf ("[3] getDat [6] reset protocol\n"); printf (" [ESC] quit\n"); printf ("Aktueller Port: %s\n",port); printf ("Mode : %s\n", mode); printf ("Number of elements: %d\n",numEl); printf ("Element index: %d\n",elementIndex); printf ("Element Data: %s\n---------\n", &send_buffer[0]); } /****************************** SEND_TELEGRAM *******************************/ void send_telegram (BYTE *buffer) { if ((len = strlen (buffer)) > 0) { send_tele (buffer, len); warte (); warte (); warte (); if (state == E1) { state = RUHE; protocol_error=2; } else protocol_error=6; } /********************* MONITORING **********************/ void monitoring (void) { short i; printf("-> : "); for (i=0;i

    C / C++ / MFC help c++ database com announcement

  • somethings wrong
    K Kiethnt

    Dear all, there are something wrong in the last message, the exactly source code is as below: // 3964PROTOCOL.cpp : Defines the entry point for the console application. // #include #include #include #include #include #include #include #include "perce.h" #define ESC 27 void interrupt(*oldvect_ser)(); extern void interrupt int_sio(); extern void restore_8250 (void); extern void init_8250 (void); extern void send_tele (char *, short); extern WORD state, receive_counter, protocol_error; extern BYTE receive_buffer[]; BYTE choice,sio_eoi; BOOL receive, autosend; WORD Com_basis,len; BYTE send_buffer[BUFFER_MAX]; BYTE tmp_buffer[BUFFER_MAX]; BYTE *mode,*port; /*=========================================================*/ void warte (void) { long i; /* warte ein wenig */ for (i=0;i<500000;i++) i = i; } /*----------------------------------------------------------------------- * MENUE *-----------------------------------------------------------------------*/ void menue (void) { clrscr(); printf ("\n\n"); printf ("Final Version of KUKAVISION.EXE \n"); printf ("Serial device with 3964R protocol mod. P.S. 08.08.03\n\n"); printf ("[1] send teststring [4] COM 1 \n"); printf ("[2] getNum [5] COM 2 \n"); printf ("[3] getDat [6] reset protocol\n"); printf (" [ESC] quit\n"); printf ("Aktueller Port: %s\n",port); printf ("Mode : %s\n", mode); printf ("Number of elements: %d\n",numEl); printf ("Element index: %d\n",elementIndex); printf ("Element Data: %s\n---------\n", &send_buffer[0]); } /****************************** SEND_TELEGRAM *******************************/ void send_telegram (BYTE *buffer) { if ((len = strlen (buffer)) > 0) { send_tele (buffer, len); warte (); warte (); warte (); if (state == E1) { state = RUHE; protocol_error=2; } else protocol_error=6; } /********************* MONITORING **********************/ void monitoring (void) { short i; printf("-> : "); for (i=0;i

    Managed C++/CLI c++ database com announcement

  • complete
    K Kiethnt

    Dear all, Now I have a problem with a small program Win32 console application for communication via RS232 with 3964 protocol, so anybody please help me compile this source code or show me what is wrong: // 3964PROTOCOL.cpp : Defines the entry point for the console application. // #include #include #include #include #include #include #include #include "perce.h" #define ESC 27 void interrupt(*oldvect_ser)(); extern void interrupt int_sio(); extern void restore_8250 (void); extern void init_8250 (void); extern void send_tele (char *, short); extern WORD state, receive_counter, protocol_error; extern BYTE receive_buffer[]; BYTE choice,sio_eoi; BOOL receive, autosend; WORD Com_basis,len; BYTE send_buffer[BUFFER_MAX]; BYTE tmp_buffer[BUFFER_MAX]; BYTE *mode,*port; /*=========================================================*/ void warte (void) { long i; /* warte ein wenig */ for (i=0;i<500000;i++) i = i; } /*----------------------------------------------------------------------- * MENUE *-----------------------------------------------------------------------*/ void menue (void) { clrscr(); printf ("\n\n"); printf ("Final Version of KUKAVISION.EXE \n"); printf ("Serial device with 3964R protocol mod. P.S. 08.08.03\n\n"); printf ("[1] send teststring [4] COM 1 \n"); printf ("[2] getNum [5] COM 2 \n"); printf ("[3] getDat [6] reset protocol\n"); printf (" [ESC] quit\n"); printf ("Aktueller Port: %s\n",port); printf ("Mode : %s\n", mode); printf ("Number of elements: %d\n",numEl); printf ("Element index: %d\n",elementIndex); printf ("Element Data: %s\n---------\n", &send_buffer[0]); } /****************************** SEND_TELEGRAM *******************************/ void send_telegram (BYTE *buffer) { if ((len = strlen (buffer)) > 0) { send_tele (buffer, len); warte (); warte (); warte (); if (state == E1) { state = RUHE; protocol_error=2; } else protocol_error=6; } /********************* MONITORING **********************/ void monitoring (void) { short i; printf("-> : "); for (i=0;i

    Managed C++/CLI help c++ database com question

  • ListBox control
    K Kiethnt

    My program had run already, I really thank for your help Naveen R. However, the problem here is I want the string will be send continuosly when I push Send button once only. One more question I would like ask you that how to write all string in a Listbox control to file .txt and read string in text file to Listbox control. Please help me solve this problem.

    C / C++ / MFC tutorial

  • ListBox control
    K Kiethnt

    Sorry I confused some where. so let me post this massage again. Any body kwown please show me how to use List Controlfor in my case that is explained as following: In my dialog, I created two ListBox1 and ListBox2 with multiline and 1 button Send. So when I push button send the String ar row 1 form ListBox1 will be send to ListBox2, that means the string in row 1 of List control 1 will be disappeared and insert to row 1 of ListBox2, the sequence is run step by step up to there is no string in ListBox1 Thank very much.

    C / C++ / MFC tutorial

  • ListControl
    K Kiethnt

    Any body kwown please show me how to use List Controlfor in my case that is explained as following: In my dialog, I created two List Control 1 and List Control 2 with multiline and 1 button Send. So when I push button send the String ar row 1 form List control 1 will be send to List control 2, that means the string in row 1 of List control 1 will be disappeared and insert to row 1 of List control 2, the sequence is run step by step up to there is no string in List control 1 Thank very much.

    C / C++ / MFC tutorial

  • help
    K Kiethnt

    I have just begin with VC++, Can any body help me use MS FlexGrid control? In my lab session I use Grid to add the location of Mouse (x, y) in Dialogbase. Many thanks for your help

    C / C++ / MFC c++ css help question

  • help
    K Kiethnt

    Can any body help me use MS FlexGrid

    C / C++ / MFC help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups