Software Development Network Logo
  • Visual FoxPro
  • Windows Vista
  • Windows Forms
  • Game Technologies
  • Audio and Video
  • Microsoft ISV
  • IE Development
  • Visual Basic
  • Visual Studio
  • Smart Devicet
  • Visual C++
  • SharePoint Products
  • Visual C#
  • VS Team System
  • .NET Development

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

ADurkin

Member List

Tomay
oaix
Lee Sibbald
FergusLogic
Brian Baker
nidionys
danny1999
Somsong
Caesar Samsi - MSFT
Synced
Igor Afanasev
Marcus Garcia MVP
nares
mrwebster
WBAS
ChaCh
Amir.S
Bigmo
MarkDanielMaltby
old mpipe
Only Title

ADurkin's Q&A profile

  • Visual Studio Team System Database Project Question

    I've got a team of 10 developers and we'll be migrating to VSTS DBPro as soon as it's released. In the mean time, I've created a database project containing our database schema and have it under source control. At the moment, I am the only one of the 10 that has the project loaded on his/her laptop. My question is this. When other developers first retrieve the project from source control and load it on their own laptops, is there is anything else they will need to do to begin working on the project Will they be able to simply retrieve from source control and go Thanks - Amos. Should work. But don't place the proj.user file under source control. This file is individual for each box / user. Alle ...Show All

  • Windows Forms doubt regarding panel location at runtime

    My UI is like below........................... it has two panels................. one left and one right in right panel there is one tabcontrol, one toolbar,one panel But here my question is for the tab control its name is tabBooks. now in tabBooks there are 4 tab pages . in first tab page there is a panel. in seond tab page there is one more tabcontrol and panel. in third tab page there are 2 tab controls My question here is for second tab page Currently tabcontrol and panel is side by side. I want to put panel below the tabcontrol. I am changing the location of panel at runtime. but it's not changing............ Can anybody please tell me what may be the reason for that. I have tried ...Show All

  • .NET Development Login Page validate against the server sql database

    Hi, I want to create a login page that can redirect to the welcome page and display welcome username. But I don't know how to validate the username and password entered by the user against the server database using ado.net. Can anyone help me with it Below I am giving you a sample code: private bool ValidateUser( String userName, String password ) { SqlCommand cmd = new SqlCommand ( "Select UserName, Password From User Where UserName = @UserName" ); cmd.Parameters.Add ( "UserName" , SqlDbType .VarChar ); cmd.Parameters[ "UserName" ].Value = userName; SqlConnection connection = new SqlConnection ( @"Data Source=JERRY\SqlExpress;I ...Show All

  • Visual C++ Libraries linkage errors make me CRAYZEEE

    Hey all, I"m frustrated from working with Visual C++ and libraries :/ I am developing my MFC based project, for which I wanted to add a log system to track my bugs and error msg and etc., I have created a static library project and created my Log class: I resolved the problem for now by going to the projects properties>linker>input>Ignore Specific Library>msvcrtd.lib Are there some books or tutorial on the matter of how to correctly use includes :P ...Show All

  • Visual Studio Express Editions Starting a process with a non default application

    System.Diagnostics. ProcessStartInfo psi = new System.Diagnostics. ProcessStartInfo ( @"C:\DownloadLog.txt" ); System.Diagnostics. Process .Start(psi); This works fine if I want to open the file with notepad. How do I open this with another application, such as wordpad, or word Try using the full pathname of the executable: C:\Program Files\Windows NT\Accessories\Wordpad.exe C:\Program Files\Microsoft Office\Office11\WinWord.exe These names depend on the Windows and Office versions you have. Search your C: drive if it still doesn't work. ...Show All

  • Visual Studio Express Editions C++ Express Help finds C# instead

    I installed everything according to instruction, but my "help" functions are not working properly. Instead of showing C++ related stuff, it shows things for C#. For example, if I go to the help index and type in "Sleep", it shows Thread.Sleep. I am assuming that's C#. Whatever it is, it's not helpful. The whole index is like that -- stuff that looks completely foreign to me. What to do Thanks, J. It isn't really showing you C# stuff (but I can see why you might think it is).  Remember that C++ is a fully fleged managed code language.  You can program in C++ and still make use of the Base Class Library and all the other good stuff the CLR makes possible.  Thus, the C++ documentation has to include ...Show All

  • Visual Studio Express Editions Webbrowser Control

    Hi, i want to take the html source from a site in a frame website. In VB6 it was no problem: temp = (webbrowser1.Document.frames("contentFrame").Document.documentElement.innerHTML) How can i do this in vb2005 thanks mike ps.: sorry for my bad english :) Hi, You can use HttpWebRequest to get the source from the specific url. Here's a page with a great sample: http://msdn2.microsoft.com/en-us/library/system.net.httpwebrequest.getresponse.aspx You can get the uri of teh iframe by doing this: myUrl = webBrowser1.Document.Window.Frames("window").Document.url There's also a sample that I saw in the web. I haven't tried this but I guess its ...Show All

  • SQL Server Matrix Report Textbox Expression

    =IIF( Sum(Fields!Percentile.Value, "RegionalSnaps") >= .10, "Yellow", "White") I only want the ones above 10% to be yellow, otherwise white. Any ideas anyone on why the entire range of cells are yellow and not just the one above 10% Ive tried both .10 and 10 for the value, and still the same thing Because you're doing a sum, it's doing it for the entire dataset. If this expression is in a grouping e.g. table, matrix, list etc... then try changing the expresison to =IIF( Fields!Percentile.Value >= .10, "Yellow", "White") Effectively evalueated for every row in the group. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Base Movements on Time

    As currently, only 2D games can be produced in XNA Express, I've decided to make the obligatory Tetris clone to get myself into XNA and C#. I'm not far into development but I've hit a small problem I'm hoping someone can help me with. I'm wanting my blocks to fall at a rate of milliseconds so that they fall at the same speed on every machine, regardless of power. Currently, I have an Update() function which looks like this: int gameSpeed = 70; int updateIncrement = 0; protected override void Update() { // The time since Update was called last float elapsed = (float)ElapsedTime.TotalSeconds; if (updateIncrement >= gameSpeed) { updateIncrement = 0; gameGrid.Update(true); } ...Show All

  • Visual Studio Team System Strange problem with TFS, SQL 2005 and Team System.

    We are implementing TFS and have imported legacy work items from Excel spreadsheets. I want to connect two groups of these workitems as related work items by going into the dbo.LocalRelatedEdges table in the TFSWorkItemTracking database. I wrote a vb .net routine which inserts into this table the related ID's which should then show a related work item under the links tab of the Team System GUI. I used ADO.net (sqlclient.sqldataadapter) to accomplish this. The insert works correctly and the row is populated correctly in the table, but the related work item does not appear in the Team System GUI. But, if I manually go into the SQL database using Microsoft SQL Server Mana ...Show All

  • Visual Studio Team System Fails to create new team project from networked client

    Creating new team projects in Team Explorer from a networked client always fails. The error appears when the wizard is uploading files to the Sharepoint site. For a lot of files the remote server returns (400) Bad Request, but the next try for the files succeeds. Unfortunately, after the wizard have been running for 20-30 minutes, the wizard makes Visual Studio to crash. Running the same operation in Team Explorer on the Team Foundation server itself takes about 2 minutes and is successful. It looks like some requests from the wizard are malformed See http://technet2.microsoft.com/WindowsServer/en/library/368c28d6-d611-4139-8a4a-8ae984f272931033.mspx mfr=true Is a IIS property change required See http://sup ...Show All

  • SQL Server SQL CE Mobile in VS.Net server explorer

    Hi, I have a couple of MS SQL 2005 Mobile edition databases that I was using previously. I am now not able to open them, I have not used them for about 3 weeks and do not recall doing anything 3 weeks ago to cause them to fail (Except maybe SQL Server 2005 install, not CE/Mobile).   There is no option for adding a connection to SQL Mobile 5 DB (or CE2.0 for that matter, which is also installed) when adding new data connection in VS.NET Server Explorer. The databases seem to work fine when on the device, my probelm is accessing the database file .sdf from VS.NET. I have tried uninstalling and reinstalling SQL Server Mobile 2005 several times with no luck. I am developing on XP Prof with VS.net 2005 for Pocket PC Phone 2003 and ...Show All

  • Software Development for Windows Vista Does WF support patterns like Simple Merge And Multi Merge?

    Hey Im doing a comparison of serveral workflowframeworks. I need to determine which patterns from www.workflowpatterns.com WF supports. The important part is, we are not allowed to extend the framework to implement / simulate these behaviors. My first concrete question, for know, is whether WF support the patten "Simple Merge" where two branches merge together. can we compare this to the IfElse contruct (link: http://is.tm.tue.nl/research/patterns/simple_merge.htm ) Second. What about multi merge http://is.tm.tue.nl/research/patterns/download/swf/pat_8.swf . Guess i would be imposible with the standard Sequential workflow since it is single threaded. Have anyone created a list that sums up on these patterns in relati ...Show All

  • Commerce Server CatalogSiteMap

    Probably an easy question, but I've got a piece of code that worked fine in the StarterSite CTP, but isn't working with the final StarterSite. <asp:SiteMapDataSource runat="server" ID="RelativeSiteMapDataSource" StartFromCurrentNode="false" StartingNodeUrl="~/Browse.aspx Catalog=E-Store" SiteMapProvider="CatalogSiteMap" /> <asp:Menu runat="server" ID="FullCategoryNavigator" Orientation="Vertical" DataSourceID="RelativeSiteMapDataSource" MaximumDynamicDisplayLevels="0" StaticDisplayLevels="1" /> I'm using the same web.sitemap. On the CTP site, it would display every root category in the E-Store. On the final Sta ...Show All

  • Smart Device Development GetSystemMenu()

    I am trying to add additional menu items to the Call State menu once a call has been made. I was trying to use GetSystemMenu(), but I receive a MissingMethodException. So, I guess it doesn't exist. Any ideas on what methods I should use to get a handle to a system menu and add menuitems to it Thanks Harry Windows Mobile provides a way to extend the menus of the built-in applications. Please check the MSDN documentation on Menu extensibility located at: http://msdn2.microsoft.com/en-us/library/ms879952.aspx . Hope this helps Michael ...Show All

©2008 Software Development Network