scott859's Q&A profile
Smart Device Development Time Zone Read/Set
Is there a way to programatically read the time zone stored on a PPC Is there a registry key that stores this or a system call I can use Thanks! The API functions are Get/ SetTimeZoneInformation ...Show All
Windows Forms EditMode.EditProgrammatically
With EditMode.EditProgrammatically according to the VS2005 documentation (RTM): Editing begins only when the BeginEdit method is called. This doesn't appear to be the case. I have a DataGridView bound to a collection of business objects that inherit from a business object base class which implements IEditableObject. If I have the DataGridView.EditMode set EditProgrammatically I would have expected that I would be responsible for calling "BeginEdit". However merely selecting the row will cause the EndEdit() method to be called. Anyone know what I'm doing wrong Regards, Doug Holland ...Show All
Visual Studio Team System SharePoint 2003 Mistake
why a mistake A database with the given name already exists on the specified database server SharePoint portal 2003 Also, if a file exists in the SQL db directory with the same name this is a problem, even if SQL doesn't have it attached. Btw, you mentioned Portal Server ... this isn't supported, just Windows SharePoint Services. marc ...Show All
.NET Development At least one element in the source array could not be cast down to the destination array type
Hello, I am trying to pass someparameters to my reporting services web service. This report has 2 dropdown and one checkbox , I am trying to convert an arraylist to parametervalue[] This is teh code- ArrayList al = new ArrayList (); al.Add(DropDownList1.SelectedValue.ToString()); al.Add(DropDownList2.SelectedValue.ToString()); for ( int i = 0; i < CheckBoxList1.Items.Count; i++) { if (CheckBoxList1.Items .Selected) { selectected.Append(CheckBoxList1.Items .Value); selectected.Append( "," ); al.Add(CheckBoxList1.Items .Value.ToString()); TiposCompetenciasSeleccionadas++; } ...Show All
Visual Basic VB .NET 2005 Express Beta 2
After installing the new BETA 2, I get the following error anytime I try to open a form from a project created with BETA 1: "Could not load type 'Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2' from Assembly 'Microsoft.VisualStudio.Shell.Interop.8.0, Version 8.0.0.0, Culture=Neutral, PublicKeyToken= b03f5f7f11d50a3a'. I have tried repairing and reinstalling but can't seem to clear this up. Any suggestions Have a look at the following bug report: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=32436416-ff0b-4b7f-8e98-5aa042d0835b ...Show All
Software Development for Windows Vista Oracle persistence service ?
I believe a SQL Server persistence service is being supplied out of the box. Are there any plans to provide an Oracle persistence service, or will this be left as "an excercise for the reader" (or 3rd party vendors...). We're not planning to provide an Oracle persistence service with the Windows Workflow Foundation runtime at this time. So I guess you could say that it's an "excercise left for the reader". There is a sample persistence service for the file system in the SDK. You could certainly use it as a starting point for an Oracle persistence service: http://winfx.msdn.microsoft.c ...Show All
Visual Studio Team System How do change the custom rules of FxCop1.312 to v1.32
Hi Can yuo pls give me some sample custom rules of FxCop 1.32 and some ideas about how to modify the custom rules of FxCop 1.312 to work in FxCop 1.32 Thanks in advance, Arun M As mentioned by others, this information is found in the 1.32 readme. There are many examples of custom rules out there, a good first place to start is the user downloads area of www.gotdotnet.com. 1) Change all Microsoft.Tools.FxCop.Sdk namespace usage to Microsoft.FxCop.Sdk 2) The LongDescription XML node is gone, use <Description> only 3) The GroupOwner and DevOwner nodes have been collapsed into a single node, renamed <Owner> 4) ...Show All
SQL Server SQL Express with Advanced Services - what Reporting Features does it have?
I work for an ISV, and some of our customers use SQL Server, others use SQL Server Express. I need to develop some reports, so I was happy to read that SQL Express with Advanced Services would have some (limited ) Reporting Services available. Unfortunately, the sign-up period to beta test appears to be over, and so I am left wondering exactly what functions will be available. Is there anyone out there who has played around with the beta version reporting functions The RS features that are included with Express Advanced are described here: http://www.microsoft.com/sql/technologies/reporting/rsfeatures.mspx ...Show All
.NET Development bug in Int32.Parse
In Visual Studio 2005, the following throws a FormatException and it definitely shouldn't. The same code works fine in Visual Studio 2003. This is the version that I am seeing the problem, running on XP: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional int x = 0; x = Int32.Parse("0") // throws FormatException x = Int32.Parse("00") // works fine x = Int32.Parse("000") & ...Show All
Windows Forms xpCommonControls..
I'm working with xpCommonControls. I'm looking through the testbed of the controls. The only problem is that they are in vb. So with my limited knowledge I am trying to take some of the examples and turn them in to c# code that I will understand. I have done well up until this point and this routine is confusing me. If some ...Show All
Visual Studio 2008 (Pre-release) Generated WSDL doesn't reflect the security binding
I'm performing the following test scenario: 1. Manually edit a WSDL file to change the policy settings, namely change the EncryptedParts and the AlgorithmSuite 2. Load this WSDL, get the Binding (via the ServiceEnpoint) and add a new ServiceEndPoint to the host 3. View the generated automatically generated WSDL at (http://... wsdl) According to my observations, the generated WSDL doesn't reflect the original WSDL. For example, if I change the AlgorithmSuite to Basic128 in the original file, I always get Basic256 on the generated file. I've observed the Binding object (obtained via the loaded WSDL) and the SymmetricSecurityBindingElement has ...Show All
Visual C# Start/Stop IIS Application Pool on another machine
Hi, I have to develop an application by which I should be able to start/stop an IIS Application Pool on another machine over a network. I also know the administrator username & password of that specific machine. Can anyone tell me how to go about it I have used System.Management classes. ManagementScope scope = new ManagementScope(); scope.Options.Username = loginId; scope.Options.Password= loginPwd; scope.Path.Server = machineName; scope.connect(); InvokeMethodOptions options = new InvokeMethodOptions(); options.Timeout = new TimeSpan(0,0,0,5,0); ManagementPath mp = new ManagementPath("IIsApplicationPoolSetting&qu ...Show All
Visual Basic Direct3D Game in VB. NET
I have DirectX 10 SDK and Visual Basic. NET 2005 Express. I want to write my first 3D Game by managed DirectX 10. Friends, help me please. How i must begin Where I can find DirectX for VB. NET code Samples ...Show All
Windows Forms create button shortcut
I read that you can create a button shortcut by preceding the button text with an &. I did that and indeed the character is underlined in the design view. The underline doesn't show up in runtime nor will &<letter> cause anything but the menu to activate for keyboard navigation. How do I create a shortcut for a button and get the button to respond to the shortcut> Thanks, /jerry Typically, the underline won't show up at run time until you press the ALT key. If you hold down the ALT key and press the shortcut key, it should raise the Button's Click event. Also, the & can be ...Show All
Visual Studio 2008 (Pre-release) How to make a non-retangular display?
I wish to make a non-rectangular display like this Windows Media Player( http://journal.mycom.co.jp/news/2002/09/11/06cl.jpg ), How to do it (I have found some information on the web about WIndows form, but I can't find any for XAML) Thanks, can you provide a bit more information Eg, Which control, which template, and what to change... Or is there any sample on the web. I have try to use the clip property on the windows, but not successful. Thank again. ...Show All
