Software Development Network Logo
  • .NET Development
  • Visual Studio
  • Game Technologies
  • Windows Live
  • Windows Forms
  • Windows Vista
  • Architecture
  • Smart Device
  • Visual J#
  • Visual FoxPro
  • SQL Server
  • Visual Basic
  • VS Express Editions
  • Visual C++
  • Visual C#

Software Development Network >> Simon St.Denis's Q&A profile

Simon St.Denis

Member List

Dan Meyers
grissett
Jim Andre Andersen
Amit keshri
Jorge Guzman
ralphg
r taylor
Rischip
pritam pathare
Davids Learning
intrus0
Ashley K
KesPeti
beginner_kk
Karsinogeeni
Craig Laurin
Andrei Asayonak
thaer111111
LeonardLay
Anurag007
Only Title

Simon St.Denis's Q&A profile

  • Software Development for Windows Vista Binding an property of activity to a property of a private member

    Hi all, After working through the Hands-on-Lab Authoring Workflows through code, I started authoring my own workflow. The workflow contains a private member of some class type,  The class itself contains members that are classes as well. Say something like: class MyWorkflow : StateMachineWorkflow { ...   private A myA; } class A {   public myB; } class B {   public string myValue; } It's for clearification: please don't mention the public accessors. The workflow uses an activity exposing a property of type string. Q1:How should I -in code- bind the property of the activity to /Workflow.myA.myB.myValue. ...Show All

  • Visual Studio Express Editions Does VWD Express 2005 only support SQL Server Express 2005?

    Hello, I have a question about databse setting in VWD express 2005 Beta 2. I found that I can not create a new provider for my application in ASP.NET Configuration tool. I remembered that Beta 1 has this function Does anybody know why Thanks! Michael Michael, Thats sounds familiar... it was sooo easy in beta 1! I spent the last few days on this issue, I needed to use SQL Server 2000 but the admin console gave me a very a timeout error looking for SQL Express, even though I choose not to install it. I think thats were the problem is, in the machine config it looks for express by default, so that  needs ...Show All

  • Smart Device Development Device emulator not installed?

    hello Mark, A simple question. I have build a simple test application for a PDA device (in VB). When I try to debug I get a message "Device emulator not installed". I have run the installation procedure VS 2005 Beta 2 again to see if it wasn't installed but it seems to bee installed. Can you tell me how to solve this problem Thanks in advance. Patrick. On the DVD, you can find the Device Emulator MSI under WCU\ARM\vs_emulator.exe. You can run that file to reinstall the Device Emulator without having to go through the entire Visual Studio reinstall process. If that fails, please let me know. ...Show All

  • Visual Studio 2008 (Pre-release) Statistics of WCF service

    In my client server WCF application I want to keep track of service and client statistics like: 1. Number of client currently connected to the Service 2. Status of a particular client request 3. Memory utilization by service 4. CPU utilization by service Other related statistics You can use the WCF manageability features to answer all these questions. Performance counters: Provide statistics about the app such as “Average Call duration”, “Calls per minute”… WMI: shows what the memory state of your app Events: WCF posts the most significant events to the event log Tracing: your can t ...Show All

  • Windows Forms DataGrid.GridLineStyle = DataGridLineStyle.None doesn't work

    I am not finding that  DataGrid.GridLineStyle = DataGridLineStyle.None has the anticipated effect (cell boundary lines not shown). Also, how to not show the left most selection column (the column that shows the solid right arrow for the selected row in the grid). Assign the DataGridLineStyle to the DataGridTableStyle of the DataGrid: DataGridTableStyle dgts  = new  ...Show All

  • Visual FoxPro Data Retrieval Slow with VFP 9 OLEDB Driver and Crystal Reports 10

    I've run into a situation where my clients Crystal reports were running 4-6 hours in cases where they used to take minutes or seconds.  I determined the cause of the problem is the VFP 9 OLEDB driver.  Going back to the VFP 8 driver cured the problem (reports now run fast again). Has anyone else discovered this issue   I'd like to report it to MS, but I don't want to burn an incident when I can work around it with the old driver. There's one change and one bug in VFP 9 that may also affect the OLEDB driver. The change is that if CPDBF()<>CPCURRENT(), some tags can't be used for optimizat ...Show All

  • Software Development for Windows Vista Database maintenance

    What are the methods and recommendations re maintenance of the database Mario Hi Moustafa, Thanks for the comprehensive answer, it is much appreciated. It is excellent that we can run the PartitionCompletedWorkflowInstances procedure on our own, that is definitely gonna help, as I'm sure some of our customers will definitely prefer it that way. It's also great that the SqlTrackingQuery stuff will look at the partition tables, that's what I was hoping for :) ...Show All

  • .NET Development Excel Import Truncates Data

    I'm using the Jet OLEDB to import an Excel spreadsheet and I've run into the well-documented truncation problem, where text beyond 255 characters are dropped, if my column does not contain any data in the first 8 rows of my spreadsheet. I've tried setting MAXROWSTOSCAN to 0 in my connection string, and it doesn't work. According to the KB ( http://support.microsoft.com/kb/189897/en-us ), it sounds like modifying the TypeGuessRows Registry value is the only solution (which I'm reluctant to do). Is there another solution Yes, I am reading data from a spreadset into a dataset, as shown in the MSDN code samp ...Show All

  • Visual Studio Team System TF30144 error when creating a project from another domain

    Hi I am struggling with a setup which consists of TFS single deployed on domain X and Team Foundation Client (and Visual Studio) on domain Y. X and Y does not know about each other since they are on diffrent nets and the DNS servers are not connected. My first problem, which I solved, was that TFS setup (or possibly SharePoint Services or SQL Server) uses computer names in configuration files. Thus, Team Explorer did not work correctly (red crosses on the documents and reports folders etc..) since computer names couldn't be looked up from domain Y. This was solved by adding the IP computer name mapping in the Windows 'hosts' file. &nbs ...Show All

  • Visual C# Type Reference in Generics

    The following code is from a book of Tod Golding (wrox) public void InferParams<I, J>(I val1, J val2) {...} public void InferParams<I, J>(int val1, string val2) {...} InferParams<int, string>(14, "Test");// call the second function InferParams(93, "Param2"); // call the first function Can anybody explain the difference Why there is no compile error Thanks! using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { public class Program { public static void Main(string[] args) { A a = new A(); Console.WriteLine( ...Show All

  • Visual Studio Team System FxCop 1.35 Naming Rules Seemingly Not Being Checked

    In running FxCop 1.35 with out-of-the-box rulese settings, I appear to not have the pascal -vs- camel casing rules being checked. I seem to have all rules selected in FxCop, so was expected the following code to give violations. Thoughts on what might be the issue I created a c# file with the code as follows: namespace FxCopTest { public class Class1 { private int TestMe = 3; private int testMe2 = 3; private int ewrddd = 4; private int m_TestMe = 3; private int ID = 4; private int IdOfMe = 3; public int TestMethod() { return TestMe + testMe2 + ewrddd + m_TestMe + ID + IdOfMe; } } } (With this code, I only g ...Show All

  • Windows Forms Row selecting problem

    is there any way to unselect(remove highlight) a row when i  select another row.... whenever i select a row :  - dgItem.Select(dgItem.CurrentCell.RowNumber) the previous row is still highlighted.... how can i solve this problem...thnks in advance Or keep the old row no in a variable , then Unselect() it.  ...Show All

  • Visual Studio Team System Beta2 woes.

    I managed to get Team Foundation Server and Team Suite installed, beta 2 with the April CTP.  I followed the pdf doc instructions closely and everything seemed to go fairly well, minus one issue as noted below.  I can get the suite to connect to the server, however, I get an error when creating a new project: ---begin Exception entry--- Time: 04/19/2005 12:54:38.667 Module: Initializer Event Description: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "The request failed with HTTP status 401: Unauthorized." Exception Type: System.Net.WebException Exception Message: The request failed with HTTP status 401: Unauthor ...Show All

  • SQL Server How to set a ReportParameter to the value NULL?

    Hi, how can I set a ReportParameter in C# to NULL My code is as follows ReportParameter [] param = new ReportParameter [1]; param[0] = new ReportParameter ( "LanguageID" , "1" ); param[1] = new ReportParameter ( "TopCount" , "30" ); this .ReportViewer1.ServerReport.SetParameters(param); Sometimes I want to pass the value NULL for the parameter TopCount so my stored proc can handle a special case. I tried param[1] = new ReportParameter ( "TopCount" , null ); but it doesn't work... I know, that there is a possibility for using urls to pass parms. There you have to put the parm name, followed by ":isnull=true".  T ...Show All

  • Visual Studio Error "System.ArgumentNullException: Key cannot be null" when i add twice same project item

    Hi, I have an error in my package. I add a solution I add an project : ok I add an item project (ex BizComponents): ok When i add the same item project (BizComponents), so i get this error -------------------------------------------------------------------------------- System.ArgumentNullException: Key cannot be null. Parameter name: key at System.Collections.Hashtable.get_Item(Object key) at Microsoft.Practices.WizardFramework.WizardGatheringService.GetWizardConfiguration(XmlElement data) at Microsoft.Practices.WizardFramework.WizardGatheringService.Microsoft.Practices.Common.Services.IValueGatheringService.Execute(XmlElement ...Show All

©2008 Software Development Network