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 strongm 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. sumedha

    plotting/graphing points and areas

    Hi, use the device context functions. try something like this... ... CDC *pDC; //device context for drawing graph pDC = GetDC(); CPen blackpen; //create a pen blackpen.CreatePen( PS_SOLID, 1, RGB(0,0,0) );//black pDC->SelectObject( &blackpen ); //select it pDC->MoveTo(25,250);// move somwhere...
  2. sumedha

    Problems with LNK2001 error

    hi, most probably u have not included the relevant *.lib file. u are probably using functions whose implementation is in these file or dll's. find out the .lib file associated with your functions. And specify it in project->settings-> in the link tab, under object/ library modules add the .lib...
  3. sumedha

    net send coding

    use NetMessageBufferSend api function -=$umedha=-
  4. sumedha

    Sending mail with C++

    use MAPI or CDO (CDO for NT [CDONTS]or CDO for exchange) -=$umedha=-
  5. sumedha

    Error importing comsvcs.dll

    hi cp3876, yep got the answer.. don't import comsvcs.dll. specify &quot;comsvcs.lib&quot; in your project settings->link tab, under object/library modules. also #include <comsvcs.h> if using &quot;CoInitializeEx&quot; specify the &quot;_WIN32_DCOM&quot; preprocessor definition in the C/C++ tab...
  6. sumedha

    CFile question....please help

    try this out: CFile testfile(&quot;C:\\testing123.txt&quot;, CFile::modeCreate|CFile::modeNoTruncate|CFile::modeReadWrite); CString buff=&quot;hello world&quot;; testfile.Write(buff,lstrlen(buff)); testfile.Close(); -=$umedha=-
  7. sumedha

    Error importing comsvcs.dll (VC++ 6.0)

    hi, anyone tried to use com+ in vc++ 6.0? I can't seem to import the comsvcs.dll. also couldn't find the iid's and clsid's to use com+ without smart pointers. Anyone else got this problem? -or an answer to it? -=$umedha=-
  8. sumedha

    GetWindowText does not work

    hi, the following function does not return the text in a edit box control. Anyone know any other way to get the text in an edit box control? I'm not using MFC. &quot;SetWindowText&quot; works fine, only &quot;GetWindowText&quot; does not work. int GetWindowText( HWND hWnd, // handle to...
  9. sumedha

    Error importing comsvcs.dll

    hi, anyone tried to use com+ in vc++ 6.0? I can't seem to import the comsvcs.dll. also couldn't find the iid's and clsid's to use com+ without smart pointers. Anyone else got this problem? -or an answer to it? -=$umedha=-
  10. sumedha

    links to dll sites

    hi,<br>anyone know of any links to sites which gives instructions on how to write dlls in vc++?<br>sumedha
  11. sumedha

    how to display a text file in an edit box

    hi,<br>I'm new to vc++. using vc++6.<br>I want to display the contents of a text file in an edit box. I used the following code. but cannot seem to get the entire file (which is very small) to a single variable.<br><br>CString tempvar;<br>while...
  12. sumedha

    how to display a text file in an edit box

    hi,<br>I'm new to vc++. using vc++6.<br>I want to display the contents of a text file in an edit box. I used the following code. but cannot seem to get the entire file (which is very small) to a single variable.<br><br>CString tempvar;<br>while...
  13. sumedha

    how to display a text file in an edit box

    hi,<br>I'm new to vc++. using vc++6.<br>I want to display the contents of a text file in an edit box. I used the following code. but cannot seem to get the entire file (which is very small) to a single variable.<br><br>CString tempvar;<br>while...
  14. sumedha

    how to put combo, check box, radio button

    Hi,<br>using VC++6, new to Vc++.<br>dialog based MFC application.<br><br>first<br>I have designed a combo box and entered data.<br>I want the first data item to be selected when by default, when the form loads.<br>how do you do this?<br>also how do you assign the selected item to a...
  15. sumedha

    display an icon on a button

    hi,<br>how do you display an icon on a button?<br>I have a Icon as &quot;andy.ico&quot;<br>I want to display this icon on a button.<br>can someone please send me the code snippet?<br>I'm using VC++ 6.<br>(I experimented with SetIcon, SetBitmap but couldn't get it to work.)<br>Sumedha

Part and Inventory Search

Back
Top