saaniok's Q&A profile
Visual Studio Team System Problem with filter Changed by on closed work items
I have filter that shows all bug and tasks that I did during last week. However if someone close work item I do not see it in my queue. I use fileter "changed by"=@me. Probably it is another way to get all tasks I worked on By the way, does any command line tool that can show work items Thanks a lot for answer. However I have one more question. How to combine changed date and user who made changes. For example, I'm developer and I need to get tasks and bugs that I worked on last week. But bugs after they are resolved should be tested. So they assigned to testers. And they can change it. So I need filter that shows only bugs that only I changed last week but not testers. If I use changed date TFS ...Show All
SQL Server Trigger and send to the fax printer
Can SQL Server let me create a triger and send the data to the fax printer n send it to that particular person Hi, you have to be aware that sending printer jobs through a trigger can cause performance issues. Triggers behave asynchronously which means that they will block during their execution. You should better write the job data to a table and poll this table on a regular basis or use Service broker for communicating with some other message service. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual C++ Corrupt Builds After Cancel
Our team has a ~50 project solution with a few dlls, lots of libs, and three executables. If I do a build solution, and at any point during the build hit Control-C to cancel it, whatever is being built at the time I hit the button is now corrupt. It looks like it leaves the partially created .obj, .exe, or .dll around and doesn't detect that it only got halfway through. Is this a common symptom Is there some known fix (MSDN and google searches didn't turn up any hits) Our projects and solution are all converted from 2003, if that's any help. Thanks for any info, Chris Jurney Senior Programmer Relic Entertainment Mike Barry wrote: This is a C++ issue when you cancel the build at a certain time whil ...Show All
Visual C++ I have a driver test program, it can open and start the service, but it can not enum the adapter,please tell me why?
I have a driver test program, it can open and start the service, but it can not enum the adapter,please tell me why #include <windows.h> #include <winioctl.h> #include <ntddndis.h> #include <stdio.h> #include "protoutils.h" int main() { // Ao ˉ·tIn if(!ProtoStartService()) { printf(" ProtoStartService() failed %d \n", ::GetLastError()); return -1; } // ’o a OOAEe±﹐ OIo HANDLE hControlDevice = ProtoOpenControlDevice(); if(hControlDevice == INVALID_HANDLE_VALUE) { printf(" ProtoOpenControlDevice() failed() %d \n", ::GetLastError()); ProtoStopService(); return -1; } // A U°o ‥μAIA2aEEAaA÷ CPROTOAdapters adapters; if(!adapters.EnumAdapters(hControlDe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Beta 2 announced (date 'in a couple of weeks')
http://blogs.msdn.com/xna/archive/2006/10/23/announcing-xna-game-studio-express-beta-2.aspx (apparantly this counts as a duplicate post even though its in a different forum so this text is to make it different) Its can't - there is no D3DX on the xbox! However this of course only applies at runtime. We know that .x and .fx files are processed at compile time into something else by the content pipeline so I'm not 100% sure that d3dx isn't needed at this point. Even if it is though it just needs the correct side by side version which will be included with the setup. ...Show All
.NET Development Trouble catching exception
Hi, I am having this problem catching a exception in a try catch block as shown below try { DialogResult result; result = wizard.ShowDialog(); } catch (PackageCreationException e) { MessageBox.Show(e.Message, "Failed", MessageBoxButtons.OK, MessageBoxIcon.Warning); } now the wizard is a form which throws a PackageCreationException if it fails this works fine if it is run in the Visual Studio environment but when run as a standalone application this exception is not caught. I have been cracking my head over this. I can catch and handle exceptions fine every where else but here. Does anyone know why this happens ...Show All
.NET Development Missing XML Schema
I was fallowing the help tutorial on doing XML and XML Schemas. When I got to the point where you add the XML Schema by clicking on it in the dialogue box, there was none! Are there some settings I need to change First I expect you have VS 2005 installed. The default schemas in the schema dialog are loaded from the schema cache location. So I would diagnose this as your schema cache not pointing to the default location. Could you try Tools->Options->Text Editor->Xml->Miscellaneous. This page has in entry Schemas: <path to schema cache> By default it is set to %VsInstallDir%\xml\Schemas or %InstallRoot%\xml\Schemas - can you check what your's is set to It may be pointing to ...Show All
Visual C++ URGENT!! New using VS 2005!! Problem on releasing...
Hello, I have a question like I have two computers at home, one loaded VC++ 2005 Express and the other one with nothing but a clean Windows XP. I am working on a little project on the computer w/ VC++. After I compiled the project by using either (debug/release), when I try to run the exe file over the other computer (I copied the whole folder to the other computer already). It shows an application error. Is there anything I can do Thank you!! Luis Luislcm wrote: I tried to copy both msvcr80.dll and msvcr80d.dll to my project directory and debug directory but still doesn't work on the other computer. You don't need to copy them to the Project Folder or the Debug folder of the comput ...Show All
SQL Server working with decimals or real numbers
I have a number 8.30 how can I break apart the 2 parts of this for more simplicity I need to take out 8 and 30 in 2 different variables, how can I do it Please advice Does this help create table test ( value varchar(20) ) insert into test select '8' union all select '9:30' union all select '8.45' select case when patindex('%[:.]%',value) = 0 then value else substring(value,0, (patindex('%[:.]%',value))) end, case when patindex('%[:.]%',value) = 0 then 0 else substring(value,(patindex('%[:.]%',value)+1),len(value)) end from test ...Show All
Visual Studio Team System CTP5 Refresh
Hi, According to Cameron's post: http://blogs.msdn.com/camerons/archive/2006/09/15/756593.aspx We need to grant execute permission to public. Can someone explain exactly why we need to do that I'm interested to know. Thanks Jamie Rafet wrote: This is so that the Visual sudio can drop the temporary database credted [DbNam_GUID] duirng the project load. The CTP 5 refresh is EXTREMLY buggy and I do not recoment ayone installing it. Rafet I'm thinking CTP5 as a whole is (see my other threads) and yet, the bits that do work are so fantastic, I'm persevering with it! -Jamie ...Show All
SQL Server OLE DB Connection Manager will not save password
I'm stuck with a very annoying problem - any help would be greatly appreciated. I created a package using Business Intelligence Project. The package reads from a Flat File source and saves to a SQL Server table. The package has a Data Source for the database connection. In this I have opted to save the password. When I run the package in VS on my machine it works fine. I then deployed the package to our SQL 2005 database server using the Deployment Utility. It then appeared in the MSDB section. I then tested the package ran from my machine using Management Studio and all was fine. However, if I try to run the package from the database server itself I run into problems. Specifically, the log gives me the following error: "The AcquireC ...Show All
Visual Studio How to filter ItemTemplates in "Add New Item" dialog?
Hi there, I implemented my own Project SubType and some Project and ProjectItemTemplates. When adding a new item, I'd like to filter the shown list of ItemTemplates. Is that somehow possible Regards, Jens Per the documentation snippet below, you just need to override one property. Right now it is using the base project's items. Obviously you will need to keep your entries aligned with the base project's items when MS introduces new item types. The project subtype can specify that an alternate set of Add Item templates should be used for a particular flavored project instance by supporting the VSHPROPID_ AddItemTemplatesGuid enumeration from __VSHPROPID2 in GetProperty implementation to return the GUID val ...Show All
Visual Basic Hide Caret in a TextBox
Hi, This is my requirement. I have a textbox in which readonly property is set to true. I want to hide the caret symbol blinking in the text box when i click on the text box. I tried this using the Hide Caret API. Code is Public Declare Function HideCaret Lib "user32.dll" ( ByVal hWnd As Integer ) As Integer Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer i = HideCaret(TextBox1.Handle.ToInt32) MsgBox(i) End Sub This function does not work as i variable is always returned 0. Also setting readonly to a textbox does not hide caret symbol. Pls help me to achieve this functi ...Show All
Microsoft ISV Community Center Forums response.setHeader in IE
Hi All, I am trying to develop an web application java, thru which i can download an xml file. My code is working fine in FireFox. But the same code is not working in IE 6 & 7, the file contents are displaying in the browser itself. I am not getting any download option. Here is my code response.setContentType("application/xml"); response.setContentType("application/x-download"); response.setHeader("Content-Disposition", "attachement; filename="+ backupFileName); OutputStream os = response.getOutputStream(); try { File fileToDownload = new File(backupFileName); FileInputStream fileInputStream = new FileInputStream(fileToDownload); System.out.pri ...Show All
Visual C++ HEAP: Free Heap block modified after it was freed
hello everyone, i came across this problem: HEAP[core.exe]: HEAP: Free Heap block 3af2a8 modified at 3af2d0 after it was freed Windows has triggered a breakpoint in core.exe. This may be due to a corruption of the heap, and indicates a bug in core.exe or any of the DLLs it has loaded. the problematic line is new Log(....); the Log is a class i defined. i maintain a std::vector as a history log to keep a record of every step. also i maintain a bool type variable to enable the user to choose wether or not to keep records. so the code is something like this: class Log { ... } std::vector<Log *> history; bool keepRecord=false; void record(Log *theLog) { if(keepRecord) { history.push_back(theLog) ...Show All
