FS2K's Q&A profile
Windows Forms An error occurred while validating. HRESULT = '80040155'
Who can tell me what I should do to the error: Error 1 An error occurred while validating. HRESULT = '80040155' This error appears when I try to make a setup project with visual studio 2005 standard version. By Error help: There was a problem accessing a file or folder while building a deployment project. There are several situations that can cause file or folder access errors. When building, files are built in an output directory specified by the Output file name project property. Each time you build or rebuild, files are deleted and then re-created. If the deployment project references files outside of the project directory, those files should not be moved or deleted. To correct this error If the O ...Show All
Windows Forms adding single records to a gridview
I have a cbolist the user will select a name hit enter then a query runs to get that name details and enters it to a grid view, the user clicks another name and its details are added. How do i do this. i have only used the adapter.fill(table) gridview1.datasource = table but only one record is showing the last one clicked. "seperate list holder" - you mean like a "storage container" which constantly has items being added (or removed) right Yup I agree and this is what I had also posted earlier. (sorry, just different termonoloy) :-) ...Show All
Visual Studio 2008 (Pre-release) MediaElement is playing HD-movies slow in RC1
I've just upgraded my system from June CTP to RC1 of .NET 3.0. Rebuilding my projects worked without any problem but when i try to playback a HD-movie(720p) in a mediaelement i get unacceptable framerates. In June CTP the exact same movie worked perfect and i can't think of anything else that has changed in eighter my system or project that might affect videoplayback. Playing the movie in WMP, VLC or any other player works just as before. My system: Athlon 3200+, 1024mb ram, Radeo 9800pro 128mb, XP Pro, WMP 10 While I haven't done anything close to scientific tests, I also had the feeling that CPU usage was higher when playing back videos in RC vs June or July. //Tomi B. ...Show All
.NET Development Your probleme with the Update
I tried unsuccessfully to do the job according to the book for over 2 month, could sleep, could not do otherthings, finnaly I opted for writing the output to a text file, and at exit the text file is merged into the access data table. The bad point is the database does not reflect the latest situation. The good point is you have a history journal of all what happend on the DB. NB: do not forget to add a stamp to your output text file, update your database from the imported textfile, on the imported textfile you will also have added a flag Y/N so you can filter the new changes. do not forget to flag the newly added textfile record once the changes applied to the main DB table, and delete the textfile The button is activated b ...Show All
Visual Studio Express Editions Visual C# Express fails to install
I downloaded the Visual C# Express edition CD images , burnt them and tried to install, but the installation fails with the following error: Suite Integration Toolkit Executable has encountered a problem and needs to close. It hapens for both the iso and img files. Yes, the same Suite integration toolkit error. OK, let me use the SP2 you mentioned (though I have one installed) and check the Windows Installer. I'll post after they're done. I have only .Net Framework 2.0 installed. (no beta on my system) ...Show All
Windows Forms UIP Application Block Version 1.0 upgrade to 2.0
I am using UIP Application Block 1.0 with .Net 2003. Now I am upgrading .Net 2003 to 2005. But it is giving me run time error because of the UIP AB. I am lost and can not find any clear information to the following questions. Can I use UIP AB 1.0 with .Net 2005 If so, what changes do I have to make in my current AB to make it to work with .Net2005 What it will take to upgrade UIP AB 1.0 to 2.0 How much of a code change do I have to make I am new to microsoft technolgy. Any information would be helpful and please direct me where i can find useful information on those topics. Thanks in advance!! Please be patient Someone will only reply if they know the answer. It would also be advisab ...Show All
Windows Forms Problems modifying context menu on the fly
I have been trying to modify a context menu depending upon the view a user choose in a window. I have added a context menu in the design view and added 3 menu items. On load I set one of these items to be either invisible or unenabled (I have tried both) however in the 1st view I still get all 3 appearing. I can set this to unenabled/invisible in the design view and it works fine. As I cycle through the views (choosing the view based on the choice made on the context menu) I try to set various other items to unenabled/invisible. This does work however it does not set the correct one to unenabled/invisible, and seems to choose the one that it sets invisible based upon the 1st choice you make in the context menu. For example I have my contex ...Show All
Visual Studio #if MSBuild ...
Hi What #if statement can I use to detect MSBuild in my code I tried MSBUILD, but no luck. Do I have to define one I if, how regards Kjelli I'm using AzMan to control page/code access and are having trouble configuring this on WinXP. On the team build server / test site it's working and would be appropriate to have security applied. Please explain where I should put your statement. I've tried in TFSBuild.proj: <Project DefaultTargets="DesktopBuild" xmlns=" http://schemas.microsoft.com/developer/msbuild/2003 "> <PropertyGroup> <DefineConstants>$(DefineConstants);MSBUILD</DefineConstants> This is without the conditional statement. (Don' ...Show All
Visual Basic how to hide a Process From (Process.start("",a))
Hey All, I try to figure out how to hide the porcess when using process.start() .Cause,when invoke this method which takes in a .exe and an argument.They will produce a result by displayuing a html page in an IE.So how do i prevent the result from showing. Thanks For Helping. Yah..its still display the IE.I think i cant do anything cos the IE html page came from the server itself.So do you think i can prevent from automactically display it.Anyway,i try your code just now,its work by not displaying the loading page of the Knexus.exe. Thanks Again ...Show All
SQL Server error: "The xmlDb query is invalid"
Hi, I was working on the MSDN Tutorial "Using XML Data in a Report", Lesson 2: Defining a Report Dataset for an ADO.NET DataSet from a Web Service at the follwoing link http://msdn2.microsoft.com/en-us/library/aa337489.aspx When i run the following query, everything goes as expected (i.e. the displayed data is the extracted data from all XML elements and attributes down to the leaf node on the first XML path it finds in the dataset ) <Query> <SoapAction> http://tempuri.org/GetEmployeeManagers </SoapAction> <Method Namespace="http://tempuri.org/" Name="GetEmployeeManagers"> </Method> </Query> But when i add the other section to specify the ele ...Show All
Visual Studio Team System Running VSTS unit tests, according to priority?
Hi, I am currently working on a project with hundreds of unit tests that can take a long time to complete. We are using VSTS unit tests. I am interested in running only tests of a certain priority as part of our interval builds throughout the day. I am aware I can set an attribute assigning them a priority, but how can I tell MSTest to only run tests of priority 3 (for example.) Thanks for your help. Hello, Unfortunately you are hitting another issue that we currently have in RTM (and don't have a clear repro for it). That vsmdi file shouldn't get created again. There is a workaround for your issue, and it is in this other thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=513572&SiteID=1 Any information th ...Show All
Visual Studio Team System ViewState Size
Hi guys, Does anyone know a way to add a check to make sure the size of the viewstate does not exceed a certain size for a Web Test I wish to keep the size of my web pages less than 50 KB. Eeven a way to check the final size of a page would be great. hi i have the same problem. i know that i have to create a custom validation rule, but how can i geht the length of VIEWSTATE can everyone post the answere sorry for my bad english david ...Show All
Visual C# Edit a string?
I would like to edit a string but I am having a little bit of trouble doing it. For example: string Mystring = "test\r\n"; I would like the string just to read "test". how can i cut the last 4 chars off Wes Payne wrote: Then Brendan Grant's suggestion is probably the best one. That way, trailing (and leading) whitespace characters, which can lead to unsightly boxes, will always get removed no matter how long the string you want to keep is. Hopefully, that's the worst you have to deal with. If there are other, special characters creeping in and leaving unsightly boxes, then sterner measures would be required. No I am only gathering the data from a stream and then posting it in a listbox control. So th ...Show All
SQL Server The attribute Key Can not be found
Hi all, I am processing a cube with two fact tables, one fact table processes successfully and the other doesnot because the attribute key can not be found. The command error is as below; <Batch xmlns=" http://schemas.microsoft.com/analysisservices/2003/engine "> <Parallel> <Process xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance "> <Object> <DatabaseID>Analysis_Trial</DatabaseID> <CubeID>Patient Care</CubeID> </Object> <Type>ProcessFull</Type> <WriteBackTableCreation>UseExisting</WriteBackTableCreation> </Process> </Parallel> < ...Show All
SQL Server First Letter Capital More Than One Word
Here is my question: Can you set this code up to do more than one word ex: I have names like Mc Donald, or Brook-Smith and the are lower case like the code states upper (left( client . first , 1 ))+ lower (right( client . first , len ( client . first )- 1 )) + ' ' + upper (left( client . last , 1 ))+ lower (right( client . last , len ( client . last )- 1 )) As 'Full Name' Ray, It is similar to a stored procedure, but as a function, you can run it inline with the SELECT statement instead of calling it like a procedure. You execute it to save it to the database (just like a stored procedure). Then you pass the value to the function and the function returns the modified value. You ...Show All
