bigbob's Q&A profile
Visual Studio Team System Web and Load Test Editor missing
We went to edit existing web and load tests from Solution Explorer and it opens them as XML. The plugins for web and load test editors are gone. We can browse for them but, don't know where to look. We get an error message opening VS that says "Could not load file or assembly "Microsoft.VisualStudio.QualityTools.LoadTest, Version=8.0.0.0, Culture=neutral, publickey token=b03f5f7f11d50a3a or one of its dependencies. strong name validation failed (exception from hresult: 0x8013141a). We checked C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies and all of the qualitytools seem to be there. I'm not sure how you got into that state. Packages, and specifically those dealing ...Show All
Visual C# Unable to update the dependencies of the project
I have had this error every time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would be helpful. You said ... " I think we were WAY TO PREMATURE marking this thread as being ANSWERED!!!" ABSOLUTELY. !!! Can you repost as a new question. I'll have a couple of hours spare later this week and can spend some time trying to make a repo and ...Show All
Software Development for Windows Vista expand/collapse activities programmatically
How can I collapse/expand a composite activity in code I found no Expand method or similar on the activity class. Thanks to all for your help so far. ...Show All
Visual C++ Code generation bug when throwing exceptions in C++/CLI with optimizations.
While writing a C++/CLI project using exceptions I've encountered a bug( ) related to stack unwinding and deleting local variables in unreached parts of the functions on the stack. The following code demonstrates the bug. Please compile with Visual C++ 2005 with /CLR and /O2 flags set. In debug mode, the stack unwinds and the runtime does nothing with the local variable str . In release mode, the runtime attempts to destruct str , even though it has not been used. A workaround which in some cases appears to work is to declare str in the scope of the function. In our case this would be very inconvenient. Has anyone experienced something similar We could not find anything on MSDN or on Connect. Output in debug mode: Main test functi ...Show All
Visual Studio Team System Default TFS event subscriptions & certain actions are not updating
Hi, What are the default event subscriptions that get registered with TFS installation In other words, as soon as I'm done with a fresh install of TFS, what subscriptions should be available in TfsIntegration.dbo.tbl_subscription The reason why I am asking is because when we add a new Area in Team Explorer, it gets recorded in the TFSWarehouse.dbo.Area table, but is not available for selection for work items. Also, adding a new member to a TFS group does not make that person available in the work item dropdowns. We had to make some modifications to the tbl_subscripton table to work around the issue of Active Directory lookup failing for a domain user upon firing an event, so I want to make sure that we have the proper TFS subscrip ...Show All
Visual C# IList<> or ICollection<> which one is more efficent????
In my code I use ICollection<> for some reason I decided on ICollection<> after doing some research but I forgot why I am using ICollection<> ;-) Looking at different samples I have come across on the web it seems that most people use IList<> which is better or does it matter Portion of my code using ICollection public static Collection < AvatarImageInfo > GetAvatarImages() { string key = AVATARIMAGE_KEY + "GetAll" ; Collection < AvatarImageInfo > avatarImages = new Collection < AvatarImageInfo >(); if (avatarImageCache.Contains(key)) { //Get an AvatarImageInfo collection from the cache. avatarImages = ( Collection < Avatar ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Magenta sprite color comes up transparent?
This seems to be a new behavior in Beta 2, is it a feature or a bug When I draw a sprite with SpriteBlendMode .AlphaBlend that contans the color (255, 0, 255) that color shows up as transparent. Is this to allow an easier way to create transparent regions in your sprites Bill Just as an artist creates images with lines, shapes, the presence and absence of color, etc, etc, a programmer creates games with a slew of tools as well, such as TextureProcessors, GameComponents, and Vectors. After all, a color is simply a varying combination of red, blue, and yellow, as a Vector is a combination of floats. Compare the use of the default ContentProcessor (SpriteTextureProcessor in this ca ...Show All
Smart Device Development Opening XML File on Pocket PC
I'm trying to load an xml file in Pocket PC, but its giving me DirectoryNotFoundException. I know why the exception is occuring becaue Pocket PC file structure is not like the local Drive system we have in windows. I'm trying to do the following to resolve the exception but it still does not works: String path = Environment.GetFolderPath(Environment.SpecialFolder.Programs) + "\\MyPocketCal2003\\QuantitiesUnits.xml"; String path = Environment.GetFolderPath(Environment.SpecialFolder.Programs) + "\\MyPocketCal2003\\MyPocketCal2003\\QuantitiesUnits.xml"; Please suggest a solution. I couldn't find the file in the File Explorer, may be I was looking wrong but the file is part of the project ...Show All
Visual Studio Problem with ReportViewer on Windows 98
I got an error message in main area of ReportViewer control on Windows 98. "An error occurred during local report processing. The report server has encountered a configuration error. See the report server log files for more information." The object (dataset) which is used in reportviewer is located in the same app. The report work fine on virgin Windows XP with NET 2.0 and ReportViewer, but not work on Windows 98. Also where "report server log files " are located Help me please! Thanks! OK. It's an issue or known bug - noone is perfect. I didn't read the fine print. I presume that means it will be fixed with the next Service Pack for VS2005 or the Report Viewer Control. Microsoft always seem to have we ...Show All
Software Development for Windows Vista FindLast on UserEvents have been removed
Hi, I track certain data items in workflow using the default tracking on SQL. I used to find the last tracked data item with the following line ( sqlTrackingWorkflowInstance.UserEvents.FindLast(_userKeyIsScreenData) ). It seems that IList is now the implemeneted container. How would i find the last instance of the data item tracked Regards Jaco (Should iterate through the list and asume the last item in the list would be the item i last tracked ) ...Show All
.NET Development Encryption woes
I'm trying to do some basic public/private key encryption and I seem to be doing it wrong. All of the documentation seems to skirt right around actually doing asymmetric encryption. I create two csp blobs, one has the private key data and the other has the public key data. I use the one to encrypt a blob and the other to decrypt the blob...in theory. It always ends up coming back with the decrypted byte array is of zero length. here's the relevant code, any thoughts Private Sub CreateKeys() Dim cp As New CspParameters() cp.KeyContainerName = "name" Dim RSA As New RSACryptoServiceProvider(cp) My .Computer.FileSystem.WriteAllBytes( "c:\temp\publickey-readme" , RSA.ExportCspBlob ...Show All
SQL Server Code help
Hi everyone, When I use the following talbe for my database, while adding this database a full record, it always give this error; String or binary data would be truncated. The statement has been terminated. The bad thing is that I can not overcome this error. So what did I do wrongly is the following CREATE TABLE Muhasebe ( KimlikNo int CONSTRAINT PK_Kimlik PRIMARY KEY CLUSTERED NOT NULL, Ad nvarchar NOT NULL, Giri Tarih datetime CONSTRAINT CH_Tarih CHECK (Giri Tarih > '1/1/2006' AND Giri Tarih < '06/07/2006'), Butce money NOT NULL)SELECT * FROM Muhasebe The above error causing code; INSERT Muhasebe VALUES(12, 'mert','3/3/2006',120.000) you need to give the Ad column a size, if you don't specify a size 1 will be ...Show All
Software Development for Windows Vista Bound Dynamic properties not retained after save - Using Vihang Dalal's Designer Rehosting
I am using Designer Rehosting code posted by Vihang Dalal. I am also using DynamicPropertiesActivity from Ghenadie's blog. I create a workflow with DynamicPropertyActivity as one of the activities. Added 'strTest' to DynamicProperties collection. In order to be able to use this attribute in the rest of the workflow to bing to other activities, I believe I have to bind 'strTest' to a new member. So created a new Property member say dynProp_strTest. I can now use dynProp_strTest to bind to other activities. So far so good. The issue comes up when I try to save this workflow and then reopen it again in Designer. I can no longer see the new member 'dynProp_strTest' that I created. I understand it is getting lost during Save, but do not exactly ...Show All
SQL Server SQL Server 2000 Query Problem
I'm having trouble coming up with a query in SQL Server 2000. Trying my best to sum it up in one sentence; I need a result set that for every EventID/StartDate that exists in tblEvents, I need all StartDates within x days to have a minimum sequential, unique number starting at 1. Now I'll go into some more detail and possibly confuse everyone. What I have is a table of events that to simplify this question include only an EventID and an StartDate field. What I need to do is for each event, find the other events that occur within x days after the event in question. I then need to number the events starting at 1 so that each eventB that occurs within x days of EventA has the minimum number different from any events from the past x days. I ...Show All
SQL Server A data source instance has not been supplied for the data source
Hi Guys, I have create a report and it works in development mode. But when I call this report from aspx page it give me above error message. Please let me know how can I setup datasource of this report at runtime. Below is my code Regards ReportParameter [] rptPara = new ReportParameter [1]; rptPara[0] = new ReportParameter ( "rDate" , WebDateChooser1.Text, false ); ReportViewer1.LocalReport.ReportPath = @"C:Business\RPT585.rdl" ; ReportViewer1.LocalReport.SetParameters(rptPara); ReportViewer1.LocalReport.Refresh(); http://blogs.msdn.com/bimusings/archive/2005/07/01/434659.aspx I think this article should answer your question. I was experiencing the same error and Russell ...Show All
