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

Software Development Network >> Sean Bowen's Q&A profile

Sean Bowen

Member List

mike miller
Jebat
Mahyar154572
Hongqin Fan
master20
srilalitha
jerrodbug
Jim Fox
Scott Swigart - MVP
Todd Wenzel
Dimitri J.
Jeff Lawson
Sinan Ussakli
Dave_MEC
codecamel
bllshw
Ben Ronco - MSFT
Jo0815
Vance
wortho
Only Title

Sean Bowen's Q&A profile

  • Visual Studio How Can I create a solution and Project programmatically using EnvDTE vs 2005?

    I need to create a solution and project programmatically. I have found a couple of example on msdn but they dont work in vs2005.Can somebody post a small snippet how to do it I get all sorts of errors! My attempt using c# 2005 --Created a new project --Added references to EnvDTE and EnvDTE80 private void CreateSolution() { Solution Sol ; Sol = Solution ; Sol.Create( @"c:\Temp2" , "TestMySolution" ); } Thanks in advance Perhaps the code to the Add-in Wizard at http://www.microsoft.com/downloads/details.aspx FamilyId=79C7E038-8768-4E1E-87AE-5BBBE38 ...Show All

  • Visual Studio Team System Virtual User Number or Id

    Is there a way to retrieve the id (or thread number) of the specific virtual users that is executing a unit test There is no built-in virtual user number that is accessible to the unit test running in a load test. However, since more than one person has asked about this now, you can add the following method to your unit test class which will return a virtual user id. The only caveats are that this won't really work as expected with more than one agent (each agent would have its own set of Ids), and it would not work if you have unit tests contained in different .dlls in the same load test. private s ...Show All

  • Visual Studio Express Editions Preventing updating database with empty string

    Hope you're not fed up with me yet! My next problem is this. I'm adding records to my database but I noticed that if I don't enter data on the form the database is still updated with empty strings. I have put NULLS NOT ALLOWED flags on the fields that should have data but this allows empty strings. How can I check to make sure that the textboxes text contain none empty string before they pass the values on Does that make sense Hi, The way I would do this is to validate the form fields before passing the form data to the database For example the following method calls the validation method w ...Show All

  • Visual Studio Team System Team System Cube Structure

    Is it possible to open the Team System OLAP cube in cube designer hosted in an Analysis Services project I am interested to find out about dimension attributes, perspective definitions, dimension usage in measure groups etc. Thanks in advance. Yes, you can download a project of the deployed cube by opening BI Development studio and choosing "New Solution". For the solution type, specify "Import AS database", and then provide the connection information to the warehouse (the data tier name, and "TFSWarehouse"). You must have appropriate permissions to read the metadata of the cube. At this point, a new project ...Show All

  • Software Development for Windows Vista Beta 2 Changes

    Hi to all. You've write about that there will be some major changes in beta 2 of the WF. So could you post some list with these changes. What will be added to the WF framework in beta2 Also will there be more MSDN documentation when beta2 ships in January We will publish this in January when WF Beta 2 is released. There will be more documentation, more samples and updates to existing samples. Regards, Paul ...Show All

  • Architecture Design consulting

    Hi all, I would like to get a consulting in the following design senario , how to do it in the right way. I'm trying to develope a reusable component of communication between the PC and field devices. The devices have special communication protocol and a special way to make the physical comm. The are many devices kinds (Display , microcontrollers,...). I'm looking for the right way to write a global component. I'll use this component in many .Net projects. I thonk to do that with interface, and classes implement the interface, the reason because the devices are from different inheretane trees. The schema I thaught about is: ...Show All

  • SQL Server async_network_io wait during replication

    I have re-initialize some subscription. After generated snapshot successfully, the synchronization view showing 'The process is running and is waiting for a response from the server.' and I found the replication process is under 'async_network_io wait'. The job has run for more than 8 hrs. Any idea to improve it Thanks in advaise. Are you running the sync agent (like merge agent/distribution agent) in continuous mode If yes, it will show running forever, although the submitted transactions/commands have been replicated, agent job is just keeping waiting for next actions. Thanks -Yunjing ...Show All

  • Visual Studio Tools for Office Again: Error HRESULT E_FAIL has been returned from a call to a COM component

    I just got this error message again: Error HRESULT E_FAIL has been returned from a call to a COM component Using the benefits portal sample on a brand new Windows XP installation in a virtual machine, all updated. Error HRESULT E_FAIL has been returned from a call to a COM component. ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at Microsoft.Office.Core.CommandBar.set_Width(Int32 pdx) at BenefitForm.ThisDocument.ThisDocument_Startup(Object sender, EventAr ...Show All

  • Windows Forms Advanced user priviledges

    Hi All, I'm planing to write mentioned in subject module. <b>I want implement such things:</b> - functionality rights group - rights groups - rights inheritance - overloading rights by users - configure atomic rights on database field level    (for exaple if file "Client_name" could be displayed / updated / deleted  /inserted by specified user / group) <b>...and o ...Show All

  • SQL Server What is faster: DataReader or DataSet or something else?

    Hi, I need to read 250,000 records and show this information. I am using DataReader and it takes 8 seconds. I need to raise it to 0.8 seconds atleast. What is faster: DataReader or DataSet or something else Thank's Alexei DataReader is much faster than DataSet. Actually DataSet is populated using DataReader object. I guess in your case the bottleneck is in the amount of data you transfer to client application. Try to reduce the row size you send to the client (don't select columns unless they are required). Another way is to show only portions of data as the user typically doesn't need to have the whole data list available. ...Show All

  • Visual Studio 2008 (Pre-release) Is Indigo a viable choice in this scenario?

    I am really excited to dive into WCF, it looks like a great set of technologies. However, as I am new to it, I am having trouble figuring out whether or not it might make sense in a scenario I am currently looking at, and I am hoping some of you more familiar with it can help steer me in the right direction. What I am looking to do is build a client and a server for hosting online real time auctions. Each individual auction will not be that big, maybe 20 to 40 people on average participating in one auction, but at any given time there may be several dozen auctions running at the same time. My initial thoughts for the architecture are that ...Show All

  • SQL Server Register CTP to Enterprise Manager

    Is it possible to register SQL Server 2005 to Enterprise Manager of SQL Server 2000   If yes, what are the components that need to installed on the machine having the Enterprise Manager Thanks. Hello, The ADO.NET 1.1 connection and application will work fine with SQL Server 2005. The issue is for application that uses SQL Server 2000 DMO (DMO 8.0) to connect SQL Server 2005 will see similar error. For example, SQL Server 2000 Query Analyzer will work fine with SQL Server 2005 as it do not uses DMO 8.0. hth, Rajesh Patel ...Show All

  • .NET Development sql Caching

    against a 64 sql/ 64 bit aspx page does not cache go aspnet_regiss.exe -i in the 64 framework no sql caching switch 32 bit framework and all is fine Strange - so caching was not working but everything else was Please let me know if you encounter this again. Thanks, Leonid ...Show All

  • Visual Studio Tools for Office Create Excel Project Problem

    I am having trouble to create new Excel projects. I can create Word projects but not Excel projects. Products I have: VS 2005 VSTO Microsoft Office 2003 SP2   Installation sequence: Installed Office 2003 first Installed VS 2005 Installed VSTO. I checked another thread about almost the same problem but none of the solutions can be applied to my case. I installed all the programming components of Office 2003 The reqister key is there:  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Setup\VSTO] I have never installed Office 12 Beta.   I can create Word projects and run them ...Show All

  • Windows Forms Need help with VB.net involving Totals

    Okay guys, here I am again. I need help on adding totals together. What I want is to have a bsic commission calculator that totals different things and will display them later on. Here's what I have so far, some works, some doesn't. Public Class VBACComCalc Inherits System.Windows.Forms.Form [Windows Form Designer generated code] Const Quota As Integer = 1000D Const CommissionRate As Integer = 0.15D Const BasePay As Integer = 250D Dim SalespersonName As String = txtSalespersonName.Text (When I run the program, this line comes up as an error and says "Object reference not ...Show All

©2008 Software Development Network