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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by andrey

  1. andrey

    GDI and GDI+ difference

    Thank you very much, but I prefer to use old good InvertRect or InvertRgn. Truly - there's a thin line between genius, and insanity! There are so many features for each trifle in NET...
  2. andrey

    GDI and GDI+ difference

    Is there any way in VB.NET to draw rounded rectangles and invert images?
  3. andrey

    Selecting characters in drawn string

    How can I select several characters in string drawn by DrawString method?
  4. andrey

    "InitProperties" and "UserMode" analogues in VB.NET

    Thank you! I have one more question - if I set e.Handled = True in KeyPress event, it works correctly, but in KeyDown it just does not work. What is it - bug, issue or any new feature? I tried it on Windows XP SP1 and .NET SP1.
  5. andrey

    "InitProperties" and "UserMode" analogues in VB.NET

    Hi all! If somebody has developed any user control (former ActiveX) in VB.NET yet - what are the .NET analogues for "InitProperties" and "UserMode" from VB6? In other words, how can I determine when control has been placed on it's container for the first time, what mode...
  6. andrey

    For-Each does not work

    Why, if I define some class inherits from DictionaryBase, For-Each does not work? I get the error "Specified cast is not valid". Here is a sample code: Public Class Customer Private m_CustName As String Public ReadOnly Property CustName() Get Return...
  7. andrey

    sorting in XQL query

    Is there any way to sort data returned by XQL query? For example: Set colNodes = objDOM.selectNodes("//SALES_LIST/SALE") and sort the result by @saleDate, just like we can filter it with [@saleDate != '01 Jan 2002']. Thank you
  8. andrey

    Insert statement returning a value

    You can get any values you want, if you write stored procedure and use Command object with one or more parameters defined as Returned or Output.
  9. andrey

    Toolbar and DropDown button

    I have a toolbar with DropDown button, that drops down when I click the little arrow near the button. But how can I get the same effect by clicking the button, not the arrow? ( try to click AddProject button in VB IDE )
  10. andrey

    Images in TreeView

    Hi! I have a TreeView control with 3 levels of nodes and an ImageBox with 5 images. There is some code in NodeClick and TreeView_Expand events. And when I click on some Node or expand it - everything is all right. But when I call these events from within code, like this: Call...
  11. andrey

    Double click on ListView

    But I DO NOT want to use the selected item! OK, this is the code I use: 1. In the General section Private lst As ListItem 2. In the MouseMove event Set lst = lv.HitTest(x , y)'lv - the ListView control 3. In The DoubleClick event If Not lst is Nothing Then 'My code here End If
  12. andrey

    Double click on ListView

    There is a DblClick event for ListView control, but there is not DblClick event for it's ListItem. How can I define that DblClick event occures exactly when I make double click on ListItem and not on blank space of control?
  13. andrey

    Long to RGB converting

    How can I convert color(Long) to RGB? Thank you.
  14. andrey

    Catastrophic failure message

    Have anybody ever seen the error message "Catastrophic failure"? It appears during client's interaction with our DLL, but not every time - very rarely. Nothing I found in MSDN couldn't help. What can cause this error: size of DLL(more than 1 Mb), SQL Server error(connection falure) or...
  15. andrey

    Memory release

    There are cross references and circular references in component I created. Therefore it doesn't fires Terminate event when I set it to Nothing and doesn't free memory. It can be catastrofical if somebody will be use it about 500-1000 times.(After 100 times it occupies 9 Mb). I read in MSDN that...

Part and Inventory Search

Back
Top