TobsTec's Q&A profile
SQL Server Using Except function without aggregation (ssas 2005)
Hello, I recently got help in getting the except function to work... Here is the solution provided by Deepak. (The requirement is to calcuate active head count of employees excluding two departments) SUM( Except([dimensionEmployee].[Employee Department].[All].Children, { [dimensionEmployee].[Employee Department].&[Services], [dimensionEmployee].[Employee Department].&[Leadership] }), [Measures].[Active Employee Head Count]) Now, how do I get the except function to work "without" the aggregation Any help is greatly appreciated.. Thanks, Ganesh Hello Deepak, I am trying to provide break down numbers on head count by department (excluding the two departments).. The sum function (y ...Show All
Visual Studio 2008 (Pre-release) Bug? ZIndex change and an unrelated animation with an AccelerationRatio causes flicker (June CTP)
This example is a window with a canvas that holds 2 child canvases. One child canvas has rectangles and a button to change ZIndex, the other child canvas has an ellispe with an animation with an AccelerationRatio and DecelerationRatio. When the button is clicked to change ZIndex there is horrible flickering but if you comment out the AccelerationRatio in the animation it goes away. I don't have a clue how they are connected. < Window xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " x:Class = " TestFlicker.Window1 " Title = " TestFlicker " Height = " 300 " Width = " 300 " & ...Show All
Visual Studio 2008 (Pre-release) Timeout in call context
Hi, Is it possible to set a timeout for a method call My default timeout is 10min, but for a specifiq method call I want to set to 1min...Does anybody know if is possible and how Regards, Alexnaldo Santos Short answer is probably to set the SendTimeout on the binding, but see this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=876841&SiteID=1 for more details on timeouts. ...Show All
Visual C++ I am sorry to ask a question about 16 bit vc++ compiler
I know Microsoft is not supporting 16 bit version of vc++. But I have a problem which I need to escalate any way. My question is Is it possible to install vc++ 1.52 (16bit compiler) in a 32bit operating system(Windows XP) and compile or build programs I would appriciate if anybody can extend some help to me. Once again I am sorry to ask question on a non supported compiler You can still use the 16-bit VC compiler on 32-bit versions of Windows. Cheers, Kenny Kerr http://weblogs.asp.net/kennykerr/ ...Show All
Visual C++ Can't get debugger to work properly!
I'm using Visual Studio 2005 Standard, and my C++ console program crashes unexpectedly so I am trying to use the debugger to find out the source of the problem. I set up a breakpoint, start debugging, and it breaks, but when I press F10 to step over, I get a message saying "No symbols are loaded for any call stack frame. The source code cannot be displayed." Then it gives me an option to see the disassembly code instead . It doesn't matter where I set the breakpoint, I always get this error message. Here's the output I get from the Visual Studio console: 'MIPS Assembler.exe': Loaded 'C:\Documents and Settings\Compaq\My Documents\Visual Studio 2005\Projects\MIPS Assembler\debug\MIPS Assembler.exe', Binary was not built with ...Show All
Visual Studio Team System Server name in Changeset.aspx
I changed the name of my TFS server in all sorts of places, but there is one left which I can't figure out. When I get an alert email that something new was checked in, I get an email with a link to the changeset. It ends with /VersionControl/Changeset.aspx artifactMoniker=16&webView=true. In there is a reference to a XSL stylesheet, but that reference is using the old, original server name. How can I update that one as well Thanks, David Excellent and thanks! Any chance to see this fixed in SP1 This looks like a problem for extranet scenarios, which are one of the things that should work with SP1, right Best, David ...Show All
.NET Development Resource files and satellite assemblies ...
Hi I'm attempting to deploy a solution where a resource file of strings can be modified at runtime. From what I gather from the documentation I need to provide a satellite assembly (which has the string resource file) alongside the main assembly. The main assembly has the string resource file embedded within it so it can act as the default. It appears from the info I have that when I deploy the satellite assembly with a different set of string values these can be used by the application instead of those embedded within. Unfortunately when testing this it does not appear to work. Key aspects of the solution is as follows: In the main assembly I have defined <Assembly: NeutralResourcesLanguageAttribute( "en" , Ultima ...Show All
Visual Basic How can I change the Root Namespace for a Web application?
Hello and Thank you for your support. Where can I change things such as ==> "Root Namespace" within the project properties of a Web Application, the way I can do this within a Windows application. (in a windows application, I select project properties, then click the "Application tab" then change the Root Namespace there. Where can I do this same thing within a Web App Thanks Donna ...Show All
Visual Studio Tools for Office vsto - .Net framework 2 security - publisher certificate as avidance
Hello, I cannot find the way to implement certificate as security for my vsto word application. how can i do that references thanks Hilla Hello, Unfortunately Vsto doesn't support true click-once behaviour. Vsto uses a deployment scheme that is very similar to click-once but it requires that all trust decisions be made via caspol policies. Some very good articles on how to deploy Vsto solutions can be found at http://msdn2.microsoft.com/en-us/library/hesc2788.aspx . Thanks Kris Makey ...Show All
Windows Forms Unhandled Exception in NumericUpDown Event Handler
The NumericUpDown control throws a NullReferenceException if Application.DoEvents() is called in the ValueChanged event with some additional processing and the up or down button is pressed rapidly. The exception can also occur if the event handler takes a while to return. To reproduce, add an event handler for the ValueChanged event on a NumericUpDown and insert the following code into the event handler: for(int i = 0; i < 10; i++) { Application.DoEvents(); Thread.Sleep(50); } Run the project and hold the up or down arrow for a few seconds. The following exception occurs: System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.UpDownBase.UpDownButtons.TimerHandler(Object source, ...Show All
Visual Basic How to Include the .Net SDK in my VB Application.
Hi Guys, I am facing a problem while trying to create interface between Nortel TAPI Server and my VB Application. Can Anyone guide me how to create the interface, i have the SDK(.NET) provided by NORTEL. Thanks in Advance guys, I'm not familiar with the Nortel API, however...you must first create a project level reference to the correct DLL or create the proper Pinvoke statement prior to using any outside API's...since this is a .NET API you should be able to make a project reference...once the reference is made you should be able to access the classes and methods through the proper namespace ...ie Nortel.TAPI.TheMethod ...Show All
SQL Server file corrupted message on query of restored db
The analysis services database is operational on original server where it was processed. I backed it up and restored backup on another machine, and it fails to display data with message like this: The query could not be processed: o File system error: The following file is corrupted: Physical file: \\ \F:\MSOLAPDATA\mycube.24.db\cubedev.119.cub\datafacts19.172.det\cubedev.67.prt.fact.data. Logical file . I tried the backup 2 times - both in compressed mode. When uncompressed the database takes up 70GB. can anyone suggest what might be the reason for this The datbase works fine when I query it on the original server. Both machines have the same version of SQL 2005 - SP2 Dec CTP. Ran the file comparisons. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Grr, my game wont play, WTF!!!
its coded right, but ist says this, for game.run(); "Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater." what the hell does that mean, and what do i do about it Cho-Hakkai wrote: NVIDI RIVA TNT2 Model64 if this is to low, can i get a driver for it, to work, or make the game run on a lower level, lowering the game graphics would probably work best, if it is possible at all, i just want it do SOMETHING, ya know You have the graphics card equivalent of a horse and buggy. Visit ebay and get a ATI Radeon 9600 of Nvidia FX5600. They can be had for about $30-50 now. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. all in one shader = better performance?
Again a question from an unexperienced user who wants maximum performance ;) I draw really a huge number of vertices and started with a simple position/normal/color vertex declaration, which worked fine. It allowed me to draw anything in just very few indexed vertices batch calls (about 20) Now I want to use some textures, too, to give the whole scene more life.I was looking at some of the normal approaches: you pass the texture to the shader and draw all vertices using this texture, switch the texture and or effect and draw the next batch, the vertex declaration would change to a position/normal/texture/(probably)color combination. As far as I can tell, if I would use 20 textures, this would in the worst case increase the number of ...Show All
SQL Server INSERT command question
I am working from C# VS2005 environment. My databases are in SQLEXPRESS. All tables have a unique Primary Key field. The key is just one field of int value that has seed 1 and autoIncrement 1. My question concerns a Stored Procedure that I just created. If "executed" fine. I did not get any compillation errors My question is: if I called this procedure from C# code with paramaters I specified will it create a NEW record for me which is my intent I did not specify the Primary Key field value: it is not among parameters. I hope that when the first record is created it will be seeded with value = 1 and the subsequent records will be autoincremented by 1 each time. Am I right If not then how shall I specify the Primary Key val ...Show All
