Darrin Dyson's Q&A profile
Windows Forms help please
This MS is really get out of hand. Whay can't they make stuff simple. I am trying to populate a datagridview, whey can they just leave the datagrid , with the following code and that &*^&$%^$(^)(* *** can't seem to work. Private bs As New BindingSource Private dr As SqlDataReader Private Function GetTransactions( ByVal sDate As String ) As SqlDataReader Try dr = SqlHelper.ExecuteReader(CONNSTR, ...Show All
SQL Server Ad Hoc Company Security
Is there a way in Ad Hoc reports to prevent users from querying data from another companies data In my database each table row has a company Id so that my application only displays data for the currently logged in users company. Can I inforce this in ad hoc reporting Thanks, Duncan You could create a view that displays only the data for the company of the current user and then grant permission only to tha ...Show All
Visual Studio Team System TFS Beta 3 - Where is it. VS2005 RC1 is out.
Any news It's now released and propagating to the MSDN download servers. See: http://blogs.msdn.com/buckh/archive/2005/09/21/472618.aspx and http://blogs.msdn.com/jeffbe/archive/2005/09/22/472626.aspx ...Show All
SQL Server ODBC connect styring does not work
Porting a C Db-library program to ODBC connectivity for Sql Server 2000 SP4.When SQLDriverConnect(hdbc, GetDesktopWindow(), "DSN=HOST_ODBC_DB;UIDDBMS=usercode2;PWDDBMS=password2;", SQL_NTS, NULL, 0, NULL, SQL_DRIVER_COMPLETE) is used, a dialog window pops up. I enter the password and successfully connect to Sql Server 2000. Of course the usage of SQL_DRIVER_COMPLETE is causing the above "UIDDBMS=usercode2;PWDDBMS=password2;" ...Show All
Visual Studio Team System How to view test cases by iteration or area?
In Test Manager, I can set a test case's properties, such as owner, iteration, area, etc. But why I can not view the test cases group by "iteration" or "area", while it works by "owner" Any walk around to view test cases by "iteration" or "area" Thanks, Leon Hi Leon, Grouping and filtering by these two properties is currently not supported. We are definitely looking into it for nex ...Show All
Windows Forms How to change auto generate class modifier "internal" to "public" in VS 2005?
Visual Studio 2005 generates strongly typed classes from *.resx files that simplify accessing resource strings, etc. The classes are created as internal. I would like to be able to package these *.resx files and associated classes into an assembly that can be shared between custom web controls in an ASP.Net application (i.e. a satellite assembly). To use these auto-generated classes, I have to manually change ...Show All
.NET Development Deserializing an XmlNode via MemoryStream causes exception
I have the following code in a catch block surrounding a webservice call: MemoryStream ms = new MemoryStream(); XmlTextWriter xmlw = new XmlTextWriter(ms,Encoding.UTF8); XmlSerializer xser = new XmlSerializer(typeof(ErrorDetail)); xmlw.WriteRaw(eSoap.Detail.OuterXml); ms.Position = 0; XmlReader xr = XmlReader.Create(ms); object o = xser.Deserialize(xr); xmlw.Close ...Show All
Smart Device Development Running a program when the device is powered on
Hello, Is it possible to make an app run everytime the user presses the power button to turn on the device Similar to the built in password program that runs every time the device is powered on Thanks, Nick Take a look at this: http://www.opennetcf.org/forums/topic.asp TOPIC_ID=97 ...Show All
SQL Server It seems SQL editor do not support "Format" function. Is it right?
When I write SQL command in the editor, I can not find a menu to format my command. Also the "Format Document" function in VS2005 Beta2 seems do not delete blank rows. I found a good Format tool here. I realy hope MSSQL 2005 has build-in function like that. http://www.sqlinform.com/ ...Show All
Visual Studio 2008 (Pre-release) Should I use the Constructor, the Initialized or the Loaded Event?
hello I have a .XAML Page class. I want to bind some data within a ListView object within it. I am confused as to when one would use the Constructor, when one would use the Initialized event and when one would use the Loaded event. Could anyone clear this up for me thankyou. Initiliazed event is generated by Visual Studio: you don't need (and don't have) to modify this method. If you want to bind your d ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Specular reflections aren't working right
I'm having a problem with specular reflection. It flickers as I move around my object. Sometimes when I'm looking at a face, and I swivel the camera just a few degrees, I get specular reflection. When I swivel a few more, the reflection is gone - leading to the flicker. But specular reflection is only based on the position of the camera, not the direction it's lookin ...Show All
SQL Server Should a sysadmin have local admin rights on server?
Hi, The company I work for outsources all its non-development IT. So all windows servers are administered by an outside company. Lately we have purchased SQL Server 2005, along with a dedicated Windows Server 2003 server. I am the sole administrator of this SQL Server, and so have sysadmin rights. However because the outside company is responsible for all windows servers, they are very reluctant to grant me local administrator ...Show All
SQL Server Setup error SQL Server 2005 Standard
Trying to install SQL Server 2005 Standard on a pc with Windows xp pro spII with Visual Studio 2005 pro installed. I receive an error after 2/3 of the setup time. This is the error: Linkid: 20476 Product name Microsoft SQL Server Product version 9.00.1399.06 Message source Setup.rll Message id 50000 EvtType packageengine\installpackageaction Hi again.. Just want to add to this issue..got the ...Show All
Visual Studio Team System Add an option to run rules on a STA thread?
I have three custom rules that specifically test WinForms. These have stopped working in FxCop 1.35 beta 1 with the following exception: Resolve the following problem with the parameterless constructor. Exception: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. at System.Windows.Forms.ComboBox.set_AutoCompleteMode(Aut ...Show All
Visual Studio Team System LISTITEM filter for groups
Hi! In TFS I have a project named 'Test'. In the Bug-workitem xml I added this code under WORKFLOW: < STATE value = " Being_Fixed " > < FIELDS > < FIELD refname = " System.AssignedTo " > < ALLOWEDVALUES expanditems = " true " filteritems = " excludegroups " > < LISTITEM value = " [Test]\Contributors " /> </ ALLOWEDVALUES > </ FIELD > </ FIELDS > </ STA ...Show All
