Jinno's Q&A profile
Visual Studio Team System Need some information regarding "Mark Method as static"
hi, i am implementing a singleton pattern in one of my classes. when another class method is using this singleton class instance then FxCop shows me an error to mark this class as static too as i am accessing a static property. if i mark this method as static then any other method which is calling this method also need to be marked as static as per FxCop. can anybody help me out with this problem. Thanks in advance -Rajesh. Rajesh, That's the expected behavior of FxCop. If a method doesn't touch instance state (fields, methods, events, etc), then FxCop will flag the method. If you post the class that is causing the violation, we could suggest a better way of going about this. Rega ...Show All
Visual Studio 2008 (Pre-release) CustomControl woes
I spent all day trying to get a very simple CustomControl working. All I wanted it to do was to display a Button. To do so, I followed the Case Study by Kevin Moore ( http://winfx.msdn.microsoft.com/library/default.asp url=/library/en-us/wcp_conceptual/html/ecb97ed4-e659-48a4-a1e0-893309569f2f.asp ) wherein he shows how to implement a Color Picker Control. At one point in the study there is the sentence : "For now we will just put in a TextBlock to make sure things are working correctly." ... I did exactly that (not even bothering with a Button). I built a Avalon Application to test the Control ... but lo, the TextBlock was not displayed. To investigate where I might have missed something I downloaded the complete sample and run it. Des ...Show All
SQL Server rsProcessingAborted Error!!
Hello all, I am in a fix here. I run RS2000 on SQLSERVER2000, IIS6. My dev env is VS2003( .net 1.1). About 2 months back I deployed reports to an intranet site. They worked as expected. All of a sudden I get the folowing error: An error has occurred during report processing. (rsProcessingAborted) Get Online Help Cannot create a connection to data source 'XXX'. (rsErrorOpeningConnection) Get Online Help SQL Server does not exist or access denied. The SQLSERVER exists and is up and running. I use SQL authentication which is fine. I can preview the report in dev env, from VS2003 but the server simply does not like. I can ping the SQLSERVER from the reporting server BOX, I created a test DSN as with the sql login ...Show All
Smart Device Development .NET Framework 3.0 and WPF/E on WM 5.0
Is there any info available regarding: .NET Framework 3.0 on WM 5.0 WPF/E for WM 5.0 TIA, geo It’s easy - they do not exist. NETCF 3.5 will be released with next VS, but no details can be provided till official announcement. ...Show All
Visual Studio Team System I can not customize sharepoint portal for any project in team system!
HI all! I created a project in team system, within window of team explore, i click right then choose "Show project portal", now i want to custom the homepage of project portal. I try to add any webpart to the portal. I met this error : Web Parts Maintenance Page: If you have permission, you can use this page to temporarily disable Web Parts or remove personal settings. For more information, contact your site administrator Please help me if you know any solution to solve this issue. thanks you. I'm assigned the administrator role, but i don't change. When I' using Front Page, YES i can change this. Is posible add new workitems (bug, task) for this portal, for ...Show All
.NET Development What's the INI file handling class in the framework?
Hi. Is there a class in the dotNET framework which can handling a INI file easily For example, this class can load a INI file into memory and gets the value of a given key. Very much alike the java.util.Properties class in the Java Class Library. Thanks! There isn't any built-in support. It is easily added though. Like this class for example. You can find loads of other ones. ...Show All
.NET Development Multithreading question
Hello, I have a small program with a form control and two threads. These two threads are identical with only difference is the first one reads the top part of the SQL table, while the other one reads bottom part. Both use the same DLL (that I include using imports statement) and instantiate the same class within their code areas. Now, I want these two threads to use dll and do the work simultaneously. But, they seem to take turns. (I have a counter on the form for both ). I see that when one starts, the other one stops. When the second starts, the first stops. How do I make both run at the same time. They use same table for reading and updating the DB. Thanks in advance, Noorul No they do not. Processes a ...Show All
Visual Studio Team System Do we have install VS2005 compulsorily for using MSSCCI provider
hi, I would like to know if its neccessary to have VS2005 installed to use MSSCCI provider to explore source control operations in Visual studio .net 2003 and VS 6.0. Thanks in advance Regards Sundararajan So, just to expand. You need to install Microsoft Visual Studio 2005 Team Explorer. This is on the Team Foundation Server media. If you don't have Visual Studio 2005 installed on the machine already, then it will install a Visual Studio 2005 shell and install the Team Explorer into it. This will allow you to add / edit work items etc (which you cannot do with the MSSCCI provider alone) Also, Visual Studio 2005 and Visual Studio 2003 happily run side by side. Hope that helps, Martin. ...Show All
SQL Server Hiding measure group
Is there any way to hide a measure group, e.g. factless measure group which doesn't make sense to expose to end users measure group is not an object in browsing model. the measures from all measure groups of a cube are in flat measure collection of the cube. you can made such measures invisible. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Boot Camp + XNA
Anybody tried to run XNA on Bootcamped Mac I tried my schism game out on a bunch of computers it works just fine. However, when I tried it on a Bootcamped Windows XP Mac...The screen rotated 90 degrees...Everything worked right, controlls and such but I could only see half of my screen. A bug with the graphics device, or maybe drivers on the Mac Anybody got any ideas We've heard reports of successful usage of XNA GSE on Macs running WinXP. If you're seeing rendering problems, it's likely a driver issue. However, that hardware configuration hasn't been officially tested. ...Show All
SQL Server Slow SQL 2005 Express
Hi All, I've read a few threads on problems that look similar to my issue, but I can't seem to find a solution. Is there any particular reason a queries should take longer than normal to execute And I don't just mean a couple of seconds... Some times a query can take about 0.01 seconds to execute (which is good) and others it takes 25 seconds to execute (which is bad). This anomaly seems to occur on all websites using the database instance. The only thing I can think of is something to do with the server running as a Windows user as opposed to System. The user (system.mssql) has no special rights except for log on as service, plus all the normal (modify) permissions on the SQL-related directories. If anybody could give me a ...Show All
Visual Studio Express Editions VB 2005 applications to work on Vista?
Hello, will apps made with VB 2005 run on Vista And, will the VB 2005 Compiler (or whatever you call it) work on Vista Thanks yes it will :-) http://msdn.microsoft.com/vstudio/express/support/readme/ I believe the .NET 3.0 framework will be used to run your .NET 2.0 application, since Vista will ship with .NET 3.0 ...Show All
SQL Server SQL Server Installation
Hi, I had been using Windows 2000 Server along with MS SQL Server 2000. But now I have formatted my computer and installed Microsoft Windows Server 2003 for Small Business Server Service Pack 1 . Since then, I am not able to install SQL Server 2000 in it. Please suggest which version of SQL Server should I install, and where to download it from. Is it possible to install SQL Server 2000 server module in Windows 2003, since it says only the client module of SQL Server 2000 can be loaded here. I dont want to install any express edition, i.e., MSDE. Please help. Thanx, Suman. Here is the OS/edition matrix for SQL 2000. I believe that SQL 2000 can be installed on Windows 2003 for SBS Premium (but not standard). Basically, client tools an ...Show All
Visual Studio Team System Will record & playback try to perform in same duration?
Hi, Since the application depends on the server responses, I have this doubt. What if will happen to the execution of tests, if on recording the server response time is fast and on execution, the server is hanging. Kindly clarify if anything like that Or else do I have to change the ThinkTime after the recording for saferside. Kindly suggest. Thanks - Vijay. If there is a maximum amount of time a request can take that you would consider anything greater than a failure you can use the Max Request Time validation rule for that. Otherwise there shouldn't be a problem. The playback is not timing based, it will issue each of your top level requests one at a time until it completes. It won't start your 2n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Move a point by sin
I'm wanting to move a point up and down smoothly. One of my friends suggested that I move it using sin but I haven't a clue how to do this. My maths is a little rusty. Can anyone help Hello, I had a look to your explaination and I don't understand it (maybe because I'm not englsih native speaker), can't we just calculate this equation in his case : y = 15 * sinx + 20. Maybe it is just the same thing you done^^ Thx ...Show All
