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

Software Development Network >> Jonathan Barbara's Q&A profile

Jonathan Barbara

Member List

jntrobertsen
Albert Yen -MS
GTI-org
dbProg
Jamie a Developer
Jeff Levinson1
sandyman
24sharon
Prasad.k.
dsmithwv
Nick Farrow
phrozensnow
Matt... THW
Alex_bg
Abdul Wasie
ChR
michaelos
hackbabu
moonwalkercs
danjones
Only Title

Jonathan Barbara's Q&A profile

  • Windows Forms BindingNavigator Add button click chage

    Hi All, I am using bindingnavigator in my application. Now i have two text boxes whose defualt values i want to put as zero[0]. I have write this values at design time but while clicking the add button on the navigator text box will get empty. I have also try to add code on the add button click but still is was working the same. So how to change this behavior Thanks, Twinkle ...Show All

  • Visual Studio Team System Howto stop TeamBuild from deploying, if tests fail

    Hi, in TFS B3r a TeamBuild gets deployed, even if tests fail. Since I am also using TB to deploy to our production environment, I would like to let it deploy only, when all tests pass. How can I achieve this Hi Tilli Unfortunately there is no straightway to do this. However you can apply a workaround by editing the Microsoft.TeamFoundation.Build.targets file to get this working. 1. Set the ContinueOnError = " true " flag in the TestToolsTask target to 'false'. 2. However there is a broader impact of this. On setting this flag as 'false' MSBuild process stops as soon as a test fails. Hence you will run into an i ...Show All

  • Visual Studio 2008 (Pre-release) LINQ VB Preview

    After i read about LINQ project overview document, i downloaded the LINQ Preview VB.msi to explore new enhancements about that implementation. But after installation,  my VS2005 Beta2 ran onexpectedly and tried to send error report when i tried to open a project in Visual Basic 2005 Beta2. And then i removed LINQ VB Preview pack from my comp and then downloaded LINQ preview.msi for C# and after installation i tried to run some sample code on C# Linq projects, it ran normally. Did i doing something wrong or are there something wrong with LINQ VB msi package System Properties. OS : XP Professional SP2 (Turkish) 32-bit Visual Studio 2005 ...Show All

  • SQL Server combining 2 select with count and datediff into 1 select. need help.

    I have created two select clauses for counting weekdays. Is there a way to combine the two select together I would like 1 table with two columns: Jobs Complete Jobs completed within 5 days 10 5 ------------------------------------------------------------------------------------------------- SELECT COUNT(DATEDIFF(d, DateintoSD, SDCompleted) - DATEDIFF(ww, DateintoSD, SDCompleted) * 2) AS 'Jobs Completed within 5 days' FROM dbo.Project WHERE (SDCompleted > @SDCompleted) AND (SDCompleted < @SDCompleted2) AND (BusinessSector = 34) AND (req_type = 'DBB request ') AND (DATEDIFF(d, Datein ...Show All

  • Software Development for Windows Vista Newbie question about removing the use of MSDTC

    Forgive the lameness of this question. I am part of a team that has developed a Visual Studio 2005 web application that currently uses MSDTC and Microsoft Enterprise Library. The problem is that my hosting team will not run the MSDTC as a service as they say it opens up too many ports to the database server and this could be dangerous for a web application. Where do I start in rectifying this Is it possible to easily remove where MSDTC is being used and if so what will I lose I can't afford for the use of MSDTC to be a showstopper but the hosting team have told me it is more than their jobs worth to run it. If anyone has advice on the ...Show All

  • Software Development for Windows Vista CBaseFilter derived class plays video great, but the audio goes silent after a few seconds...

    Hi all, I have built a filter, derived from CBaseFilter, with two input and two output pins (audio and video IO). The IO pins I derived from CBaseInput and CBaseOutput pins. I have different classes for audio and video pins: i.e. I have 4 types of pin; Audio In, Audio Out, Video In, Video Out. All testing to date has been done in GraphEdit using a webcam & associated mic for input, and default sound & video renderers for output. The Video IO works fine, with the play and stop functionality working too. The Audio IO works for a few seconds before breaking up and going silent. When the Audio pins are connected, the gr ...Show All

  • Visual Studio Team System Multiple Check Out

    Does VS 2005 permit multiple check out of the same file from Visual Source Safe It really seemed like a step backwards from VS6 to VS2003 when only 1 person at a time could check out a project file. Yes, Visual Studio Team Foundation Server supports both shared or exclusive check out. By default, shared/multiple checkout is enabled for source files, text files, etc. and disabled for binaries, images, etc. You can modify these settings by right-clicking on your Team Foundation server in the Team Explorer and selecting Source Control Settings. Additional Resources ---------------------- Using Source Cod ...Show All

  • SQL Server How to 'attach' an existing .MDF file to the local SQL Server

    I have a data file, call it Data.mdf, that I am accessing through Visual Studio. It does not show up in SQL Server 2000 Enterprise Manager. How can I get it assigned to, or imported into, the local server so I can manage it Thanks Glen   hi, Just put your database file (Data.mdf and Data.ldf) to "C:\Program Files\Microsoft SQL Server\MSSQL\Data" folder. Open your SqlServer 2000 and  then right click on the "database" select "All Tasks" then select "Attach Database'". Locate your file from the specified folder above. Then that's it. hth, Michael Castillones ...Show All

  • .NET Development FTP to IP address

    I need to send a text file on the local machine to a unix server. I know the IP address, username & password to connect. I have tried using the following line of code: My .Computer.Network.UploadFile( "c:\test.txt" , "10.2.2.10" , "username" , "password" ) This gives me the following error: '10.2.2.10' is not a valid remote file address. A valid address should include a protocol, a path and a file name. Parameter name: address Do I have to specify the destination path on the remote server If so how do I specify that with an IP address Maybe like this ... 10.2.2.10/foldername/su ...Show All

  • Visual Basic DirectX Samples complaining

    A few days ago I've installed the directx9.0b sdk. I looked through the vb tutorials, and the first 4 seemed to work well. But the rest didn't work, the compiler complained alot about the directx library not containing stuff. Any idea what's going on here I hope I get some answers quickly, Michel EDIT Sorry, the tutorials work, but all the Samples don't. http://msdn.microsoft.com/archive/default.asp url=/archive/en-us/directx9_m_Oct_2004/directx/direct3d/whatsnew.asp Class mappings from old classes to new classes: Lights - LightsCollection (New) RenderStates - RenderStateMa ...Show All

  • Visual Studio Custom build step for C# files ?

    I would like to define a custom build step to generate C# source code files from a C# interface. The generated files are to be part of another assembly in the same solution. I want the generation to take place whenever the cs file containing the interface has changed. In VC++ it is possible to define a custom build step, with dependencies, in the source file properties page. Not so in VC#. (Using a project pre-build step would mean that the files are generated on every build.) I assume there is some way to do this with MSBuild but I'm having trouble finding information on how. Can anyone point into the documentation for me ...Show All

  • Windows Forms How to access methods of MDI Child form by MDI Parent toolbar?

    How can I access the methods (save, new, delete methods) of a MDI child form when clicking on a toolbar positioned in the MDI parent form So on the MDI parent I have this toolbar. When clicking on a button on this toolbar it must call a method from the current MDI child form. There are several types of MDI child forms, but each contains (the same) methods... Does anybody has an example of how to do this Thanks, Alwin I'm answering for my own question :) I found :) use : ala = dynamic_cast <Iform*> (ActiveMdiChild); ala->napisz(); for example :P ...Show All

  • Software Development for Windows Vista Error when trying to open the worflow designer --- Beta 2

    Hi when I create a workflow, when trying to open it in design mode i get this error Method not found: 'Boolean System.Workflow.ComponentModel.Compiler.IWorkflowCompilerOptionsService.get_CheckTypes()'. Hide at Microsoft.Workflow.VSDesigner.VSWorkflowDesignerLoader.Initialize() at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host) at System.ComponentModel.Design.DesignerHost.BeginLoad(DesignerLoader loader) Looks like you have mismatched file versions, probably because you have some remaining bits from the uninstall. Please refer to this link http ...Show All

  • SQL Server Error data types do not match

    I have a flatfile source with qty,title and author..i add a lookup and in that i establish relation between title and titel of pubs database..but i am getting an error.. one or more columns do not hav supported data types,or their datatypes do not match..i checked both hav dt_str,and in database pubs title is varchr..so why this eror I think the error is quite clear. Open your lookup and navigate to the olumns tab. Now hover over each column you wish to join on the left and right hand sides. The tooltip will give you the SSIS types concerned. Do they match If not what are they and why do you think they should If they do not match use t ...Show All

  • .NET Development IO serial ports

    Hi all, I want to ask about using the IO serial ports, I'm using this class to communicate with field device through RS232 interface. My question: What happen If I want to write a value to the device and in the certain time there is a reading action from the device. There is a timer thread reads data from the device each 2 seconds. What happen when trying to write to the PLS. Best regards The team that monitors this forum does not use System.IO.Ports functionality. You are not likely to get an answer to your question on this forum and should re-post on a forum or newsgroup that is more gener ...Show All

©2008 Software Development Network