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 bkrike 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

    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...
  2. 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...
  3. 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...
  4. 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...
  5. 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 =...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. bernardmanning

    Question about using default command button and one I've classed

    Hopefully this will be a real simple question... if I drop a native instrinsic command button onto a native win form, I can then double click the command button and place code in it's click event eg; Public Class cleanform Inherits System.Windows.Forms.Form Private Sub...
  12. bernardmanning

    Visual Inheritance - Overriding in subclass problem

    Hi, I'm a long time foxpro programmer whos pretty new to vb.net and I'm having a little difficulty when trying to override method code in classes. What I'm attempting to do is to create a class library of user controls for re-use throughout my application. My problem occurs when I try to...
  13. bernardmanning

    Visual Inheritance

    Hi, I'm a former foxpro programmer whos used to using inheritance to create standard forms and controls for re-user throughout an application. I've worked out how to create a standard base form from which all other forms will descend. But, I'm having difficulties trying to create a 'class...
  14. bernardmanning

    Error when trying to insert a value that exceeds field length

    Hi, I've got a win form, which connects to sql server using a dataadapter / dataset / datatable and everything works great. I've noticed that if I try to update a field on a table in sql server with a value that exceeds the field length I get this error ; An unhandled exception of type...
  15. bernardmanning

    EndCurrentEdit Required?

    Hi, this is not really a problem just looking for some reassurance that what I'm doing is correct. I've got a win form that is using a dataadapter/dataset and a datatable that returns data from sql server. My controls are bound using the bindmanager and every thing works great, navigation and...
  16. bernardmanning

    Strange SQL Server 7.0 / FOXPRO 6 problem.

    Hi, I've got a pretty strange problem using SQL Server 7.0 sp4 along with Foxpro 6.0 I have a foxpro remote view that includes an index hint, eg ; Select sum(something),SomeidField from table1 inner join table2 (INDEX (MyReqdIndex)) on table1.field1 = table2.field2 where someIdField = 43...
  17. bernardmanning

    Command Button Class Design

    Hi, I wonder if somebody could give me some feedback on this proposed classed design. This class is based around the command button control and the hierarchy looks like this :- FoxproBaseCommandButton | V...
  18. bernardmanning

    Concurrent Data Access

    Hi Could anybody give me some guidance as to what type of data access method lends itself best to concurrent multi user access. The type of thing I mean is user 1 changes a record and another user needs to see the latest changes to that record asap. If we have a simple data entry type form ...
  19. bernardmanning

    Foxpro with SQL Server, view not returning records

    Hi, I wonder if somebody could shed some light on a problem i'm having using remote views to connect to a sql server database. I'm seeing a problem where a view is not returning a recordset when it should do, stopping and starting the sql service and re-running my app makes the data show up...
  20. bernardmanning

    Disabling menu whilst logon is present

    Hi, Newbie to .Net here I have a simple app that has a main mdi form with a menu. In the main application mdi form load event I've placed code to load a password signon screen. However, even though I load the password screen as a modal form using showdialog, the menu options are all enabled...

Part and Inventory Search

Back
Top