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 SkipVought 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: *

  1. kaya17

    Did i program a virus???????

    Hi, all, i came across a very stange thing. my program seems contain some virus, when it is installed in a pc, the PC will got a dialog saying: "Memeory location xxx00sfx cannot be read", and it provides you "Cancel" and "OK" button, after this dialog pops out, if you click ok, then the "paste"...
  2. kaya17

    how to add a simple menu bar in MFC

    hi, i want to add a menu bar in a dialog. how to make it looks like a static text display, but when you click it, it will drop down some options to choose? (like a drop down buttons.) anywhere i may refer to to create it? thanks a lot in advance! kaya
  3. kaya17

    IP sort in clistctrl

    hi, i checked the stdafx.h, but there is no "winsock.h" inside. only got #include <afxsock.h> that is not winsock.h right? but except this one, there is nothing related to sockets....
  4. kaya17

    IP sort in clistctrl

    oh...i remember, when i first built the MFC exe workspace. i ticked the one Windows Sockets checkbox in the step4 of the MFC AppWizard....in the "what features would you like to include?" frame... any way that i can remove it?
  5. kaya17

    IP sort in clistctrl

    --------------------Configuration: EIFScan - Win32 Debug-------------------- Compiling... SortListCtrl.cpp C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(99) : error C2011: 'fd_set' : 'struct' type redefinition C:\Program Files\Microsoft Visual...
  6. kaya17

    IP sort in clistctrl

    hi, i followed ur instruction, but still it cannot work. there are 62 errors and 11 warnings come out...
  7. kaya17

    IP sort in clistctrl

    hi, i found this website to do the listctrol column sorting. for the IP sort, a person pasted something like this, //******************** Ok here's code to make it sort IP Addresses. Note: this will make the code depend on the winsock libraries for inet_addr, you could re-implement inet_addr...
  8. kaya17

    Maximize and minimize the dialogs

    i tried the GetDlgItem(IDC_ListControl) but it said cannot convert parameter 2 from 'class CWnd *' to 'struct HWND_*' IN THE DeferWindowPos(...) function.... oh...headache....
  9. kaya17

    Maximize and minimize the dialogs

    Hi, thanks for your reply. but would you tell me how to get the HWND of thoes controls (like buttons, lists, combo boxes or whatsoever)? Looking forward to your reply. thanks. kaya
  10. kaya17

    how to make an executable file or a setup for the Access?

    Hi, bill, no, my application is to run with the Access already installed. my concern is how to set the directory of the access file, so that my program can find it and do something to it? thanks for your further help! regards, kaya
  11. kaya17

    how to make an executable file or a setup for the Access?

    hi, i have a Access database, and my application is to manage the database, like query, insert, delete or update. i also have another windows application to launch from my application. i have finished implementing stage, but how to make an executable file(or something like a set up) to deliver...
  12. kaya17

    Maximize and minimize the dialogs

    HI, thanks a lot for your code. when i tried it out, it said the GetClientRect(hWnd, &rc); doesn't take 2 parameters, is there any header file should i add? i added the #include <windows.h>, but it still persisted. and what is the hwndTree, hListWnd, hStatusWnd, and hToolWnd? in my dialog...
  13. kaya17

    Maximize and minimize the dialogs

    hi, could any of you give me some examples to illustrate how to use the DeferWindowPos()? thanks a lot! kaya
  14. kaya17

    how to make an executable file or a setup

    hi, all, i have a small database of MS Access, and a folder to store the output file from my application, and another windows application to launch from my application. what should i do to deploy the application. for my understanding, an executable file seems not possible, since i have to let...
  15. kaya17

    Maximize and minimize the dialogs

    so, you are saying that i have to do it manully?
  16. kaya17

    Maximize and minimize the dialogs

    HI, guys, now my project is on the final stage. but still, there is a problem not solved. that is the maximize and minimize of the dialogs. i got some buttons and a list in the dialog, once i click the maxi and mini icons on the top right corner, the dialog indeed changed accordingly, however...
  17. kaya17

    another assertion error :(

    GetBuffer(nMaxLen); VERIFY(_vstprintf(m_pchData, lpszFormat, argListSave) <= GetAllocLength()); ReleaseBuffer(); the error happened in the 2nd line. what might be wrong with the code? Thanks! kaya
  18. kaya17

    how program a save as dialog?

    hi, anybody knows how to program a save as dialog? that is user can choose the directory to save a file? Thanks in advance! kaya
  19. kaya17

    write the content of list control to a excel file

    thanks a lot. kaya
  20. kaya17

    write the content of list control to a excel file

    or, can i use CFile to write it to a csv file?

Part and Inventory Search

Back
Top