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.....
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...
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...
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...
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...
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 =...
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...
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...
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...
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...
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
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.