voltagefreak's Q&A profile
Visual Studio Team System Can't set system.state other than "active"
hi there.. I'm trying to create a workitem programmatically but i can’t set the system.state to other value like “Closed”. If I try to set it there an error message saying something like I set the wrong field or don’t have permission. The only value that I can set for the system.state is “active” Can someone explain me why or are there a certain way/method of changing the system.state value tq Hi ahmad, you should define all states transition in your WI definition file to be able to set the current state. Validation takes place on the server side and when you try to save this WI, no rule allow the work item to pass from "", to "Closed" for example. ...Show All
Visual Basic Publish Problem with signtool
I keep getting the following message when attempting to do a publish build of my programme .... Error 2 SignTool reported an error 'Failed to sign bin\Release\WindowsApplication1.publish\\setup.exe. SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please copy the latest version of CAPICOM.dll into the directory that contains SignTool.exe. If CAPICOM.dll exists, you may not have proper permissions to install CAPICOM. '. WindowsApplication1 Ive done the obvious as detailed in the error message, but the problem remains. Any ideas I've found the file in the windows mobile 6.0 SDK and also in the VS common tools folder. I sup ...Show All
Visual C++ Impossible to track down a linker error
I might be wrong, but it seems to me that the linker reports have become impossibly detailed in VS2005. for example, I get the following linker error (note, this is *one* linker error): ========== filemanagerd.lib(filemanager.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::replace(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::iterator,class std::basic_string<char,struct std::char_traits<char>,class std::a ...Show All
Visual Basic ListBox.Items.Add() doesn't work for me
Hey everyone, I'm trying to add data to a listbox, but I get a object reference error. Here is a exmaple of my code: The listbox is already on the form: listbox1.Items.Add("Test") listbox1.Items.add("test1") When I run this code, I get a object reference is set to null(System.NullReferenceException) Can anyone help thanks, Brandon M. Hunter I Finally got it. Here is my solution: lstBXSC = new ListBox lstBXSC.Items.ADD("Test") This worked. Buy why i understand the previous error message that I recieve, but I already had control dragged onto the form. Once the control is on the form, a new instance is created right ...Show All
Visual Studio 2008 (Pre-release) Configuring Elementary Security
I'm trying to just get a service working from outside a domain and am getting nothing but headaches trying to get it going. Here's my configuration for now: < bindings > < wsDualHttpBinding > < binding name = " wsDualHttpBinding " > < security mode = " Message "/ > </ wsDualHttpBinding > </ bindings > This works locally, but I get an error on the client saying it couldn't work out the SOAP security. As I understand it, WCF uses Windows credentials by default for wsDualHttpBinding and this would make sense because it works locally, but not on the other computer. To get around this, I tri ...Show All
Visual Basic Using the API of Visio to open a Custom Method in Visio
Hello everyone, I am trying to call one of my own functions in the Visio-VBA file from another visual basic program. Do you know the name of a fitting API-Function Thanks for any help :) ...Show All
SQL Server How would you interpret this Error Message
I am attempting to complete a package that calls four "worker" packages in parallel. The connections are part of the worker packages. When I start the calling package, I get a message: Error at XYZ (the name of one of the packages): The connection is not specified. Which connection Each worker package has three connections. So just to experiment, I delete that Execute Package Task and I get that same message about another package. So why does it not identify which connection is the concern and why did it stop with the first one instead of listing all the connection issues And why is it asking for a connection at all At present, all it does is call the other packages. Still hanging in there... IanO ...Show All
SQL Server Strange problem with Delete
Hi, i had been some a problem with the delete statement. When i try to delete X rows of a table in a transaction, it doesn’t work properly, some rows aren’t deleted. I’m working with one thread and concurrency. I tried before delete the same information with stored procedure and the same problem happened. Anyone had this problem before Any sugestions Maybe the concurrency I’m working with ASp.Net+VB.NET+SQL Server thanks Joao Paulo Lindgren One possibility is that there is a DELETE trigger on the table that is protecting some of the data. Steve Kass Drew University http://www.stevekass.com ...Show All
SQL Server Look up transformation
Hi, we are trying to implement this logic in SSIS data flow task We have 2 datasets Dataset 1 has Emplid and Actiondate. (from Oracle Database instance I) Dataset 2 has Emplid, ProjectID ,Project Start_Date ,Project_End_Date (from Oracle Database instance II) Logic is select ProjectID from Dataset 2 where Dataset 1.Emplid = Dataset 2.Emplid and Dataset 1.Actiondate between Dataset 2.Project Start_Date and Dataset 2.Project_End_Date. for first condition we have used merge join between 2 datasets. for second condition we are trying to use look up transformation... it did'nt help... if i want to write an query where do i write that please help Thanks in Adv ...Show All
Visual C++ I have the same problem
when i power my computer a sign says smartbridge alerts motivesb .exe entry point not found the procedure get process image file name w could not be located in the dynamic link library PSAPI.DLL what is this and how do i make it stay away i just downloaded IE7 can someone please help me jaymoss wrote: when i power my computer a sign says smartbridge alerts motivesb .exe entry point not found the procedure get process image file name w could not be located in the dynamic link library PSAPI.DLL what is this and how do i make it stay away i just downloaded IE7 can someone please help me ...Show All
Visual Studio Problem with SourceSafe and Visual C++ .Net 2003
Ok, I added new dlg class to the project and it worked fine as always leaving both the .h and .cpp checked out. I did some editing in those files, and when I went to add a message handler, I got the error message "Add/Remove of the function is impossible, because the parent class code is read only" Now, I KNOW it's not read only both the dlg's .h and .cpp are checked out! Also, in an act of frustration, I checked out all the files in the project, and it still gave me that error. Any help would be GREATLY appreciated!! Thanks guys, Jeff From looking at the error message it seems that one of the files VC needs to modify (.vcproj ) is read only. Try to find the file and if it is under source ...Show All
Visual C# Compare filename to a mask
I have a FileInfo object. I need to compare the FullName property to a mask like "*.jpg" or "warcraft.*" or " rant.bmp" to see if it matches. How can I do this Thanks Hi , Do you need to just compare against the 3 mentioned above or any jpg file and any file having name as warcraft(what ever the extension may be) and (is it rant.bmp or rant.bmp) any bmp or only the bmp file u have mentioned Anyways, since fileinfo.FullName is a string object , it has so many functions like "Equals","Compare","Contains","Endswith" and "Startswith".Using these functions u can compare any filename with any extension. Hope u ca ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Absolute and relative mouse movement
Usually when dealing with mouse input you want the data from the mouse in two forms, one is absolute that you might use to draw a cursor or know which part of the window/screen a user has clicked on, and the other is relative where you are only interested in how much the mouse has moved. Currently, the MouseState only seems to report the mouse movement in the absolute form. This means anyone using the mouse to control, for example, a first person camera would find their movement limited by the size of their window/screen. I have tried playing around with the Mouse.IsCaptured property but it doesn't seem to make much difference, quite possibly because I don't know how to use it. Am I correct in thinking that getting relative mouse input dat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Release .exe not working on non-Xna system.
Hi, I sent a compiled version of the XNA shell program (blue screen only) to my friend who doesn't have XNA installed on his PC. Didn't work (crash with no decent debug info). After he installed XNA on his system, the .exe worked fined. Just thought you'd like to know. lushdog No, as ZMan has noted, you should not redistribue the XNA DLL's. In the future, once XNA has graduated from betaland, an XNA runtime installer will be available to ensure the correct installation of the assemblies. Generally, shared assemblies are registered with the GAC (Global Assembly Cache) to ensure proper version handling, etc. As of right now, the only proper way to distribute the XNA assemblies, is by having the end user ins ...Show All
SQL Server domain\user cannot log on SQL server 2005
Hi All, I have an issue to connect to SQL 2005. My user is also declared in SQL 2005 as sysadmin. C:\>ECHO %USERDOMAIN%\%USERNAME% CMVAL\damien C:\>sqlcmd -S CM-DB 1> quit C:\>sqlcmd -S CM-DB -U "CMVAL\damien" -P "ThePassword" Msg 18456, Level 14, State 1, Server CM-DB, Line 1 Login failed for user 'CMVAL\damien'. C:\> Seems that the system reject the domain I've provided. Some of my service failed to log to SQL Server due to this issue. Thanks for your help. Damien Thanks LY.J for your answer. In fact, my original issue is that I have a lot of this error in the event viewer : Event Type: Failure Audit Event Source: MSSQLSERVER Event Categor ...Show All
