No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
30+ years of programming (Basic, Forth, Pascal, Modula-II, C, C++, C#, Delphi. I prefer Delphi over all others. I am retired from the Colorado Division of Wildlife where I managed hatcheries and wrote software. Now, I just play and do part-time consulting…
- Interests
- Mountain biking, dirt biking, downhill skiing, aquariums.
- PC Specs
- Various Mac and PC.
33 Posted Topics
Re: I've used Delphi since version 1 and I've used C# for several years now. The ONLY reason I use C# is because it is a requirement of a big project I am working on. And, those requirements were specified for all of the wrong reasons, so far as I'm concerned. … | |
Re: If your children ever find out how lame you really are they'll murder you in your sleep. Frank Zappa | |
I am trying to use form inheritance in C#/NET 2.0 and find that some things (which were possible in other systems) do not seem to work here. Actually, even inheriting a form seems do be a bit of a chore (and the C# Help does not mention it at all). … | |
I have had it with Vista HP, as it cannot support SQL Server at the level needed. Too bad Microsoft doesn't tell you about the problem (I found out by surfing their forums) I've purchased an XP Pro disk, but now I discover that XP cannot see my hard drive! … | |
C# (and, I assume, all NET languages) has a very obnoxious 'feature' where data is not sent from a control (TextBox, CheckBox, DataGridViewCell...) to the underlying dataset until that control looses focus. This causes problems because there are cases where critical code can get invoked before a value is saved. … | |
Re: Are you just dragging a connection component into your form and setting it up, or are you allowing Visual Studio to build a typed dataset? Or, maybe you are trying to drag objects from Database Explorer, which doesn't work. First, you need a project open. Then on the C# menu, … | |
Re: I haven't tried to run your code, but I can tell you this: When your uncomment the line which moves to the next record, what is happening is that Delphi is calling OnCalc again automatically as soon as the record changes, and you are probably trashing the stack when the … | |
The Microsoft write-ups for Visual Studio 2008 said that it can target various version of .NET. However, it seems to set up all projects to target NET 3.5. Does anyone know how to make it target earlier NET versions? | |
I need to use a BindingSource Filter property to search for names in a string field. That is easy enough, unless the name contains a single quote (apostrophe) such as "O'BRIEN" or similar names. VS Help says special characters should be escaped by enclosing them in square brackets. This works … | |
I recently purchased Visual Studio Pro '08 and installed in on Vista HP. It comes with SQL Server Developer, but I disovered I could not get that to install correctly. From what I have discovered on other forums, Vista HP does not expose IIS properly to SQL Server so Reporting … | |
I'm trying to install SQL Server on a Vista HP machine, but it will not detect IIS, which in turn prevents Reporting Services from being installed. I have seen blogs which indicate that the UAC system in HP does not properly detect IIS and that as a result NOTHING can … | |
Re: You can extract the name of each element in the enumeration (with ToString) to use that for your name, but you couldn't use an illegal name (like something containing a space) when creating the enum structure. You would be better off to use a collection of objects of a custom … | |
I have a simple DragAndDrop sample which should move a string from one ListBox to another. The string gets dropped, but it is not removed from the source even though Move is specified. Where have I gone wrong? Here is the code: [CODE] public partial class Form1 : Form { … | |
I have a highly specialized update operation which I must occasionally run against a table. I would like to just send the SQL directly to the database as an UPDATE command. I have a data adapter for the table which handles normal read/write operations but this is a special case. … | |
Does anyone know of a way to force input to the cells in a DataGridView column to be uppercase? | |
I have a table with a column containing a single character representing what type of animal described by the record. I have a comboBox which has the Items property filled with the descriptions corresponding to each code. Example "A" = Amphibian, "C" = Coldwater fish... and so on). What I … | |
Re: I've had Vista for about 6 months and I HATE IT. I bougth a new Dell laptop with good specs (and I maxed out memory and got a generous drive to boot) and had Vista factory installed. It has been nothing but trouble. It is slow, unreliable and prone to … | |
Is there a way to see a list of the breakpoints (active or not) in C# Express? | |
I have been using Vista Live File System to keep backups of programming code. Each day, I use Windows Explorer to add a new folder named according to the date (example: "080114") and then I copy files as needed to that folder. Then I close the session. I am finding … | |
I need to use C# methods to set the values of some DataColumns in a table. DataColumn provides an Expression property, but that only allows a subset of SQL style calculations on the dataset. What I need to do is call a C# method to perform calculations too complex for … | |
Re: The C# language itself is not going to be the problem. It is a pretty useful language overall. Your big problems will come from the .NET libraries which make everything work. I've been using C# for a over year now and still have major problems finding out how to do … | |
Does anyone know how to determine which control on a form currently has focus? | |
When the user clicks the Delete button on a BindingNavigator, the delete occurs immediately. I can arrange for the user to cancel the delete later, but that assumes the user realizes that a record was deleted in the first place, so I prefer to warn them when the button is … | |
I can't seem to get OleDb controls to show up in C# Express. Are they excluded for some reason? I have made sure they are selected in the "Choose Toolbox items..." dialog, where they are listed, but they don't appear anywhere on the toolbar. I tried to add them to … | |
This may be a NET bug, but maybe I'm missing something. I've been trying to trap a certain kind of error when using a DataGridView. The following describes the steps to generate the error. I used a typed dataset to make the example quick, but the same thing happens if … | |
Does C# allow short-circuit evaluation of Boolean expressions? That is, if you have an expression such as if (test1) & (test2) {....} when test1 is false, there is no reason to evaluate test2 and a language which supports short-circuit evaluation never looks at the second test because the result will … ![]() | |
I'm using C# Express and SQL Server Express. I can connect to sample databses I have downloaded to the default location (..\MMSQL.1\MSSQL\DATA) but I cannot connect to a new database I create using SQL Server. The error is "You don't have permission to open this file. Contact the owner or … | |
Re: I finally got back to looking at this problem. From what I see in the replies, I can build a class to be used in various parts of a program. While that is useful, I see no way to create a single instance of that class to be used throughout … | |
I'm using a typed dataset with several master:detail levels. I've already discovered I must set EnforceConstraints to false to load the data or I will get constraint conflicts. Now I am trying to discover how to delete related child records when a master record is deleted. The master gets deleted … | |
I am using a typed DataSet in C# Express 2005 to build a master:detail relationship. I can do so by dragging the master table from a Data Sources window to the form, and then the detail table from the end of the list of objects in the master table. Two … | |
I need to discover the names C# is using for component instances, both during design and run. The Designer assigns names, and the programmer can alter them during design, but the effect is to add names in the code. Since Component classes do not have a 'Name' property as such, … | |
I am trying to add new lines to a TextBox control. I have MultiLine set to true and AcceptsReturn set to true. If I use the AppendText() method, I just get more text immediately behind what is already there. If I insert or add a newline escape \n it just … | |
I'm looking at buying a new computer and it appears that Vista is about my only OS option (whether I like it or not, and I don't). I already know I'm going to have some problems installing my programming software. My question is - does anyone know if I can … |
The End.