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

Search:

Type: Posts; User: Oliviu

Page 1 of 7 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    838

    Re: Need Help SQL Statement

    If you use Access put your date between 2 #

    example: #21/10/00# (not separated with points)

    regards,
    Oliviu Burlacu
  2. Replies
    6
    Views
    838

    Re: Need Help SQL Statement

    Do you use Access Databse?
  3. Replies
    4
    Views
    653

    Re: How to set char "_" to m_strFilter ?

    If you use Acces when using wildcard characters to search for an asterisk (*), question mark (?), number sign (#), opening bracket ([), or hyphen (-), you must enclose the item you're searching for...
  4. Replies
    4
    Views
    653

    Re: How to set char "_" to m_strFilter ?

    Look this select statement:

    SELECT * FROM table1, table2
    WHERE string like 'Hallo\_1' ESCAPE '\';

    in this case using the ESCPAE character \ the _ will be treated as the character '_';
    ...
  5. Replies
    3
    Views
    691

    Re: too many warnings

    Open Project menu (from VC)and choose Settings (or pres ALT+F7) and in C/C++ tab on Warning level be sure that isn't Level 4 (optimal is Level 3).

    Regards,
    oliviu Burlacu
  6. Re: How can I get the selected ComboList item text?

    Try this way:


    CString sText;
    if (m_pSetCommDlg->m_cmbBaudRate.GetCurSel() >= 0)
    {
    m_pSetCommDlg->GetDlgItemText(IDC_YOURCOMBO, sText);
    TRACE("selected item = %s\n", sText);...
  7. Replies
    2
    Views
    800

    Re: want non-standard cursor size (64x32)

    Try with LoadCursorFromFile.
    The LoadCursorFromFile function creates a cursor based on data contained in a file. The file is specified by its name or by a system cursor identifier. The function...
  8. Replies
    1
    Views
    537

    Re: Keyboard Entries

    Why don't you test the pretranslatemessage function like this:

    MessageBox("OK");...and see whats happend

    regards,
    Oliviu
  9. Re: FindFirstFile fails for wildcard characters in the path

    The class is CFileFind....sorry for my mistake
  10. Re: FindFirstFile fails for wildcard characters in the path

    Then you should rather use CFindFile class. It's more easy to work with it. (My opinion :) )

    First made a search for the first *.proj directory and then you have a method to test if the found file...
  11. Replies
    2
    Views
    1,012

    Re: CReBarCtrl Problem

    I think this will be helpful for you ....can be found in MSDN:

    CReBarCtrl objects should be created before the parent object is visible. This minimizes the possibilities of painting problems.
    ...
  12. Replies
    5
    Views
    706

    Re: winNT vs. Win2000

    BTW: There always are problems under every OS.

    Regards,
    Oliviu Burlacu
  13. Re: FindFirstFile fails for wildcard characters in the path

    To help you I need a clearing up:

    *.proj are certainly directory?

    Regards,
    Oliviu Burlacu
  14. Replies
    1
    Views
    2,682

    Re: GotoDlgCtrl & SetFocus

    Did you treat in PreTransalteMessage() the return key if you have the focus on a button (what button do you need)...Because, ussualy, the return key is associated with the OK (or default) button.

    ...
  15. Thread: RichEdit colors

    by Oliviu
    Replies
    1
    Views
    476

    Re: RichEdit colors

    Take a look at this:


    // The pointer to my rich edit control.
    extern CRichEditCtrl* pmyRichEditCtrl;
    CHARFORMAT cf;

    // Modify the default character format so that all new
    // text is striked...
  16. Replies
    1
    Views
    495

    Re: Need help with checkboxes!

    I think you rather use a ListCtrl.....
    Don't forget to set the listctrl to have check-boxes.

    ListCtrl.SetExtendedStyle( LVS_EX_CHECKBOXES );

    You can look at that in MSDN on CListCtrl.

    Best...
  17. Thread: *.clw

    by Oliviu
    Replies
    1
    Views
    619

    Re: *.clw

    *.cclw is the file wich contain class wizard information. If this file is deleted nezt time you launch class wizard will be automaticaly created. If you dont see a class in class tree you must go in...
  18. Replies
    4
    Views
    995

    Re: Virtual Destructor

    Destructors and virtual destructors

    The destructor has a special job: it must disassemble an object that may belong to a hierarchy of classes. To do this, the compiler generates code that calls...
  19. Replies
    1
    Views
    9,136

    Re: Iterate through a CListCtrl

    CString itemText;
    for(int i=0; i < m_listCtrl.GetItemCount(); i++ )
    {
    itemText = m_listCtrl.GetItemText(i,0) // instead of 0 you can put the number of an subitem if you have multicolumns
    ...
  20. Replies
    5
    Views
    1,391

    Re: How to update bulk rows of data

    Send me your e-mail address at olburlacu@websci.dntis.ro and I'll send you a sample.
    Regards,
    Oliviu
  21. Replies
    5
    Views
    1,391

    Re: How to update bulk rows of data

    I use these operation along time ago...but see if these help you. I remember that I make my on Recordset class derived from CRecordset.
    For more information read MSDN "Recordset: Fetching Records in...
  22. Replies
    5
    Views
    1,391

    Re: How to update bulk rows of data

    Look at this sample and see if help u:


    define UPDATE_ROW 100
    #define DELETE_ROW 101
    #define ADD_ROW 102

    SQLUINTEGER CustIDArray[11];
    SQLCHAR NameArray[11][51],...
  23. Replies
    5
    Views
    892

    Re: virtual functions

    Here you have a paragraph from "Thinking in C++" book of Bruce Eckel

    Regards,
    Oliviu

    C programmers seem to acquire C++ in three steps. First, as simply a “better C,” because C++...
  24. Replies
    2
    Views
    684

    Re: CListCtrl lParam

    BOOL SetItemData( int nItem, DWORD dwData );

    Return Value

    Nonzero if successful; otherwise 0.

    Parameters

    nItem
  25. Replies
    2
    Views
    731

    Re: Read .INI file in Dialog based project

    Check if everything is accomplished:

    GetPrivateProfileString
    The GetPrivateProfileString function retrieves a string from the specified section in an initialization file.

    Note This function...
Results 1 to 25 of 160
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured