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

Search results for query: *

  1. bernardmanning

    User Control / Derived Control

    Thanks, Mr Stick.... It's going to sound bad, but that the way I had approached the problem, but didn't know if it was acceptable.. Many thanks for the confirmation.... Bernard.....
  2. bernardmanning

    User Control / Derived Control

    Hi, I have a need to create a reusable group control that contains 3 radio buttons. I need to be able to drop this control on any win form, so a user control sounds ideal. The problem is that I need to be able to allow the user to change the text property against the radio buttons. But, I...
  3. bernardmanning

    Grid with different number of columns?

    Hi, Is it possible to create a grid for a winform that has a different number of columns for a certain row type? If my grid row has 5 columns in total but for certain rows depending on some price of criterai I only want to see 2 and for other rows I need to see all 5. as an example if I had a...
  4. bernardmanning

    Finding values within strings

    Hi , I wonder if somebody could give me a push in the right direction with this one as I'm pretty new to string manipulation in C#. if I have strings in the following formats ; "2 Feet 6 inches" "12 Feet 11 inches" what's the best way to be able to retrieve the numerical value for the feet...
  5. bernardmanning

    Microsoft's Singleton Example

    it's the constructor for the class..isn't it? <slaps head>
  6. bernardmanning

    Microsoft's Singleton Example

    Hi, I've been looking at the singleton example as detailed on MS patterns and practice webpages ; http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/observerpattern.asp I've been looking at the .NET enhanced version of the singleton pattern and have a quick question...
  7. bernardmanning

    Problem adding Column Default using DMO in SQL 2005

    Hi I wonder if anybody could help me out here ; I have a routine which works fine under SQL server 2000, but when I run it aganst a newly installed version of SQL server 2005 Developers Edition Beta 2 I get a problem when I attempt to add a column default. Here's the code oSQLServer =...
  8. bernardmanning

    declare strongly typed return value for a method using the foxpro IDE

    Hi Guys, thanks for all the responses... Looking at the _ComAttrib array I can get it to specify the attribute of a property but not a method. Eg this works ; DEFINE CLASS test AS container OLEPUBLIC Width = 200 Height = 200 Name = "test" MyString= .F. DIMENSION...
  9. bernardmanning

    declare strongly typed return value for a method using the foxpro IDE

    Hi Mike, Thanks for the reply, The lack of support for this in the visual class designer is not good news, at least for me.... We have a series of related, subclassed foxpro classes residing in different libraries and it looks like I'm going to have use the class brower to extract all the code...
  10. bernardmanning

    declare strongly typed return value for a method using the foxpro IDE

    Hi Mike, Imagine you have a visual foxpro project with existing classes held within it. You open the class visually using the IDE , ie click on the classes tab on the project manager find the class and click modify on the project manager. once the class is open, I click class from the toolbar...
  11. bernardmanning

    declare strongly typed return value for a method using the foxpro IDE

    Hi Can somebody tell me if it's possible to declare a strongly typed return value for a class method using the foxpro IDE? Eg In code you can do this kind of thing ; PROCEDURE SomeMethod as String RETURN "SomeString" ENDPROC However I cannot find a way of telling foxpro via the IDE...
  12. bernardmanning

    MSDE and SQL Server Express

    Thanks, I'd looked at the suport life cycle and also couldn't find MSDE, not sure if thats a good thing or a bad thing. It would be nice to find out if Express is a replacement for MSDE or are the two going to supported alongside each other. Thanks, Bernard
  13. bernardmanning

    MSDE and SQL Server Express

    Hi, Does anybody know what MS plans for MSDE are? They state that 'SQL Server Express replaces Microsoft SQL Server Desktop Engine (MSDE)' but does this mean that they will stop supporting MSDE? We have a requirement to support pre windows 2000 installations so it would seem MSDE is the only...
  14. bernardmanning

    Setting BackColor on DateTimePicker control.

    Thanks Guys for both these solutions... It's difficult to believe that, something, on the face of it, that appears so simple you have to jump through so many hoops to achieve... This is especially true when you think about how much .net is being pushed as a fully OOP'ed system.... Again, Many...
  15. bernardmanning

    Getting just generated Pkeys from SQL Server

    Hi, Could somebody give me some clues as to what is the best way to get a newly generated pkey value back from sql server. I'm using a dataset and using the sqlcommandbuilder to automatically generate all my insert, delete and update commands. it looks a little like this : Dim CommandBuilder...
  16. bernardmanning

    Setting BackColor on DateTimePicker control.

    Hi, that works great.... I've converted the code to vb.net and it works fine... I didn't have to go into the windows generated code and change any references just dropping it on the form worked great... Many thanks, here's the vb version...... Public Class BaseDateTimePicker Inherits...
  17. bernardmanning

    Setting BackColor on DateTimePicker control.

    hi, i've tried doing it in the new method in my class as below without success.. Public Class BaseDateTimePicker Inherits System.Windows.Forms.DateTimePicker Public Sub New() Me.Format = DateTimePickerFormat.Short Me.Width = 88 Me.FontHeight = 25...
  18. bernardmanning

    Setting BackColor on DateTimePicker control.

    hopefully a really simple one... Can anybody tell me how to set the background colour of the datetimepicker control? I don't mean the calendar itself but the control as it appears as you drop it on the form. I don't see forecolor or backcolor properties on the property sheet as you would with...
  19. bernardmanning

    Problem when setting text class properties.

    Hi, Got it working... Public Class BaseTextBox Inherits System.Windows.Forms.TextBox Sub New() Me.Width = 75 Me.BorderStyle = BorderStyle.Fixed3D Me.BackColor = Color.PowderBlue Me.Text = "SomeDefaultText" End Sub Protected Overrides Sub...
  20. bernardmanning

    Problem when setting text class properties.

    Hi, I';m trying to create a series of controls that will act as my base controls in my application, to give a consistant look and feel. I've created my base command button as below :- Public Class BaseTextBox Inherits System.Windows.Forms.TextBox Sub New() Me.Width = 75...

Part and Inventory Search

Back
Top