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

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

LoveCode

Member List

Sweeps78
NickBuck
ivanchain
Nightmare_BE
Mark Jewett - MSFT
kobhan
Suman Ghosh
Bharat Gadhia
svid
Astericks
kds294652
SDH2007
Jonathh256419
Barryrocks
bonni
Fabio Reynoso
Hossam Abdel Wahab
Jon Braganza
Dovikel
Keith Farmer
Only Title

LoveCode's Q&A profile

  • Visual Studio Team System CTP5 - Writing updates to a DB project

    I have downloaded the CTP5 and used it to a certain extent. I am happy to see some of the improvements as compared to CTP4. The 'Import Script' feature is very useful. As we all know that we can compare two databases by selecting one as the 'source' and another one as the 'target' . Once the comparison is done and the differences are selected, we can 'Write Updates' to the target to make it same as the source. However, I would like to suggest the development team to provide 'Write Updates' feature for the database project also. The most common scenario is when a developer creates new tables, strored procs, triggers or other objects on his local database, the developer should be able to compare his local database with the database projec ...Show All

  • .NET Development Using Predicate with parameter

    Heya, how do I go about sending a parameter to the Find method of List<T> Consider: class Person {   string name;   int age; } List<Person> list = new List<Person>(); list.Add( new Person("Chris", "30")); list.Add( new Person("Jimmy", "25")); Person chris = list.Find("Chris");   Now, I know I can't use Find("Chris"), but I have to use a Predicate. How do I send the string "Chris" to my Predicate Any help is much appreciated! Cheers, Chris To answer my own question, yes it does compile and work. I also found this solution. public class NameFinder {   private string _searchCriteria;   public NameFinder( string searchCriteria)   {     ...Show All

  • Visual Studio Team System Server name in Changeset.aspx

    I changed the name of my TFS server in all sorts of places, but there is one left which I can't figure out. When I get an alert email that something new was checked in, I get an email with a link to the changeset. It ends with /VersionControl/Changeset.aspx artifactMoniker=16&webView=true. In there is a reference to a XSL stylesheet, but that reference is using the old, original server name. How can I update that one as well Thanks, David Yes, the extranet scenarios will be supported in SP1. Regarding whether this will be in SP1, I'll contact the servicing folks. It's not likely, however, that this will be included. One workaround might be to update the hosts file of the clients (not id ...Show All

  • SQL Server SQL Syntax Error

    Thanks in advance Below is basic sql script. I don't know why it has syntax error. Please explain why and advise correct answers. DECLARE @Date_Range VARCHAR (200); DECLARE @RowCount int ; SET @Date_Range = '(Date BETWEEN CONVERT(DATETIME, ''2006-11-1 00:00:00'', 102) AND CONVERT(DATETIME, ''2006-11-30 00:00:00'', 102))' ; SELECT @RowCount = Count (*) FROM MyTable WHERE (EmployeeID = 1111) And + @Date_Range; Line 9: Incorrect syntax near ';'. Snow: You need to change this to something like this: DECLARE @loDate datetime set @loDate = '2006-11-1' DECLARE @hiDate datetime set @hiDate = '2006-11-30' DECLARE @RowCount int; SELECT ...Show All

  • Visual Studio How to list all projects and users in VSS database via command line?

    I'd also like to know how to have the full directory structure displayed for a project as I've been assigned responsibility for a large project with many layers of directories. Thanks in advance. See the command line commands reference. the Dir command can be used to recursively display projects and subprojects. As far as I know, there's nothing to list all the users of a database. I usually just open the users.txt file in the root of the database share directory. But, the directories in the users directory should also mirror the users of the database. ...Show All

  • Visual Studio Team System What should a project represent for Web Development

    Folks: I could use a little help here. The company I work for is currently planning on migrating to using TFS. However, something just doesn't fit in my head. Of course, I don't have anything installed yet so I am just going by seminars and books we have read. We have two major ASP.NET websites that we manage. These sites are constantly changing. We are constantly fixing bugs and making enhancements. Some of these fixes take 30 seconds to make. Some take a month to do. My question is - what would normally constitute a project in this scenario. Do we create global projects for each website where we continually add bugs and work items to, and then individual "sub-projects". Or do we create a separate project everytime we ...Show All

  • Windows Forms Unsure of code sequence with MyBase call on inherited control when overriding methods

    Hello all, I have a control which inherits from Forms.Button and I am overriding the OnClick method. I am not sure which of the following is the correct sequence, can someone please enlighten me Thanks in advance for any ideas and/or suggestions! CODE ' Option 1 Protected Overrides Sub OnClick(ByVal e As System.EventArgs) MyBase.OnClick(e) ' My additional code here End Sub 'On Click CODE ' Option 2 Protected Overrides Sub OnClick(ByVal e As System.EventArgs) ' My additional code here MyBase.OnClick(e) End Sub 'On Click It depends. MyBase.OnClick() will generate the Click event which a form may handle. You'd have to try to guess what your control's user may write in this handler ...Show All

  • Visual Studio Tools for Office Word Document merging

    I am generating word document reports based on a template and I append them to form one word document. In the process, when i open a document to append, I see the word open up. I have tried to set word.visible = false with out much success. Is there another way to keep word hidden/invisible. Thanks SKP If you use the Documents.Open method you should find a parameter to set the document's Visible property to False. That might help. Note: if this is not a VSTO project (and I get the impression it is not) and your issue is not about the VSTO technology, you should post to the office.developer.newsgroup . And always mention the version of Word and the programming language you're using. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dynamically casting an object of unknown type

    Hello everyone! I think I've got a tough problem for you. I've got a List<object> full of various types of objects, and I want to grab an element from the list and cast it back as the type of object it actually is. Ideally, what I would do is something along the lines of: List<object> objects = new List<object>(); MyClass instance = new MyClass(); objects.add(instance); object something = objects[0]; Type somethingtype = something.GetType(); somethingtype variable = (somethingtype) something; this works fine except for the last line. Once I have the type of the object, I can't use that to either declare a new variable of that type, nor can I use it for casting (as far as I know). Does anyone know of a way to use Type info ...Show All

  • Smart Device Development Licensing software in Pocket PC

    Is there a mechanism/style to license software developed for Pcoket PC One hurdle is if I want to do a trail period based licensing -for say 30 uses ,then how do I work aroudn the fact that you can have the pocket pc app runnign for ever without having to close it. (Each use will caunt as the time the user logs in.But you could login once and have the app runnign for ever) ...Show All

  • Smart Device Development Timer tick count

    Hi, I am having this annoying problem with incrementation of int values in timers. int i = 0; private void timer1_Tick(object sender, EventArgs e) { i++; } The output of i is 2, 4, 6, 8 and so on. There is some strange double increment for every time the timer ticks. It is a Systems.Windows.Forms Timer. My questions are: 1. Is there some already implemented tick count I can use 2. It seems like some method calls from inside the timer1_Tick method (or all method calls in there, possibly) are also called twice in every tick. Just like the i++. How can I prevent this Thanks Olle Generic SortedList list; timer3.Interval = 1000; private void timer3_Tick(object sender, EventArgs e) { timer3.Enabled = false; list["1"].incre ...Show All

  • Software Development for Windows Vista windows resource protection issue

    hi, what to do resolve the windows resource protection problem. my application is probably accessing some WRP protected key or file because the error it is throwing in SUA tool is "access denied to an object". how can i resolve this error thanx in advance. divya Hello divya mittal, Please refer to the mittigations found in the Application Compatiblity Cookbook located here: http://msdn.microsoft.com/library/en-us/dnlong/html/AppComp.asp frame=true#appcomp_topic6 . Your application should check to see if the file is protected before read/writing to it and elevate as needed. Thanks! Matthew Braun ...Show All

  • Visual Studio Express Editions Windows Serive Crashing IIS

    Hi, I have created a windows service using C#. The service works fine on my desktop which has Windows XP Professional. When I use the service on Windows 2000 Advanced server, the IIS works fine for a couple of hours and then crashes with the following error: Event ID: 3 Source : IISLOG Description: IIS Logging was unable to create the file C:\WINNT\System32\LogFiles\W3SVC1\ex990628.log. The data is the error. I have to restart IIS after that but it again crashes after some time. I have also noticed that the process Inetinfo.exe is using 75% of the memory. Could it be a problem with Windows 2000 Advanced server Any help in this matter will be really appreciated. Thanks, Brijesh ...Show All

  • Windows Live Developer Forums Pushpin Layer not updated

    i'm trying to implement geotagging on my website that allow my blog reader to add themself to the map using pushpin. under my map i've several field for the users to key in their details then upon clicking the "add" button... their details will be appended to a georss xml file... and this step works fine as the details can be appended without problem... but when the page refreshes after my user hav clicked the "add" button... the details added are not shown... and even click "refresh" on IE wont help... all i got to do to get the newly added details shown is to close the current IE and re-request the page in a new IE... then all the pushpins(including the last pushpin added) can be shown... y is this problem occuring am i doing a ...Show All

  • SQL Server Installing Sql25k client without using CD/DVD?

    Hi everyone, We've found some problems when trying such thing. It seems that is compulsory to do via own CD/DVD. Any comment would be very appreciated. Thanks in advance, enric How are you trying to do the install If you share out the DVD/CD to a network drive and maintain the folder structures from the media, you should be able to install just fine. Thanks, Sam Lester (MSFT) ...Show All

©2008 Software Development Network