John12's Q&A profile
Visual Studio Team System Prevent overriding checkin policy?
Is there a way to disable allowing the user to do this Perhaps via a security permission Otherwise what good is the policy Thanks You're right, we'd have to move policy evaluation to the server. That would limit a lot of the UI interaction that's possible with today's framework, but has some advantages: in addition to adding security, it opens the possibility to things like keyword expansion. To be honest, though, customer demand for these features has been low. Feel free to open a feature request on Connect so that people can vote. ...Show All
Visual Studio Express Editions Application distribution file with SQL Server 2005 Exp db
Hi Im new to VB .NET 2005 Exp and SQL Server 2005 Exp. I want to know what are the components required to distribute when deploying a VB 2005 Exp application that connects to a SQL Server 2005 Exp database. In VB6 and SQL Server 7, there was this Jet Database Engine that was used to connect to a SQL Server 7 database. Hows it for .NET 2005 Exp Totally dependent on the .NET 2.0 fx alone or need to check for an existing component on the user's PC Thanx anjanesh, When you install VB Exp and SQL Server 2005 Exp application, please connect to the database with Database Explore in VB Exp. In View menu, you can see the Database Explore, just open it and connect to the database by the connection wizard. Actually, there is an instance ...Show All
Visual Studio Capturing "Load Report Failed" details
Hello, I have a set of Crystal Reports displayed in .Net 2.0 WinForms. I've had numerous reports run with relatively little difficulty across numerous machines. However, I now have two reports that get a "Load Report Failed" error on PCs other than my development box. I verified that the Crystal versions match, file permissions are correct, etc..., but I'm unable to debug it. So is there actually a way to determine what the error is Does Crystal log these errors anywhere Is it possible through some round-about means in code to capture the error I have this same exact problem and after 2 days of searching I am still nowhere... I have confimed that this must be a bug in the Crystal ...Show All
Architecture VisioR 2003 UML To XMI Export
Has anyone been able to import the xmi export file this tool generates into any other tool I have tried pulling Visio Use case diagrams into XDE, Sparx 4.1, and now Sparx 6.0 with zero luck. Are there any plans to upgrade this add-in to export xmi 1.1, 1.2, etc The 1.0 version it exports is not support with the rest of the tools (XDE and Sparx) on the market I am currently using. Hi everyone! Is it possible to export use case diagrams too I try to modify the sample code but is quite complex to find a solution. ...Show All
SharePoint Products and Technologies MOSS2007 - Usage reports has stopped
Hi, I've encountered a problem regarding the MOSS2007 usage reporting. The reporting is setup both in Central Administration and in the SSP. It has worked and displayed the data correct until the end of the last month, now it displays 0 on all coulmn data. Any ideas why There is no errors whats so ever in the Sharepoint log which I can relate to the usage reporting. If I go to the page /_layouts/SPUsageSite.aspx directly, then I can see the usage data until today. But when I use Sharepoint Designer to display Usage Summary reports then the reporting stops last month!! Regards Daniel ...Show All
Visual Basic Accessing registry using VB2005
Hi, I want to search for the installed software via registry. I don't know what should be exact path where i can locate the installed software in registry or what will be the keys which will help me to search all the installed software on the specific system. Please help me out. thanks. That really helped but made me confuse as well. I want to extract Software Name Software Manufacturer and both "userdata" and "uninstall" don't have a specific pattern from where i can extract it. instead HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppPath gives good info. What you suggest My requirment is to get SoftwareName, SoftwareManufacturer as well. ...Show All
SQL Server Aggregation dependent on dimension attribute
Hi, I have little tricky situation here and I'll try to describe it as accurately as possible... Using Analysis Services 2005, I need to provide a measure in which the aggregation is basically a sum, but sometimes based on a maximum within a dimension member. Here's the situation: Table: Event Available fields: Event Group, Date, Attendance Attendance is the measure and Event Group and Date (Time) are dimensions. Time has a Year - Month - Day hierarchy. Event Groups have an attribute "Same Attendance" that signifies that the same people attended all events in that Event Group. Example: Event Group: "VB.Net Course" - Same Attendance = true Related Events: Nov 10, 2006 - Attendance = 12 Nov 20, 2006 - A ...Show All
Visual C# Sample code problem: creating threads
I found some example code in a web page titled “How to create a thread by using Visual C#” and located here: http://support.microsoft.com/default.aspx scid=kb%3Ben-us%3B815804 The instructions in this tutorial are easy to follow and I think I followed them correctly. It took maybe 3 minutes. When I try to run the new project, it pops up the form, then a few seconds later a window titled “InvalidOperatorException was unhandled.” The Window has an option to “Copy exception detail to the clipboard” so I did that and pasted the data in below. The line of code highlighted is: this .progressBar1.Value = newval; I did it twice and obtained exactly the same results. Did I make an error Has anyone ...Show All
SQL Server Setting SQL server Express maximum memory usage
Hi All, How can we set the maximum memory usage for SQL server Express I have tried setting it in Microsoft SQL Server Management Studio Express - Memory option, but it didn't have any effect.A problem I'm facing now is that the sqlservr memory usage keeps increasing and eventually slows down my application. Is there a way to set the upper limit or clear the unused memory Thank you. Regards, Lawrence When my application is closed, i do notice that the working set counter of sql main process(sqlservr) is dropping, but the instance process (sqlservr spanned from the main process) is still retained high in memory usage, possibly near to 1GB. This certainly is going to have a big impact on us because thi ...Show All
Visual C++ Problem mixing managed and unmanaged code
Hi! When I try to mix managed and unmanaged code I get: Error 1 error C3862: 'UnmanagedTest::UnManagedFunc': cannot compile an unmanaged function with /clr:pure or /clr:safe c:\users\matt\documents\visual studio 2005\projects\unmanagedtest\unmanagedtest\Form1.h 81 Heres the code: ....... #pragma unmanaged void UnManagedFunc(){ } #pragma managed ..... " "Mateusz Rajca"@discussions.microsoft.com " < "= UTF-8 B TWF0ZXVzeiBSYWpjYQ== ="@discussions.microsoft.com > wrote in message news:454b374c-1d57-46d0-9170-60d8960d8c9e@discussions.microsoft.com ... Hi! When I try to mix managed and unmanaged code I get: Error 1 error C3862: ...Show All
SQL Server Query for 4 weeks average ..Need help
i have 3 tables, each with a date(it has daily dates) column(column name is same in all tables) Each table has columns say "value1","value2", "value3" i want data from all these tables together.such that my first column will have data weeks and other 3 columns count1,count2,count3 will have average of next 4 weeks count..placed infront of week. weeks count(value1) count(value2) count(value3 ) 1/1/2005 101 88 221 1/8/2005 100 81 151 1/15/2005 87 96 301 Average calculations Here : week 1 2 3 4 Count1: 101 = ( 99 + 105 + 110 + 87 )/4 100 = (105 + 110 + 87 + 98 )/4 Plz lemme know if u have any suggestions.. I am so so ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C# Marble Blast Ultra Source?
I noticed in one of the XNA blog posts, that GarageGames had ported their Torque shader engine and Marble Blast Ultra to managed code/C#. Is this source likely to ship with XNA Studio Express (or possibly people with the "creators club" membership), or did they just do it to show off It'd make a pretty cool starting app for people to look at and see how it should be done!(and they have done it with MechCommander2). They ported MBU lock stock and barrel, to prove that Torque X was viable for writing games on 360. The source code is not publicly available and isn't ever likely to be. GarageGames make revenue from MBU after all. The example was basically to show the comunity that they can make su ...Show All
SQL Server Set filter to date Now()
I want to set a filter to calculate the date range to be 1 year ago to last month. Is this possible ps. Im working with a AS cube. It's possible. Just create your mdx uniquename value off of the now function ie "[" & Year(Now) & Month(Now) & "]".... but what if the current date is in Jan ...Show All
Software Development for Windows Vista Application Opens By Itelf Fine, But When Opened With Process it fails to load components
Hey Guys I am trying to find out why this happens. If I try to open an application written in vb6(yah I know) under vista using a .net component using Process.Start it fails to load some components properly. But When I open it from explorer it opens up just fine and does what it is supposed to do. Any reason/explaination of why this may happen. Using Windows Vista Enterprise Edition. I am thinking it has something todo with security but honestly I don't know. Thanks for any help offered. What version of .NET are you using It appears there are some issues using 1.0 and 1.1 related to ActiveX objects. See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1039273&SiteID=1 ...Show All
SQL Server How to find filegroups for a given Table and Table's indexes
Hi I am using SQL Server 2005 Developer Edition. I want a list of the following things from the database: - Table Name , FileGroup Table resides on Table Name, Index Name, FileGroup index resides on To put it simply, consider the following example:- Lets say I have a table XYZ in my database created on Filegroup F1. It has a PK PK1 nonclustered index on Filegroup F2. List1 ------- XYZ F1 List2 --------- XYZ PK1 F2 Please do not tell me of sp_help <table> option Regards Imtiaz For the ...Show All
