nbot's Q&A profile
Visual Studio Unable To Debug
I have several projects that I used to be able to debug/run. Now when I try running/debugging, it states in the status bar that it is, "Ready", "Building", and then back to design mode. I can not get it to run. What is going on Thank you. Thank god I'm not the only one with this problem. I've been trying to get VB 2005 Express to properly run on three different machines with three different operating systems for more than three weeks. Even when I just started a new project with one form and no objects, a click on the run icon would simply return me right back into the editing window with no errors. I, too, use a Kensington trackball and have the software loaded on all thr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA shader parameters from 3d studio
Hi! I'm currently using 3D Studio Max to create scenes, then export them into .x file format and then import with a standard content pipeline. What I miss is that after the content pipeline processes my scenes I can't find the shader's parameter values I've set up in 3D Studio Max. Is there a way to overcome this problem Any help appreciated, Pawel Jarzebski Kyle, Thanks for your answer - what you tell is exactly true but I must have not been clear enough with my question, sorry about this. In environment like 3D Studio Max you can set parameters to some values and then natural would be something like: MyModel.Meshes[0].MeshParts[0].Effect.Parameters["GlowStrenght"].SetValue(0. ...Show All
SQL Server Lock and unlock the table
Hi, How would I lock a table so that the access calls from other applications are put in "wait" by sql server till I unlock How would I do this Thanks, Fahad Tom Phillips wrote: MS SQL, and most "server" based databases, don't do that unless they absoulutely need too, and it is done by the engine, not the user. What is it you are trying to do and why If you just want to make sure someone doesn't read partially updated data, use a transaction. I need a synchronization between two processes which are accessing a table, both are initiated with a second of difference, one prepares data for other and other consumes it. I want 2nd one to wait till 1st one is done. I dont wanna spend hours to do mutexes an ...Show All
Visual Studio Tools for Office how to use ribbon control(Office 12) with C#/XAML on June CTP of WinFX
I am looking to incorporate ribbon control in our future application based on WPF, WCF and would like to build on ribbon control. Is there any documentation how to incorporate that. Atul Bahl Do you mean you want to use the Ribbon in a VSTO solution or VSTO Add-in for an Office application Or are you asking how to create a Ribbon in your own, non-Office application If it's the latter, then this is not possible. the Ribbon technology is only available to Office applications. ...Show All
Visual Studio Team System "TF53010: An unexpected condition has occurred in a Team Foundation component." during warehouse processing.
Hi all, Since last friday the warehouse will not longer process and as result of that most of the reports are frozen or show data that is out of date. In the eventlog there are always 2 error messages on the time the warehouse should be processed: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. ... Detailed Message: Create OLAP failed Exception Message: The following system error occurred: No mapping between account names and security IDs was done. . (type OperationException) followed by: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should ...Show All
Software Development for Windows Vista how to pass data between two activites
Hi, I am new to WF. In my workflow scenario, there are more than one activity. I want to pass data from one activity to next activity. Is it possible in WF If so, could you please tell me the way to pass data between two activities. Thanks & Regards, Chakri. Kavitha, I am unable to download that sample. The chapter you specified is more on activity execution not about passing data between two activites. ...Show All
Visual Studio Can I edit localy and upload changed version when doing check in
I don't know if SourceSafe can do this, but how can I create a SourceSafe project that targets a project (web or win forms) stored on a server, so when the developer will be working on this project, he will get the latest version (download files to his computer), check out some files to block update on the server files that he is making changes, compile and run locally, and after testing he will check in and automatically upload files back to the server. Can SourceSafe or any source control software do this If no, what is the best way to work on a team environment where a project is stored on a server and everybody needs to have the working builds and debug from its own machine without compiling code that is still in development by othe ...Show All
SQL Server Sliced [Customer].[Location Tree].[All] is not matching the sum of sliced members
This only seems to occur in one area, and unfortunately (or fortunately, meaning it's not a bug) I cannot get anything in adventure works to display the problem. In my cube, if I look at [Customer].[Location Tree].[All], but also say where Customer.[Organization Type].&[School], the sales value of [all] is presenting itself like the organization type slicing wasn't even used. ie: (the total sales from this query is correct in my mind) select [sales] on 0, Customer.Territory. AllMembers on 1 from cube where Customer.[Organization Type].&[School] but the all value out of this query is truly "All".. it doesn't seem to make use of the filtering: select [sales] on 0, [Customer].[Location Tree].[A ...Show All
Windows Forms Why don't my Usercontrols show up in Toolbox of multi project sln?
I am writing a multi-project, multi-namespace solution. And all of my Usercontrols don't appear in the VS Toolbox. The controls are public. The projects are included in my references. The form even uses the other namespaces. However, my controls are not on the toolbox. I have also noticed that my toolbox icons are funky. The icons in the "All windows forms" are all the same. But I am more concerned about using my controls. I only bring this up because it might be a symptom... If I select the show all option on the toolbox, I can see the controls listed, but they are disabled. I have been adding the controls by manually editing the form's code, but this is a real pain! Thanks for any help. Bob ...Show All
Visual C++ Asynchronous Sockets in C++?
Hello, I want to use asynchronous sockets in pure C++. Is there anyone to tell me how to do it or at least show me a basic example The external libraries are appreciated too. Thanks... Winsock definitely http://msdn2.microsoft.com/en-us/library/ms741394.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Performance issue about UpdateSurface
Hi all, I'm doing a pretty simple thing but I have too much more CPU load than I expected. Now, what am I doing I need to update a texture from CPU (and draw it) very often (may be about every frame). To do so I create a texture in D3DPOOL_SYSTEMMEM and one in D3DPOOL_DEFAULT (so the first should be in system-memory, while the latter should be in video-memory). I lock the first texture, fill it, unlock it and call UpdateSurface to copy the content into the video-memory texture. Then I use this latter texture to render. (In fact I have two swapping video-mem textures, but for this issue it doesn't matter) Doing so I noticed a quite heavy CPU load on the Present() call. Using a 16MByte text ...Show All
.NET Development How to control XML serialization of object properties?
How does XmlSerializer convert primitive types to string representation and back How can I substitute my own formatter/parser E.g., I want to serialize a Double property of my object such that its string representation would include only two decimal places. How can I do that MSDN documentation is not clear about this. Thanks! Just make the class inherit from: System.Xml.Serialization. IXmlSerializable ...Show All
SQL Server Don't Understand
I am having a problem reinstall SQL Express 2005. I had it installed, but then I unistalled it. I have tried installing it again, but everytime I do it says that the product is already installed. There is no instance of it in my Add/Remove Programs. I have read the threads that relate to this topic, but they haven't helped. I have looked at my logs of the installs, but they don't make sense neither. I just want the program installed again, or a way to get it so that I can use it. When I try to manually uninstall using msiexec.exe /x <processid> I get an error saying that the package could not be opened. This happens with all the process ids I use that I get from the log files (I have ...Show All
SQL Server What is the account that the SQL Server is running under?
Hello, I need to allow SQL server 2005 to open a file in a shared directory. Any assistance or help will be greatly appreciated! Thank you very much, Sung. It helped me a lot. I understand that if grant right on the shared folder to "Everyone", it will work. But I condiser that approach as lazy and try to find the right way. ...Show All
SQL Server SqlBackUp() vs Volume Shadow Copy Service
Does the SMO SqlBackup() internally use the Windows Volume Shadow Copy Service or are the two different If they are not connected, which one is advisable for use in programming a backup application Good suggestion! Yes, I can do that, but I want to know how it compares with the SMO.SqlBackUp() method for taking the backup. As Glenn has mentioned, does it cause a data-loss What are the benefits/minuses of each method When SQL Server 2005 is expected to run on systems with Windows operating systems, which will have the Volume Shadow Copy Service, why has Microsoft taken the trouble to equip SQL Server 2005 with its own backup measure Surely, the two methods must stand out in some way; that's the point ...Show All
