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

Software Development Network >> usna91's Q&A profile

usna91

Member List

Scott Masters
allan521
KrishnaM
ethanpo
DOTNETFantasy
Bill Raleigh
Jesper P
Rob Stubbs
Chris French
dhanasekar
Queen of the desert
the.cypher
nrasinec
Peter Kiers
Shekhar Gupta
ursfriend
Gaurav Nanda
Bob SDG
Mujdat Dinc
knockNrod
Only Title

usna91's Q&A profile

  • Visual Studio Team System Why ClassInitialize functions need to be static.

    I'm working in C++.  I'm not sure I understand how the XXXInitialize/Clean attribute is supposed to work. The ClassInitialize method is called before the class is created (the function need to be static).  The TestInitialize is called before each tests.  I need a way to Initialize/Cleanup class member.  When I tried to put this initilization in the class constructor, I discovered the constructor was called many time ( ).  The desctuctor is also never called, so I don't have a way to do clean up. This mean (if I understand well), I'll have to use static variable (ouch!) inside my class if I want to initialize it.&nbs ...Show All

  • Visual Basic Search function

    Hi! I need help to make a search function to my program. I want to search after Spyware (my program is an antispyware program) So then i need help with the search thing. I thought that maybe I must make a file or database with all the spyware names in. Then my program reads the names fro the file\database and search after it. Just think about a anti virus program that search after viruses. Could somebody help me with this you have to do some reading and check out some sample projects before starting building you application. Here is a great place to start: http://samples.gotdotnet.com/quickstart/winforms/ Among others you will find ho ...Show All

  • Software Development for Windows Vista Why there are no the sample of directshow in "DirectX 9.0b Software Development Kit for C# "?

    Why there are no the sample of directshow in "DirectX 9.0b Software Development Kit for C# " There are have other sample of directinput, directsound, etc.... who have this sample please tell me~~ Support for DirectShow from managed code is at the moment (and probably always will be) extremely limited. A quick search on Google Groups for (e.g.) "Managed DirectShow" will give you an extensive discussion of this, the reasons for it and your possible options G ...Show All

  • .NET Development Serial data to a text box

    Hi I am just starting out with C#. All i want to do is collect data from the serial port and show it on my form Text box etc. Eventually I want to save the data to a file. I have created a form with a button and a textbox, plus serialPort1 tool. The following does not build private void button1_Click( object sender, EventArgs e) { textBox1.Text = serialPort1.ReadExisting; 1. Use Visual Studio 2005 - Only it got SerialPort Class 2. Add Namespace ....... using System.windows.Forms using System.IO.Ports; YourNamespace { yourClass { //Decla ...Show All

  • SQL Server Taking to long process

    To all, Im migrating data but its taking too long to commit insertion, what sould i do merwinp hi, At first I take a look by sp_who2 from Management Studio and would see counters for CPUTime / DiskIO as well as locks or interlocks ...Show All

  • SQL Server SQL Server Management Studio Express: Missing DataBases from VWD Project

    LOST DATA BASES I appear to be doing something stupid! I created a VWD express project that contains a database. In VWD the DB application works fine. I can see all my tables. VWD stores the DB in the applications area of MY DOCUMENTS in a project folder under “SQL SERVER Management Studio Express”. However, when I run the SQL Server Management Studio Express, I get a instance of the “(computer_name)SQL\express” that contains the System DB, but not the DB that I developed in VWD. After investigating I found the SQL DB for the Studio Express under MY COMPUTER, “Microsoft SQL Server” in a subfolder under "MSSQL" folder. Mi ...Show All

  • Software Development for Windows Vista Readonly WorkflowView

    Hello, I am hosting the workflow designer and when I execute the workflow I want to make the designer read only. Then, when the workflow starts I set the DragDrop property to false and when the workflow completes (WorkflowCompleted) I set the DargDrop to true. But when I set to true I get the following exception: ""DragDrop registration did not succeed." How can I make the designer read-only when I run the workflow Thanks, Pierre I have seen a similar problem happen when you don't specify the [STAThread] attribute for the application. Do it like this: [STAThread] static void main() { ... } Th ...Show All

  • Visual Basic database, data propagation

    I am bigginer in the Visual Basic. I use Microsoft Visual Basic 2005 Express Edition and Microsoft SQL Server 2005. I created a database and put it in the form. I ran the application, changed a value in the form, saved it with the save button on the top and left the application. I realised that the database was not change. The source is: Public Class Form1 Private Sub Table1BindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.Validate() Me.Table1BindingSource.EndEdit() Me.Table1TableAdapter.Update(Me.Database1DataSet.Table1) End Sub Private Sub Form1_Load(ByVal sender As Sys ...Show All

  • Visual Studio i am not able to install dot net FrameWork 2 beta 2

    when ever i want to install Visual studio 2005 express, and dot net framework beta 2 it show that .net framework beta 2 failed to install in event viewer , some error are logged first in COM+, System.EnterpriseServices, both fails, help me out plz i am using amd 1800+ 512+128 mb ram 120 gb hdd with win xp with sp2 mail me kumar_amit_dumka@yahoo.co.uk Amit Kumar Did you have any Beta 1 pre Beta 2 versions of Visual Studio 2005 installed   If you did, please try to clean off the previous version by following instructions below: The two best places to find information on clearn up are on Hong and Aaron's blogs ...Show All

  • Windows Forms Shortcut keys not working Winforms

    I am working on a windows application where a single panel holds multiple user controls.  Each user control is a container with different controls in it.  At a single point of time, only one of the container (user control) is visible, others remain invisible but are not removed from the panel. Short cut keys are not fired in all instances in this  ...Show All

  • SQL Server IN Clause

    Not sure if this is the right forum for such a query... please feel free to inform me where can I put up such a query if I am wrong. Why is IN clause considered highly expensive Special thanks for comments with examples. Sure this is the place. I guess the first question I have is why do you think it is considered expensive Sometimes these kinds of ideas come from a past version of SQL Server (I know people who still follow the same rituals because of bugs in 6.5!) If you mean using WHERE IN (select value from table), then often using an EXISTS is probably better, but in most cases they can be compiled to the same plan int ...Show All

  • Visual Studio Express Editions install error

    Downloaded & installed OK on desktop.  On Laptop, still getting the Windows Installer 3.1 error.  The installation stops with the error message to send or not to send to Microsoft.  On the download to desktop, the Windows Installer 3.1 wasn't one of the items being installed.  However, when I did the install to the laptop, it was in the list of items it would install.  Both systems xp pro sp2. Any help Hi,   Could you try installing Windows Installer 3.1 from http://support.microsoft.com/default.aspx scid=kb;en-us;893803  and see if this succeeds If it does then you should be able to continue wi ...Show All

  • Visual Studio Team System In Web Tests, How to Validate the values on a grid ?

    I want to validate the values that are shown on a grid , based on the values that are selected on a Combo.(Herein internally, the grid gets filled, when the combo box value is changed.) I would also like to know the selected row from the grid, so as to try it... or else Manual testing has always been there at our help   You can do this with a validation rule.  If the value in the combo is displayed on the same page as the grid, then you could do it with one valistion rule.  If the value of the combo is on the previous page, then you would need to use an extraction rule to pull out t ...Show All

  • Visual Studio Team System MSF 4.0 Executive Whitepapers

    Do we have any whatepapers that discuss the Team System benefits at an executive level   I have an executive that would like to see a whitepaper on the enefits of the MSF 4.0 Process.  They want to see how the work streams work so that they can understand the full project lifecycle.  All of this information is in the HTML MSF Agile process, do we have the same inforamtion in a whitepaper format Thanks, Mike. It starts to make more structure to me and other folks in my company and who responsible what and play what role. BTW, sorry for taking few months to return the feedback. My company have been fully buy-in for msf mod ...Show All

  • Smart Device Development SqlCeCommand

    I am having trouble getting a paramatized query to work. I can't seem to get the syntax right to get the correct result. If I leave out the WHERE clause it sums the whole table, but after i add it I get a null answer. SqlCeConnection conn = new SqlCeConnection ( "Data Source =FB7MobileDB.sdf;" ); conn.Open(); //SqlCeCommand cmd = new SqlCeCommand("SELECT SUM(Amount) FROM LineItem WHERE (LineItem.InvNum = @invnum)", conn);+ SqlCeCommand cmd = conn.CreateCommand(); cmd.CommandText = "SELECT SUM(Amount) FROM LineItem WHERE (LineItem.InvNum = @invnum)" ; SqlCeParameter param = null ; ...Show All

©2008 Software Development Network