text: Type: Posts; User: reptile
  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...
  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:
  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...
  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...
  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...
  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...
  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...
  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...
  Where does WU save its downloaded files?
  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 =...
  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....
  #include <iostream>
  #include <string>
  using namespace std;
  class Class {
  public:
  string s;
  string get_s()
  {
  Why doesn't this code work???
  template<class t>
  t sum( t a, t b )
  {
  return a + b;
  }
  How locally for an applicatrion disable font smoothing, I mean this must be changed without global changes in operating systems!!!
  Thanx for taken part!!!
  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...
  Hi. Is there any built in SQL syntax ability to make the string in query uppercase???
  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> ) );
  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???
  This is the code for Windows XP
  #define _WIN32_IE 0x0600
  // ...
  #include <shellapi.h>
  // ...
  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.
  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???
  How to determine using WINAPI registry means whether the registry key exists???
  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...
  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,...
  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...