Robert957's Q&A profile
Visual C# How to inherit implementation from many good classes in C#?
I have some interfaces, according good programming practices, as well good implementations, it is C# so I wnat to implement new classes by inheriting interfaces, and inheriting implementation - are there methods to implement this common task intelligently, not by hand rewriting methods call of aggregated classes implementations Writing implementation inheritance - is error prone, not reusing, not good OOP, not nice... How to do it Once C ...Show All
Visual C++ VC++ 2005 Beta2, Mixed types not supported
I just switched from Beta1 to Beta2 and try to recompile the code I have written with Beta1. In a managed class I get a new error: error C4368: cannot define 'PrevMinX' as a member of managed 'MyNamespace::MyPlot': mixed types are not supported The error was given for the following class member: double PrevMinX[5]; Why do I get this error now -- Helge Hi, Definitley, you cannot have a native array of doubles ...Show All
Visual Studio Express Editions How to import a .DLL at runtime?
How do I import a library contained within a .DLL file at runtime, given its path Is this even possible in VB.Net 2005 Express Do you mean a managed or unmanaged dll If a managed one you can simply load the Assembly with one of the many load functions provided by the assembly class. If on the other hand you mean an unmanaged dll this gets a little tricky as you would need to know the name of the dll, the name of the function(s) you w ...Show All
Visual Studio Team System WebTest hangs with HTTP Status "Loading dependents..."
What does it mean Several steps work ok, and then suddenly this "loading dependents" and the next request is never submited to the server. Things like "restart VS" or "Recreate the test" already tried. This means that the web test is trying to download the dependent requests (requests for images, style sheets, etc. that were embedded in the primary HTML response) but one (or more) of the responses was neve ...Show All
SQL Server VB.Net 2003 and SQL Server 2000 application on a Thin Client Network
Hi I need some help. I am familiar with the running of a VB.Net 2003 application with SQL Server 2000 database on a Windows 2000 / 2003 server and normal PC desktops. I have received a query whether the application can run on a Thin Client System where the Server could be either Windows 2000/2003 or a Linux System with a Windows Terminal Server. The Thin Client can have typically 128 to 256 MB RAM. Can someone tell me whether this i ...Show All
Visual Studio "Microsoft.Sdc.Tasks" project is not getting recognized
I have created a web service with default settings. Copied the contents of the Install folder <from the GDN2[1].0.051004.000.zip file> onto a new folder called Build. I created a DevBuild.proj file with the following contents: < xml version = " 1.0 " encoding = " utf-8 " > < Project DefaultTargets = " Full " xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " & ...Show All
Visual Studio Express Editions How to connect VB.NET 2005 Express edition with SQL server 2000 Professional
I have installed VB.NET 2005 Express edition installed and SQL Server 2000 on my machine. I try to add database connection in data source. From new connection, in the Change Data Source window, there should be be 4 options while i have only two options (Microsoft SQl server database file and MS access database file) but there also should be an option for Microsoft SQL Server. there is any one who can guide me and t ...Show All
SQL Server DataBinding to radio button
I have a windows form containing some text boxes and radio buttons bount to an SQL Server database, with code like the following: this.tbBorrowerLastName.DataBindings.Add (new Binding("Text", dsData.Tables["Results"],"BorrowerLastName"(); this.rbMale.DataBindings.Add(new Binding("Checked", dsData.Tables["Results"],"Male")) If I add a new row and try to move there using the code ...Show All
Visual FoxPro Unexpected disconnecting of remote connections under VFP 9 SP1
I have problem with unexpected disconnecting of remote connections under VFP 9 SP1 runtimes (only under SP1 runtimes). For example, using _VFP object to access forms will cause this and I am analysing other situations. Using _SCREEN object does not cause this. Does anyone found this too and in what situations That I don't know about. I develop extensively in VFP and I am still running the 0.0 Release on my production application ...Show All
Visual Studio Team System How does the test pick up values from List Boxes
I am trying to do some performance testing for our web application and have recorded a test using data entry from a listbox. However when teh test is run again it does not work as it has no value. The application in the test indicates that some criteria must be entered. Is there a form parameter or querystring parameter that corresponds to the name of the list box If so, try hard-coding the value you want and seeing if that fixes your prob ...Show All
.NET Development "Child list for field 'Customer' cannot be created".
I converted my VS2003 app to VS2005 Pro. Everything is fine except that one or two datasets are causing problems. If I run the form in question, the following code is highlighted - ((System.ComponentModel.ISupportInitialize)(this.dsMySalesInvoice)).EndInit(); and the message is "Child list for field Customer cannot be created". Supprisingly, the Customer datatable does not even belong to that dataset. The Customer datatable ...Show All
.NET Development Showing pop-up without loosing focus
Hi, I got a c# application. I want to show a popup form without loosing focus from other application (for example if the user is typing in word, i don't want the focus to go to the popup). I tried to show it with Form.Show() (in msdn they say it will show it as modeless) but it still loose the focus sometimes. (it's not consistent). Is there any way to show the form without taking focus or to return focus to other window that had the focus ...Show All
SQL Server "None of the selected features can be installed" error on SQL 2005 Cluster
Hey All, I installed SQL 2005 on a cluster. Everything on the primary node works fine. However, as the documentation suggests, the SQL Management Studio (and other tools) are not installed on the standby node by default. However, when I go to try and install on the 2nd node I get the following error: TITLE: Microsoft SQL Server Setup ------------------------------ None of the selected features can be installed or upgraded. Setup can ...Show All
SQL Server Data source and data set confusion
Maybe I am not understanding the way that these things work, but a little help would be apperciated. I want to set up my shared data sources and "write them in stone". To be honest, once a data source has been set up, there should be no reason the change it unless a login credential changes, or we change the name of a database; changes to data sources should be done by a senior admin (like me!). All fine so far Good... Are data s ...Show All
Visual C# get lost of the focus
Ok i make a button i set: flat style = flat border=0 mouse over= transparent i dont want to be visible any border, but when the button has focus it`s automaticly painting a border... or what ever that is.. how can i lose that Does anyone understnad what is my problem Thanks Actually, Vipul already asked the question you need to answer before we can figure out the problem. What effect are you trying achieve. What would you like the look ...Show All
