TFCNE's Q&A profile
SQL Server Share calculated members between cubes
Other than copying and pasting the text from the script view, is there any way to share calculated members between cubes I have two cubes that have some common facts, and would like to be able to point both at the same script for calculated members, so that any changes only have to be made in one place. Thanks, Sam It is bit strange. You should be able to use perspectives to hide measures you dont need. In Analysis Services 2005 you should try and consolidate your cubes into the single one, it simplifies modeling, simplifies management. Provides a single source of data for client applications. Edward. -- This posting is provided "AS IS" with no warranties, and confers no right ...Show All
Visual Studio Tools for Office ThisApplication_Startup not being called - ie. plugin not loading
I have written an outlook plugin using VSTO. The plugin loads fine and works great if the user clicks on the outlook icon. On the other hand, if outlook is started via automation and then outlook is opened, the plugin does not load. These cases are described below. When the user signs on to windows xp with activesync set to run on startup. ActiveSync syncs with outlook by starting it through, AFAIK, automation. Now when the user opens Outlook by clicking on the outlook icon, the plugin is not loaded. Another example is when the user has Outlook closed and they click on an oft file on their desktop, and then open Outlook, the plugin is not loaded. Please advise. Thanks. ...Show All
Visual C# Web method accessing local odbc
I wrote a simple web application that has only one web method that accesses the local odbc on the server. When I call the web method from a client application, I keep on getting the following error: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified The odbc connection on the server works fine, and the dsn I put in the code is correct. I guess it has something to do with the environment, but I don't know how it can be fixed. Does anyone have any idea Thanks! I assume your DSN is a System DSN and not a User DSN, yes Is the database driver associated with your DSN an Oracle driver I've found that the ASPNET user generally doesn't have access ...Show All
Software Development for Windows Vista How to create a State Machine WorkFlow
I'm trying to build up a State Machine WorkFlow with Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 1.2 I just built the state but I can't connect one event to another, I need some to show me step by step how to create a workflow from Zero, I spent few hours still not figuring out how connect one event to other, Community of WorkFlow foundation this is making me crazy, I need some help thanks e-mail ibm777p2@yahoo.com Vincent - First things first - Can you upgrade to the RTM version. You can get the RTM version from - http://www.microsoft.com/downloads/details.aspx FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en Lets try to create a State Machine WF. Open a State ...Show All
Visual C# How do you modify windows form control's properties from other classes?
I am trying to make it so when a button is clicked the text on that button will change to something else using a method from a different class. I can't quite get it. This is what I have so far: using System; using System.Windows.Forms; public class Form1 : Form { public Button button1; // Windows Form Designer generated code here... } private void button1_Click(object sender, EventArgs e) { // I want the method to be called here } And here is the class that I want the method in: using System; using System.Windows.Forms; public class Change { public void ChangeText() { // How would I be able to modify the button and its properties } } Can someone please help me with this Thanks. T ...Show All
Visual Studio The data source object is invalid
Hi, I'm getting this exception when trying to use .SetDataSource() on the report. How can I track this down Thanks, Mike Edit: The only reference I saw to this is when using 95/98/ME platforms and a Classic ADO RecordSet. This is not the case, as I'm using XP Pro sp2 and a business object. Well, this is pretty interesting. It looks like there are four .SetDataSource methods - you can either pass it a DataSet, DataTable, IDataReader or IEnumerable. My object I'm attempting to pass doesn't derive from any of these types, and yet it still compiles. The following code produces "false" for all four Debug statements, and throws the data source object is invalid on the last line. ...Show All
Visual Studio 2008 (Pre-release) Can I use WCF in .NET 2.0 or does it need some extra library
Hi, This is probably a dumb question but I need to know the absolute correct answer. I want to design a service for an organisation who is thinking about using .NET 2.0. Enterprise Edition for the developement They do not intend to go to .NET 3.0 in near future. I wanted to ask whether WCF is support in .NET 2.0 Enterprise Edition without having to download any classes and libraries I have got two conflicting answers uptill now. One is yes you can use WCF in .NET 2.0 Other answer is you can use WCF in .NET 2.0 but you will need to download extra classes and libraries Thanks in advance Swati Hi Swati .Net 2.0 is the runtime. So I am assuming when you say .Net 2.0 E ...Show All
Software Development for Windows Vista Reset Validation Error
How do I programmatically reset the red error dots in my rehosted designer. I have some code that updates a dependency property to conform with the activity validation upon it. This all works well, only the red error dot doesn't vanish even though it is resolved. If I drop another activity onto the designer, or move activities them about etc, it will then remove the dot. Is there some kind of validate method that I can call that will recheck my validation after I have updated the property I have even tried calling the validator manually like so. foreach (System.Workflow.ComponentModel.Compiler. Validator validator1 in manager1.GetValidators(activity.GetType())) { validator1.Validate(manager1, activity); } This r ...Show All
Visual Studio Team System Access Denied :User domain\name needs the UseSystem global permission(s)
Hi, When i am connecting to VSTS i am getting this error Error Access Denied :User domain\username needs the UseSystem global permission(s). can you tell me how to solve it... very urgent... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Linking Pixel shaders via ID3DXFragmentLinker
Question for the Black belts out there: I am writing a material editor application where i would like to let the user select different pre-written pixel and vertex fragments to work with to create a combined "effect". The interface finds all of the constants and displays the allowing the user to change things like material diffuse, specular power etc. I am familiar with how to use the fragment linker but I think i am missing something conceptually whenusing with with pixel fragments. In the dx samples they make it look like the fragment linker may be used to cascade outputs of fragments, i.e. linking a fragment for diffuse or ambient lighting followed by fragment for animation or not (as per the samples) How can i do this with pi ...Show All
Visual Studio Tools for Office ThisDocument.Close raise an unhandeled exception "this method or property is not available ..... another application"
Hii all, I really appreciate any help or suggestion guys ... i am just facing a really hard time with this one. I opened a VSTO document from internet browser ... something like this URL :http://testSRV/WordDocument1/WordDocument1.doc the server (testSRV) is on another machine and so does the document (there is no local copy ). I implemented a close button in the actionPane that is supposed to close the Word Document using the method Globals.ThisDocument.Close() however, when the user click on the button the following error appear (This method or property is not available because this doucmetn is in another application ) Exception Text:- System.Runtime.interopServices.COMException(0x800A11FD) at micr ...Show All
Visual Basic Update the ComboBox at runtime???
Hi I have tried to update my combobox with no luck. I add records to the table, the combobox has as Datasource, but I don't know how to update the combobox. I have tried updata the OleDBAdapter and the DataSet and set the datasource to that dataset, but nothing happens. I can see in the database that I've added a new record to the table, but nothing happens to the combobox when I update it. Does anyone know how to solve this. I also don't know how to clear the ComboBox, I know that when I wan't to clear the DataGrid I use the code SetDataBinding(Nothing,Nothing). How do I clear a ComboBox Please Help me! Fia I don't know if it's the best sollution for your application, but it works.. Call t ...Show All
Software Development for Windows Vista blue tooth in vista
hi i need detailed documentation for blue tooth technology in windows vista,where can in get the documentaion for this,refer any sites or books ...Show All
.NET Development Skip a line of text
Hi. I've written code (C# console app) that parses a text file for a particular sequence of characters (an "8" followed by a two-digit string): String line; do { line = sr.ReadLine(); if (line.StartsWith( "8" )) { // match the load transaction code at the header transaction block Regex loadTransactionCode = new Regex ( @"( <=\s)\d{2}( =\s)" ); Console .WriteLine( Regex .Match(line, loadTransactionCode.ToString())); // this is where I want to jump to the next line and start the database copy... } } I need to take the text that comes on the next line(s) and copy them into a database. How do I skip to the next line once I've found my pattern (an &quo ...Show All
Visual Studio 2008 (Pre-release) InnerProxy in RC
Can someone tell me what replaces the InnerProxy property on the DuplexClientBase class in the new WCF RC install Playing with some sample code, i had : base .InnerProxy.Say(message); but InnerProxy is gone and lines such as .. (( IHelloMesh ) base .InnerDuplexChannel).Say(message); do not work. thanks, Steven http://stevenR2.com I read in another thread that InnerProxy has been replace with Channel, and that seems to work.. But thank you for replying. ...Show All
