Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Jiko
  • Content: Threads
  • Order by date
  1. Jiko

    Change name on a .txt

    I have a file called "123.txt" and I want to change name to "AAA.txt" after i finished to write to "123.txt". I mean I have closed the file "123.txt". I can open it and read the file and write it to my new file, but can't I just copy the hole file? Or just...
  2. Jiko

    convert hex to dec or dec to hex

    Are there any functions I can use or do I have to write them myself? All kind of convertions between hex,dec,bin,ASCII. I have strings with 32 byte that i count and do a checksum in the end. ex. 0102030405060708090A0B0C0D0ECS I also convert 2 byte to 1 and represent them in ASCII. ex. 86 (1000...
  3. Jiko

    ListBox scrollbar

    Hi! I have a ListBox that presents information. When the ListBox gets full, I can no longer se whats beeing written. I have to wait until all information has been written, and then use the scroll. Have tried this... m_ListBoxInfo.SetScrollPos(1,m_ListBoxInfo.GetCount(),TRUE); ...but it only...
  4. Jiko

    Update ListBox

    Hi! I have a ListBox, that presents information and some meassurement values, when I press a "startbutton". But the ListBox doesn't update until the function is done. I wont it to display information during the function is running, so the user can see what's happening. Martin
  5. Jiko

    How to access data in Excel worksheet in VC++?

    Hi! Have used the code below, and have som questions. Does anyone know more about the line: (marked with ********) sSql = "SELECT StudentID, Marks FROM MarksDemo"; Whats MarksDemo, is it the tabel in the Excel-file? Have tried to create a table in Excel (called MarksDemo)...
  6. Jiko

    Can't give struct _COMMTIMEOUTS parametervalues!

    I have problem then I Init the struct. typedef struct _COMMTIMEOUTS { DWORD ReadIntervalTimeout; DWORD ReadTotalTimeoutMultiplier; DWORD ReadTotalTimeoutConstant; DWORD WriteTotalTimeoutMultiplier; DWORD WriteTotalTimeoutConstant; } COMMTIMEOUTS,*LPCOMMTIMEOUTS...
  7. Jiko

    abort read com if nothing comes

    Hello! I communicate with different modules via com-port.I'm the master and they are slaves. They just answer me then I call them. But if they dont answere me.My program don't want to wait for ever. After a certain time I want to stop reading from the comport.Because in that case I want to send...
  8. Jiko

    Show all alternatives in the combobox

    Have a combobox, where we have tried to set styles in properties so that the combobox shows the entire list. But can't get more than two alternatives shown at the same time. Can we use properties to fix that? Martin, Mikael.
  9. Jiko

    set path (Browse)

    We want to be able to set the path to a directory when we click setpath in our FileMenu. We have a SAVE-button, but we don't want to set the path when we click that button. Just change the directory in setpath in the FileMenu. Want it to work like a browser.When we set the path we don't want to...
  10. Jiko

    Save to file

    I'm trying to to save variabels like byte, int, string to a file and open it with Notepad. But then I open it's I get 'A' instead of 65.(ASCII 65 = A).How do I save my byte to get it right? And how do I save a String? Thank you.
  11. Jiko

    ActiveX editbox

    We want to do an ActiveX editbox that keep track on the number of characters written. We have done one that count the characters (m_nCharsTyped). It works well until we select more than one character and press backspace ('\b'), then m_nCharsTyped is just decreased by one. void...
  12. Jiko

    Move program from Pc to Pc

    Have tried to move my program from work to my home computer, but it doesn't work. Can't open my window and edit (change editbox, combobox etc.). Says that's it already opened in a editor. Have moved all of the files that are created. How can I do this?
  13. Jiko

    editbox combobox

    We have edit boxes, comboboxes in our program. It's defaultvalues in each of them. Then we change a value in one of them we want to see that it's changed (highligthed or something). If we change several values, we want to see in a easy way which are chaged, before we send this values. How can we...
  14. Jiko

    Minimize and maximize window.

    We have made a dialog based program. We get the closebutton automaticly in the upperright corner when we create the program, but we don't get the other two buttons, maximize and minimaze. How can we do this? We have tried multiple document instead of dialog based program, then we get all...
  15. Jiko

    read/write to file

    we are using the parallellport to send bytes with data between to pc. We store it in a file(text) and then we reads from this file and place the content into a textbox in our window-application we can see that it's correct, but if we want to open the file outside our applikation, for exampel...
  16. Jiko

    Parallelport

    We are able to send and recieve on the data-pins, but don't know how to read ACK and BUSY.
  17. Jiko

    pc parallell port

    We want to communicate with the parallellport,can anyone give us any tips on how to do it?
  18. Jiko

    Checkbox in menu

    We have created a menu in MFC. In our view-menu we have 3 menu-alternatives. We want to have a checkbox to each alternative. In Set Item Properties when we created the alternatives we marked CHECKED on our third alternative. We want to be able to change this in runtime. We also want to add a...
  19. Jiko

    Dynamic ComboBox

    We have a map with files that we want to be shown in a combobox. The number of files in the map varies. When we chose a file from the combobox, that filename should be saved as a CString. We use this CString when we send the file on a comport.
  20. Jiko

    Want to use OpenComm, WriteComm...

    Trying to do serial communication, want to use OpenComm, WriteComm in my program, but always get this answer: error C2065: 'OpenComm' : undeclared identifier Do I have to include any files or isn't it possible to use this word in Visual C++.

Part and Inventory Search

Back
Top