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

Software Development Network >> Old John's Q&A profile

Old John

Member List

JDeas
cshields
Kevin Peter
Alex_82
rop
soniaarora
Paulus Lau
Jasadi
Deano05
Chris D Jones
bruce2005
Luis Sá
Emu
luvly_girl
anonymous5000
asheridan
NOX
Noah Falk - MSFT
Qmar
Sam Norris
Only Title

Old John's Q&A profile

  • Windows Forms Using arrow keys to navigate through ComboBox issue

    Hi all, I have a rare instance where I need to let the users of my application use the arrow keys to navigate through the controls. One such control they will navigate to is the ComboBox control, and this is the control that is giving me problems when using the arrow keys. So when I press the up arrow and the currently selected value in the combobox is on the last entry, the focus goes to the next control the combobox selected index goes down a value (so entry before it now gets displayed). Now if any other value is selected other than the last value in the combobox list then I can set the SelectedIndex to + 1 on the keydown event (this will ...Show All

  • Windows Forms How to make a form close after 5 seconds?

    How to make a form close after 5 seconds use a timer control, set the first tick at 5 seconds, hook the tick event... and close the form within it. but if you don't mind freezing the UI .. then System.Threading.Thread.Sleep(5000); will suffice ...Show All

  • Visual Studio Team System Is it posible to set Netscape as default browser to record web test

    hi my application has many client side javascript validation, as VSTS doesn't support java script and Activex, so i want to skip client side javascript to server side. the best way is to use Netscape because, .Net validation can not work on netscape but other javascript works fine in netscape(i want remain other javascript working). VSTS provide option to choose browser, but i dont think it works. It can not detect my Netcape version, always leads me to IE 6.0 (setting windows default browser to netscape doesn't work either) can any body has any idea about it Thanks very much. Best Regards, Richard. There is ...Show All

  • Visual Studio Team System Code Coverage Techniques

    From the first glance of Team Test it seems as if the technique used for measuring code coverage is statement coverage. Are there plans to add support for other code coverage measures as well The British Standard for Software Component Testing BS7925-2 mentions the following techniques apart from statement coverage: BRANCH AND DECISION COVERAGE DATA FLOW COVERAGE BRANCH CONDITION COVERAGE BRANCH CONDITION COMBINATION COVERAGE MODIFIED CONDITION DECISION COVERAGE LCSAJ COVERAGE Of practical interest for me is branch coverage. The Food and Drug Administration sets the bar on code coverage for medical software. They state in their g ...Show All

  • Visual Studio VSS Get Command

    Is there any way I can perform a VSS command line get to obtain files checked in during a specified period (e.g. from May 23 to May 24) You can do that by using the -V option. Example: ss Get $/test -Vd5/24/05~5/23/05 or ss Get $/test -Vd5-24-05~5-23-05 Note: You could also do it by date and time. Example: ss Get $/test -Vd3/03/95;3:00p~3/03/95;9:00a Visit  http://msdn.microsoft.com/library/default.asp url=/library/en-us/guides/html/vsgrfss_get.asp for more information about command line Get or look up the keyword "Get command" in VSS help. Visit  http://msdn.microsoft.co ...Show All

  • Software Development for Windows Vista WF Deployment in SharePoint Portal 2007

    Hi, could anyone tell me how to deploy wf build in VS in sharepoint 2007 Is there somewhere a comprehensive deployment guide explaining how to do that For questions about Sharepoint 2007 please use one of the newsgroups that can be found at http://www.microsoft.com/office/preview/community/newsgroups.mspx . This is the location of all of the Office 2007 Beta newsgroups. ...Show All

  • Visual Studio Tools for Office VSTO & Access

    Is there a way to turn a MS Access data base into a stand along application with VSTO without having to code anything I remember there used to be an old Developer Tools for Office long time ago that would do this. Thanks I believe you're talking about the Access runtime which is a component of the Microsoft Office Access Developer Extentions. The Microsoft Office Access Developer Extentions ship as part of VSTO. I hope that answers your question. Thanks. ...Show All

  • Visual Studio Express Editions caps lock command

    Is there a way to toggle the caps lock from within a program made in visual basic yes it is a deticated machine and i dont need to ever use notpad let alone on that machine. i would rather use this one and i'm not up on electronics lately.. wuts an x-10 (noob question) + could i make my own hardware that would work with the serial port...... thanx for reply average joe ...Show All

  • Windows Forms BindingManagerBase

    Does anyone know how to invoke PositionChanged event programatically on BindingManagerBase object. When BindingManagerBase is set, the position is 0 (if row count is > 0) and this event won't fire. It will be fired if I change position programatically (BM.Position = 4), but I need that event immidiatly after it is set to do something with row on position  ...Show All

  • SQL Server IN Parameter

    Hi, I'm trying to do this in a stored procedure: select * from planning where userid in (71,97) I want to make the userid's dynamic. I've tried this: DECLARE @userid varchar(40) set @userid = '71,97' select * from planning where userid in (@userid) But then I get the message: Syntax error converting the varchar value '71,97' to a column of data type int. How can I do this Thanks Well, you should read http://www.sommarskog.se/arrays-in-sql.html ...Show All

  • Visual Studio 2008 (Pre-release) SOAP Headers

    Hi, In classic web services I could define services like this: [ WebMethod ] [ SoapHeader ( "SessionHeader" , Direction = SoapHeaderDirection .Out)] public bool Logon( string user, string password) To achieve the same thing (including the SOAP header) with WCF, it would appear that I have to do this: [OperationContract] LogonResponse Logon(LogonRequest request); As such I have to define LogonResponse and LogonRequest myself, which is easy but a little tedious. It also imposes on the way the service is used at the client. Similarly, I used to be able to do this: [ WebMethod ] [ SoapHeader ( "SessionHea ...Show All

  • Visual FoxPro sometimes no response to mouse clicks.

    I have always had problems with items in VFP requiring more than one try in order for them to respond to a mouse click. For example, many times I have to double click again in order for an item in the project manager to open. Now I have noticed that this happens also in the runtime. Users click a page tab in a page frame, and nothing happens. They click again, and al is good. Anyone confronted this kind of problem Thx. I've seen it but in my case is may be the result of my using a wireless mouse. If you move the base too far away you will miss a lot of clicks and key strokes. If the batte ...Show All

  • Visual Studio Team System ASP.NET and FxCop

    Does anybody have a guide on what FxCop rules should be enabled/disabled when analyzing an ASP.NET Application Thanks! Actually, I have installed fxCop from Windows Vista SDK February CTP. I reinstalled fxCop taken from gotdotnet (RC1) and no, it doesn't catch vulnerability with generics inside. Here the sample. SQL Injection rule fires up only for DoQuery method public static class MyService { private static string connection = @"Data Source=.\sqlexpress;Initial Catalog=Werp;Integrated Security=True;Pooling=False" ; public static string [] DoQuery( string q ...Show All

  • Visual Studio Express Editions Need help understanding new array usage in Visual Studio 2005

    Hello all, I’ve recently started working in Visual Studio 2005 Express Edition (VS05EE) and I’m trying to get my brain wrapped around this new way, new for me, of creating Arrays. For one thing I have notice that Index property is gone, so I am having trouble figuring out how I am supposed to tell VS05EE that what I am trying to do is create an Array. Let me tell you what I trying to do, and see if anyone can help me out with some sample code that I can look at, hopefully with some explanation, so I can see if I can figure this out. I work support a CAD program, I am developing a launcher that will allow my users to ...Show All

  • Software Development for Windows Vista Does Dec CTP have updated Ink analysis?

    Does the Dec CTP of the Windows SDK include the pieces that were in the Mobile and Tablet SDK   In particular the new Ink Analysis APIs Yes, the new Ink Analysis APIs are included in the Dec CTP of the Windows SDK. Just look for "Microsoft Tablet PC Ink Analysis Managed Library" when adding a reference to your WinForms project.  ...Show All

©2008 Software Development Network