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

Search:

Type: Posts; User: reptile

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    436

    Please help with rollback

    I've forgotten

    "try
    {"

    at the first statement.

    I know all these things about exceptions and the way of their handling.

    I don't think that it would be necessary to post new thread here if...
  2. Replies
    2
    Views
    436

    Please help with rollback

    Hi everybody!

    I've got a problem with a dataset rollbacking.
    Database Server is Sql Server.
    And I use my own form for data changing.

    So, this is the code of data record removing:
  3. Replies
    0
    Views
    475

    Help with time parameter in RowFilter

    I want to filter all records with criteria "later than 8:00 am" by settings RowFilter value of DataView object. How to do that? But I want to note, that I need to compare only the time part of...
  4. Replies
    0
    Views
    516

    A trouble with data binding in my control

    I've create my own control - PageControl (derived from UserControl), which acts like TabControl but has no tabs. It's a collection of my class PageControlItem, which is derived from Panel and...
  5. Replies
    0
    Views
    402

    Help with standard property value

    I created a PageControl class which acts like TabControl, but has no tabs.
    This class has SelectedPage property that allows selecting active page by passing its value.
    The problem is that when...
  6. Replies
    0
    Views
    526

    Help with key handling in DataGrid

    Hi to all!
    I added to DataGrid FullRowSelect behavior (in a new derived class DataGridEx).
    Now I want keys LEFT and RIGHT to be handled as UP and DOWN keys respectively, that is when I press LEFT...
  7. Replies
    4
    Views
    614

    Re: Custom code generation

    I don't want to rearrange the order of elements each time I change the design of my form. Because if the order that code designer places the elements is not suitable, and I place them in the order I...
  8. Replies
    4
    Views
    614

    Custom code generation

    I am creating my own component, which is like TabControl.
    I created my own collecation class (PageCollection) and added the property of this type to component class.
    I also added additional...
  9. Replies
    1
    Views
    1,423

    windows update temporary folder!!!

    Where does WU save its downloaded files?
  10. Replies
    0
    Views
    445

    passing NULL (C++) to a function

    Hi all.
    I created a structure in C#, DEVMODE, which is placed in winuser.h in C++.
    Then I imported a function: ChangeDisplaySettings in the following way



    [ DllImport( "user32", EntryPoint =...
  11. Replies
    0
    Views
    687

    something wrong with OleLoadPicture

    In MSDN is written that this function can be used to load image from BMP, WMF, ICO and etc. Nothing is written about JPEG.
    But something strange happens.
    This is my code sequence.

    1....
  12. Replies
    2
    Views
    303

    Do memory leaks occure in this code???

    #include <iostream>
    #include <string>
    using namespace std;

    class Class {
    public:
    string s;

    string get_s()
    {
  13. Replies
    1
    Views
    415

    Help with templates in C++

    Why doesn't this code work???



    template<class t>
    t sum( t a, t b )
    {
    return a + b;
    }
  14. Replies
    1
    Views
    679

    How to disable font smoothing???

    How locally for an applicatrion disable font smoothing, I mean this must be changed without global changes in operating systems!!!

    Thanx for taken part!!!
  15. Replies
    1
    Views
    817

    SetWindowRgn for a button

    Is it true that SetWindowRgn is not applicapable for buttons and also another controls of window?

    It's just because I cannot set a region for the button on my dialog window in OnInitDialog, This...
  16. Replies
    2
    Views
    632

    uppercase in SQL???

    Hi. Is there any built in SQL syntax ability to make the string in query uppercase???
  17. Replies
    1
    Views
    1,264

    Set a focus to a button

    I want t set a focus on a button. When I use the shown code in MFC for an edit control:



    ::SetFocus(
    ::GetDlgItem(
    GetSafeHwnd(), // HWND of the dialog window
    <id> ) );
  18. Replies
    2
    Views
    405

    File name without extension.

    I have a full path to a file. How to determine the name of the file without the extension (and also without the path) by means of WINAPI functions library???
  19. A problem with the balloon's timeout in NOTIFYICONDATA!!!

    This is the code for Windows XP



    #define _WIN32_IE 0x0600

    // ...
    #include <shellapi.h>

    // ...
  20. Replies
    6
    Views
    459

    Yes, thanx. I just wanted to be sure in the...

    Yes, thanx. I just wanted to be sure in the meaning of the return code.
    But the function that I am using is RegQueryValueEx, but I think it doesn't matter in this case.
  21. Replies
    6
    Views
    459

    No, I want to query it's value, but the returned...

    No, I want to query it's value, but the returned result is ERROR_FILE_NOT_FOUND.
    Does this returned result mean that the key doesn't exist in this context???
  22. Replies
    6
    Views
    459

    Help with registry key value.

    How to determine using WINAPI registry means whether the registry key exists???
  23. Replies
    0
    Views
    274

    Please help with bitmap conversion!!!

    I've just read an MSDN article about storing bitmap to a file!!!
    This is it.
    I changed CreateBitmapInfoStruct function
    and added some parameters to it.
    BitsPerPixel, Width and Height of the...
  24. Replies
    0
    Views
    680

    A problem with LookupPrivilegeValue.

    I've seen SE_IMPERSONATE_PRIVILEGE constant value in MSDN.
    When I'm trying to use as a parameter in LookupPrivilegeValue, "undeclared identifier" error appears about the usage of this constant.
    OK,...
  25. Is that mean that if the programmer watches for...

    Is that mean that if the programmer watches for correctness of types conversions, then the program, which was written using "C" conversion style, can be more effieciently, than one, which was written...
Results 1 to 25 of 74
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center