Jump to content
Xtreme .Net Talk

Kieron

Members
  • Posts

    15
  • Joined

  • Last visited

About Kieron

  • Birthday 01/22/1980

Personal Information

  • Visual Studio .NET Version
    2002/2003 EA
  • .NET Preferred Language
    VB.NET

Kieron's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, I'm trying to overrides a buttons OnPaint or OnPaintBackground event. However when the buttons flatstyle is set to system these event aren't called. The point was to be able to draw an image on a button with the visual style set to the current visual style (if any). Does anyone have any ideas how I can get around/ do this... Cheers, Kieron :D
  2. It did!! But in the CooLest possible way!!
  3. Don't worry about it - found the solution. Here it is if anyone wants it... Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True) Me.BackColor = Color.Transparent
  4. Hi, As part of our funky UI (cheers to the design team!!), we've created some textboxes with curved edges...They've a thin borderline running around a curved rectangle, the problem is that the background of the actual UserControl shows the corners (when used on a gradient/ picture background) and we'd like to make it transparent to give it a nicely rounded egde...does anyone have any ideas as to how we'd do this? Thanks in advance Kieron
  5. Hi, I keep getting the following error: ************** Start ************** System.Reflection.TargetInvocationException: Property accessor 'CompanyName' on object 'CRMDataSet+Customer sRow' threw the following exception:'Cannot get value because it is DBNull.' ---> System.Data.StrongTypingException: Cannot get value because it is DBNull. ---> System.InvalidCastException: Cast from type 'DBNull' to type 'String' is not valid. at Microsoft.VisualBasic.CompilerServices.StringType.FromObject(Object Value) at CustomersRow.get_CompanyName() in CRMDataSet.vb:line 1002 at CustomersRow.get_CompanyName() in CRMDataSet.vb:line 1004 ************** End ************** The column in question is allowed to have NULL values, and the records it's crashing on has NULL values in the CompanyName column. I've tried re-generating the Customers section of the schema but nothing seems to work. The column's .AllowDBNull is True, so that shouldn't be an issue. Can someone please explain what's going on!!
  6. Bugger - no matter, cheers for the help guys!!
  7. Hi, that's what I've done...the image lists are in each form and the appropriate icons loaded from the DLL via the manifest stream.
  8. I thought of an enumeration but it's a bit of a long-winded way of doing it. As for the namespace+filename, that's not really an issue - it's getting the correct index...1 isn't as meaningful as ID_Customers!!
  9. Hi, I've got all of the icons i'm using in one DLL (makes them easy to update should i need to), I've then got three projects (part of the one solution) using this file to retrieve the icons...this means that all my icon associations are in code, not in the UI. Is there any way of using a Key property like the ImageList in VB6 instead of this terrible index only thang?? Regards Kieron
  10. Superb!! Cheese dude!! :D
  11. Hi, I'm using a series of Icons as Embedded Resources. I've several difference sizes of the same icon, e.g. Customer16.ico, Customer32.ico... etc. Is there a way of extracting the required icon from a single icon file?
  12. Hi, When I load my app, I need it to make sure all of the components it requires are installed and ready to use, this way you won't get some cryptic message that the user won't understand...instead I'll be able to tell the user how to fix the problem...XXXXX vX.X is missin, please re-install bah bah bah. Thanks in advancem, Kieron
  13. Hi, Is there a way I can 'put' another control inside a ListView item's sub item¿ Cheers Kieron
  14. Hi, are there any components out yet that can convert a CD to WMA/ WAV or MP3 for .NET?? There's supposed to be minimal support coming from WMP9 and the rest of it's pieces but M$ seems reluctant to give a date.
×
×
  • Create New...