n3zdh's Q&A profile
Visual Studio Problem Deleting File
We are trying modify our Team Build script to replace some source files before the compile is done. More specifically we want to replace some config files that are in a sub directory. My TFSBuild.proj section looks like this: <Target Name="BeforeCompile"> <Delete Files="$(SolutionRoot)\OrderMgmt\BusinessLogic\App.config" /> </Target> We also have a COPY task that uses the same path, which works fine if we remove the file that is supposed to be deleted before we run the build. So the path is resolving properly. Everytime we try to run the build with the Delete task we get the following error: error MSB3061: Unable to delete file "c:\Build\TeamProjectName\BuildName\BuildType\..\Sources\Or ...Show All
Gadgets Display external URL
Good morning, i would like to display an external webpage in my sidebar gadget. Unfortunately it doesn't work. Are there any limitations Thanks in advance. Martin Use IFrame check this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1049562&SiteID=1 ...Show All
SQL Server Comapre two values in same resultsets
Hi I want to compare values of two fields in same resultset. Like I have resultset whrre there are two fields Frequency and New_Frequency I want to compare this two like if Frequency = New_Frequency then do some logic. I tried with derived columun using Frequency == New_NewFrequency but it doesn't work. Let me know is there any way to compare Dnyandeo for derived column use in such a way a = case when frequency = new_frequency then begin some logic end else some logic end end or can u send me the script code that u had used for derived column ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Missile Commandeer Game (including Source) - Beta 2
First XNA game...done! It's an old school missile commander clone (only its CommandeEr, like pirates...ARRRR!!!). I spent extra time to maintain the original "cutting edge" graphics to make it a true classic. Check it out... (I just added the screenshots, game and source code to my website) Click here for the game Improvements to come: - MIRV missiles - Extra lives - High scores - suggestions Nice update, I especially like the MIRVs. I haven't played it much but my top score is 16440 on level 18. I'm pretty sure that other people have done way better :) I think the score penalty for hitting destroyed cities should be raised again. The problem that I f ...Show All
Visual Studio Express Editions Mouse Funtions Help
I'm developing a program that, when you move the mouse, returns the x,y coordinates of the mouse into the text of two labels placed in the main form. problem is i have no idea how to do that, i have it set you when you move the window it does it but that really voids the purpose of me making it in my opinion. any light shed here would be most appreciated. thanks in advance to everyone, and thanks to all whove help me so far on other projects, without whome would not have been possible. Maybe something like this: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim ctl As Control For Each ctl In Me .Controls AddHandler ctl.MouseMove, Addr ...Show All
Software Development for Windows Vista A basic question about WF, plz help me
Hello, I have been learning Windows WF recently. But I've got a big block at the beginning. I want to develop an overtime management system. And it’s a long flow system,I think. I create 2 projects. One is a web project, the other is Squence Workflow Library project. My expectation is: 1. One user logs in this system and submit his overtime application in apply.aspx. 2. System sends a mail to the user's supervisor, in which is a message and a url which links to audit.aspx flowid= . 3. The supervisor receives the mail and clicks the link, by which he logs in the system and finds this application according to flowid And …. … My question is how to keep the workflow running in the memory. I think when I access this system, the workflow instan ...Show All
.NET Development i need help
i have 2 tables in my database. i want to select data from one table and insert into the other. i have written my query using the the table adapter for that table. say i have a table named products and another named sales. using the salestableadapter i wrote and sql select statement to select data from product table and insert to the sales table like INSERT INTO Sales (productName, unitPrice ) SELECT productName, unitPrice FROM Products WHERE (ProductName = ) where productName is a parameter ie the product name the user will enter. this query is named InsertItem(ProductName). I then add the 2 tables on my form and create a textbox named productNameTextBox and a button named addButton. on my addButtonClick_Event i ...Show All
Windows Forms How to determine if a form IsDirty
Let's say you have a form with a bunch of text boxes bound to a binding source. The form also has a "Save" button which you want enabled only if the user has made changes. The Save button will call bindingSource.EndEdit() and will then instruct the dataset to update the database. Other than catching the text control's EditValueChanged event, is there a simpler way that applies to the whole form It would be nice if the binding source had a IsDirty property that is set to true prior to the EndEdit(). Hi Gavin Thank you for your input. Based on the referenced article, the event handler on each control seems to be the only solution. Jim ...Show All
.NET Development Xpath namespace problem
Hello, can somebody tell me how to select the contact:id element with an xpath expression in VB.NET. Please test this in a little testprogram before you answer this topic. I tried /epp/command/create/contact:create/contact:id already (with a namespacemanager and the namespaces in it) but it just won't work. It's just like .NET can't select elements without a namespace... < xml version="1.0" encoding="UTF-8" > <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:dnsbe="http://www.dns.be/xml/epp/dnsbe-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd ...Show All
Visual C# SS2K5 Express Connection with VS2K5 C# Express
I'm working on an XP (home edition) box and have successfully installed SS2K5 Express and VS2K5 C# Express. In C# I've written the code to access the pubs DB that I attached in SS2K5 Express however, on the Open() function of the connection object I get an error that reads in part, ".... under the default settings Sql Server does not allow remote connections..." A quick check of the connection properties of SS2K5 Express shows the checkbox "Allow remote connections to this server" checked. I've uninstalled and reinstalled SS2K5 Express (giving it a different name on the 2nd install) without success. Any ideas Ed. Hi, Here is another similar case to yours: http://forums.microsoft. ...Show All
Visual Basic How to access the clicked item?
Hello, with wich variable can i access the clicked item in a MenuStrip I’ve tested it with MenuStrip1.ClickedItem but that doesn’t works. Please help me. Thanks. No, that couldn’t be the right for my problem. I create a new Form and a new Item in the MenuStrip, (tabbed mdi) so, the form has an public string ID="Window1", "Window2", "Window3". This string is setted, when i click on the "New-Window-Button". So, the Item in the MenuStrip gets the ID from the Window as ToolTipText. Now i want to maximize the Form, when i click on the Item in the MenuStrip, so i have this script: Private Sub MenuStrip1_ItemClicked( ByVal sender As Sys ...Show All
SQL Server Calling an SSIS package from a Service Broker Queue
Posted the same message to the Service Broker forum. But the board is neither responsive nor active. So I am trying this forum. Hope someone can help. I would like to call an SSIS package from a Service Broker Queue. There is one way that I am aware of - Using xp_cmdshell from within an activation stored procedure and using DTEXEC. Is there a more elegant way of executing an SSIS package from within SSB Also, I am not interested in writing a .NET external activator to process my messages in the queue. I would like this operation to be strictly database oriented. Having said this, I am also trying to avoid triggers processing the messages in the queue. Thank you! ...Show All
Windows Forms Other version is already installed
I get this error message running setup created by VS 2005 Setup and Deployment project. Setup asks to remove old version of the program and install new one after this. What can I change in the setup project to prevent this - I want to update existing application without removing it. I tried to set RemovePreviousVersions to true, change UpgradeCode - this doesn't help. After Phil's helpfull direction, here is what I found in experimentation .... It seems a good idea to keep the setup project version the same as the application version. However, I found they are incompatible with each other! The application version requires a format of 1.0.0.0, and will not let you leave off any of those segmen ...Show All
Visual Studio Team System Accessing the updated power toys when installed using the .msi
Hi, Perhaps I missed it, but there doesn't seem to be any documentation that indicates how to access the command line power toys after they are installed using the msi package. I had to do a search on my c: and d: program files folders for tfpt.exe to figure out where it installed to. I would consider modifying the installer to add a shortcut to the start menu that opens a command line with a path setting that points to the installation directory for the power toys. At the very least, some text on the download page that specifies that the power toys install to "C:\Program Files\Microsoft Team Foundation Server Power Toys" would do the trick. Users shouldn't have to search their own hard drive to find the app they just installed! ...Show All
Architecture internationalization architecture
I have been assigned an project where i have to audit the internationalization (I18N) support in an enterprise application. Can somebody pleae guide me to any links/checklists where i can get reference architecture for the same. Thanks in advance regards For .NET applications, the FxCop tool ( http://www.gotdotnet.com/Team/FxCop/ ) can perform a variety of internationalization checks. Though not comprehensive, some starting points are: Test if text containing both Arabic and Chinese sentences can flow all the way to the data source and back to the display without corruption. Arabic is especially tricky because it's written right-to-left. Getting this to work practically requires full Unicod ...Show All
