Will C.404367's Q&A profile
Visual Basic how to close one or all opened application in my system
hi in my application , i want a list for opend application in my system(os win xp sp2). how i can close one or all opened application using visual basic 2005 or previus versions of visual basic .net. best regards. Use the process class. Module Module1 Sub Main() For Each p As Process In Process.GetProcesses Console.WriteLine(p.ProcessName) 'p.Kill will close the application Next End Sub End Module ...Show All
SQL Server deploying SSIS
Hi We are storing our packages in File System. Process: BIDS->Right Click on soln file ->properties->Deployment Utility->DeploymentOutputPath--Bin\Deployment So it creates a folder with the project name and all the packages in C:\Program Files\Microsoft SQL Server\90\DTS\Packages\Project While executing the package on Server what should be thesource of the Package I mean should it refer to the solution file->..dtsx or Bin\Deployment->packages or C:\Program Files\Microsoft SQL Server\90\DTS\Packages\Project Paarul wrote: Hi We are storing our packages in File System. Process: BIDS->Right Click on soln file ->properties->Deployment Uti ...Show All
.NET Development Problem Updating Access DB with manual code
I have an excel file with customer information that needs to be added to existing table of customers in access. I have created an OleDbAdapter to grab the data from excel and add it to a dataset. from here I am stuck, how do i get the data from the "Table" in the dataset into the access database table The dataTable is not updated, therefore nothing is sent to the DB but there are no errors and the code runs to completion. Thanks. public frmCompleteImport() { InitializeComponent(); //Add connection string for OleDb connection to Excel spreadsheet. string xlConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\GNWE ...Show All
Visual Studio Team System How do team projects relate to branches?
Our development group would like to be able to use one main branch of code for multiple versions of our software and create branches for hotfixes etc. But we would like to be able to keep work items separate for each version. One question we have is can multiple team projects share one branch of code or do you have to create a new branch when you create a team project From what I'm reading about iterations, it looks like a version of our software can be considered an iteration and work items can be grouped by iterations. So we could have one team project for multiple versions of our software and group the work items by iterations. Is this true We want to use the CMMI process template, by the way. Thanks, Richard ...Show All
.NET Development Extra three bytes prepended to XML File
I have an XML FIle that I'm doing an XSLT tranform on, to RTF. The XML file is written with an XMLTextWriter. When I open the beginnings of my RTF file with word it always ask me for an encoding and it doesn't treated the RTF file as RTF just a straight text file. I looked at the RTF with a hex dump utility and I notice there are three bytes preepending the RTF. 00000000 EF BB BF 3C 3F 78 6D 6C-20 76 65 72 73 69 6F 6E ...< xml version 00000010 3D 22 31 2E 30 22 20 65-6E 63 6F 64 69 6E 67 3D ="1.0" encoding= 00000020 22 75 74 66 2D 38 22 20-73 74 61 6E 64 61 6C 6F "utf-8" standalo 00000030 6E 65 3D 22 79 65 73 22-3F 3E 0D 0A 3C 44 69 72 ne="yes" >..<Dir I notice the same three bytes pr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 360 question.
So far with all ive read i just have one question. When we get the pro version and i make my whole game using 3d files in the .swm format wioll i just be able to open the project in XNA pro and basically play it on the 360 or will i have to redo alot of my code with the pro version From what I gather, most of the code will be able to stay the same. There will be some differences because the Express version won't support Live because of the potential for malware, but the point of XNA is to make cross-platform development as easy as possible, no matter the development environment. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem with content .x files on build.
I have a small xna application working. I can load an .X file, render multiple of them -great. Now adding another .X file (created identically, added the same way -[existing file, content] It throws up errors on the build. Is there some kind of caching taking place, or a pre-build action I should be doing Searching for the .x model name it shows up in both the ContentPipeline.xml file WITH TWO ENTRIES. Removing the extraneous entries from the /OBJ/ContentPipeline.xml doens't do anything, as it's regerenerted on each build. Where is it getting it from How do I fix this (error throw below) Error 1 Building content threw ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentExcept ...Show All
SQL Server Way to discover SQL Servers on the network.
I'm new to SQL server. I used to have a tool "DBArtisan" that would discover any SQL databases that were on the companies network. Does any one know of SQL Management Studio 2005 has that type of functionality Thanks Kall. ...Show All
Visual Studio Team System ... The may be a duplicate live [Domain]\[Account] in the constants table ...
I saw one other posting for this error ... has anyone got a fix We have a new TFS install w/SP1 and this just started occuring after a few weeks of use. From a desktop computer with valid credentials ... it occurs upon trying to export/import a work item template via Process Editor or WIT*. It also occurs when we try to connect to MS Excel or MS Project. We have'nt altered any templates yet, but we'd like to. If you are on the TFS server (remote desktop) it works fine with the same credentials. If you attach with a desktop outside the domain it prompts you for valid ceredentials and works just fine. So I have a workaround to export all the data/templates. I did do a query against the constants table for duplicates on the Domain ...Show All
Windows Forms Parameter count does not match Parameter Value count.
Parameter count does not match Parameter Value count. what does this mean...I am trying to update my sqldb...I have all the right parameters...why elese would this come up SPROCS are the best way to go. What I am saying is, when you execute non query command, is that where the error is produced If so, check the parameter count. Then check your SPROC parameters (go into SQL and look at the SPROC)...count how many there are. Do they match up if not - that's your problem. ...Show All
Windows Forms Webservice return: open a PDF
Hi, I want to know how I can do for open a pdf in my windows form. I code in C#. The situation: In one of my webservice I send a PDF as return: response.contenttType="application/pdf"; response.writefile(filename); My pdf is save on the server. If I query my webservice in a web browser that launch Adobe and I can see my pdf. Is it possible to do the same things in a winform With the same webservice Thanks a lot for your help. easy right wrote: If I query my webservice in a web browser that launch Adobe and I can see my pdf. 'easy right' mentioned that he can already query the filename using a web browser, so I assumed he just wanted a viewer using a ...Show All
Windows Forms How many instances of DataGridViewRow should I see in shared mode?
I have a DataGridView which I have set to Virtual mode. I believe that I am doing everything necessary to allow row sharing to take place. In this case, when I profile my application (e.g. with CLRProfiler), how many instances of DataGridViewRow should I being seeing Surely I should only be seing one or two: not one for every row being displayed in the Grid. Likewise for the DataGridViewTextBoxCell class: I guess there should be (Number of Shared Rows) * (Number of Columns) instances of these, rather than an instance for every cell. So given that I am seeing a Row instance for every row, and a Cell instance for every single cell, am I correct in thinking that some how rows have been unshared What could I be doing wrong Thanks, ...Show All
Visual Studio Team System Debugger never hits breakpoints in overriden VisitTry or VisitCatch method
Hello, I've got following problem. I want to analyze try-catch blocks in code, so I have overridden VisitTry and VisitCatch methods: public override Statement VisitCatch(Catch visitedCatch) { Debug.WriteLine("catch"); Problems.Add(new Problem(new Resolution("{0}", "catch " + visitedCatch.Variable.Type.Name.Name), visitedCatch)); return base.VisitCatch(visitedCatch); } But when I set breakpoints inside these methods and run or debug my custom rules library, the debugger never hits these breakpoints. Anybody can please help, thanks a lot. Karel Hi Karel, Unfortunately the VisitTry and VisitCatch methods are never visited by our visitor in 1.35 (it wasn’t hooke ...Show All
Visual Basic How to restrict user to tab (no mouse) selection
Hello, There are 9 numerical TextBox plus other TextBox fields on a DataEntry Tabpage. How to restict the user ability to MouseClick in one of these numerical fields The reason - to eliminate repeating if statements (which writes 0.0 s in the fields), in the case the user MouseClick into one of these numerical field but fails to enter any numbers. As it is now, data entry are into the numerical fields are limited to NumberKeys and initially the DateEntry Tabpage numerical TextBoxes are loaded with 0.0 by the Data>DataBinding>Advanced setting. Greetings, Heh. Even us experienced programmers do syntax errors now and then! It should be like this: If Not (IsNumeric(numBox.Text)) Then numBox.Text = "0.0& ...Show All
SQL Server How do I develop a plug-in for Management Studio?
Recently saw a red-gate product that added an entire menu header to the management studio interface. How does one go about developing that My company has several SQL related home grown mini utilities written in C# that I've placed in Management Studio for convienience via the external tools functionality. Feedback from our development and database groups indicate that this solution does not go far enough in cleanly simplifying how we leverage our custom utilities. That being the case it would be a great boon to learn how to add an entire menu to the environment as to customize it to our needs. Any information would be a help. Thanks in advance. My team owns SQL Server Management Studio. In SQL Server 2005, ...Show All
