breade98's Q&A profile
SQL Server Currency formatting: how to change to use another locale... or is US format hard coded?
How to I change the formatting of my currency based members according to the actual currency that they are defined in rather than the default US format (in my case GBP). FYI: Direct link to answer: http://sqljunkies.com/WebLog/mosha/archive/2005/10/13/mdx_format_currency.aspx Am I right in thinking that I should create a Script Command in the Calculuations tab to set the appropriate languages for my measures eg: Language ([Measures].[GBPEQUIV-SENSITIVIES]) = 2057; Language ([Measures].[GBPEQUIV-STRESS]) = 2057; BTW: I also changed the server locale to English-UK to get a default setting. ...Show All
.NET Development Error : VFPOLEDB1.0 is not registered on the local Machine
Hi all, Iam getting an error message "VFP OLEDB PROVIDER 1.0 is not registered on the local machine" when iam accessing the foxpro table from .net.It works fine on the local PCs and in the network..but whn iam accessing it thru the terminal services client..this error comes up..can anyone help ...Show All
Windows Forms Map Winforms Coordinates with Crystal Report Form Coordinates
Hi, In a winform i'm drawing a rectangle, i'll get the X-axis, Y-axis, Height & Width Coordinates. After that i'm creating a dynamical crystal report. In that i'm passing the coordinates & some text to print in the crystal report. But the Winforms Coordinates are not matching with Crystal Report cooordinates. How to match both forms coordinates Anybody help me. Note: i am using VS2003. Thanks, Ravy ...Show All
Commerce Server Server Error in '/OrdersWebService' Application.
Hi, I've had this error on 2 separate sites (CsharpSite and StarterSite). Am really struggling to resolve it. Looks like the AllowedStatusTable is expecting data but doesn't have any. I've found another post on the forum for the same problem http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1083101&SiteID=1 but he didn't get an answer. I'm sure we'd both appreciate some help. Thanks very much. Server Error in '/OrdersWebService' Application. The specified value for the newOrderStatus attribute is not valid. The value provided was: 'NewOrder'. Please make sure an entry for this value exists in the AllowedStatus table in the transaction config database. Description: An unhandled exception occurred during the execution of the c ...Show All
Visual Basic A header/detail question
I think this is a classic scenario in system development and want to learn something out of it since I am completely noob here.Here's the scenario: ExamHeader DeptID Name autonumber Text ExamDetail DeptID ExamID Name Description Price Text Text Text Number I had two tables(ExamHeader,ExamDetail) on my access database.ExamHeader had columns DeptID and Name while ExamDetail had DeptID,ExamID,Name,Description and Price.What I want to achieve is when I add an exam(ExamDetail-Name) this exam would be belong on the department(DeptID) it should be.What would be the columntype of my DeptID in ExamDetail and do I need to create a query to accomplish this one Hope you ...Show All
SQL Server How do I calculate needed hardware for SQL Server 2005?
Where can I find info about the neccesary hardware for a specific SQL Server 2005 implementation I know the amount of data and the number of concurrent users and the method for accessing the database from the client (ODBC with connect at client sign on and disconnect at sign out...). I need to come up with a suitable configuration for the server hardware. TIA Claes I have personally found this ( http://searchsqlserver.techtarget.com/generic/0,295582,sid87_gci1157390,00.html ) article to be quite useful when I have been in your position. ...Show All
Visual Studio VS2005 intallation fails - MSXML 6.0 Parser "Fatal error during installation."
I am trying to install VS2005 Beta 2 on an XP Pro SP2 box. Nothing was intalled on this box before (no Framework, no VS). VS2005 setup has only installed succeffully .NET 2.0 Beta 2 framework. The next component it tries to install is MSXML 6.0 Parser. And this is where it chokes. The log shows the following: [06/02/05,16:41:01] MSXML 6.0 Parser: [2] Error code 1603 for this component means "Fatal error during installation. " [06/02/05,16:41:01] MSXML 6.0 Parser: [2] Setup Failed on component MSXML 6.0 Parser [06/02/05,16:41:05] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293. [06/02/05,16:41:05] setup.exe: [2] Component error string not specif ...Show All
Visual Studio 2008 (Pre-release) Using IList as DataMember type cause "System.ServiceModel.CommunicationException"
For some reason, I can only use IList instead of IList<T> as a collection DataMember in a DataContract. Here is the sample code snippets. [ DataContract ] [KnownType(typeof(Child[]))] public class Parent { private string _name; [ DataMember ] public string Name { get { return _name; } set { _name = value; } } private IList _children; [ DataMember ] public IList Children { get { return _children; } set { _children = value; } } } [ DataContract ] public class Child { private string _name; [ DataMember ] public string Name { get { return _name; } set { _name = value; } } } IService: [ O ...Show All
Visual C# Call Method by Name
How do you call(inside the class itself) a method of a class using its string name Something like: for(n=0; n<10; n++) {"MyMethod" + n} I've certainly been in situations where I've been either unable or unwilling to use the designers or IDE. MSBuild is great in that respect because you can compile your projects from the command line. I used to use it a lot for on-site hotfixes to minor portions of code. While the v2.0 class library does improve in many areas there do seem to be areas where conventions are ignored or opportunities for overloads or generics aren't used. Q3 is here and going. Maybe they'll wait for the big LINQ Release ...Show All
Visual Studio How2 convert RDL to RDLC?
Hi All, how can i quick & easy convert my RDL (with 3 subreports) report to RDLC for using in ASP.NET-website and local-rendering Rename the files and replace the <DataSources>-block with values form one existing & working RDLC was not enough... Thanks Georg See: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=252395&SiteID=1 ...Show All
Visual Studio Team System error - Cannot create a connection to data source
Just deployed a report to the TFS Report Server --- myself and the other developers can view the report just fine. However, the PM and the QA team get the following error message when attempting to view the report: An error has occurred during report processing. Cannot create a connection to data source 'FuncAreaSummDS'. For more information about this error navigate to the report server on the local server machine, or enable remote errors Those who can view the report are members of: Developer 1 - Publisher Developers 2 & 3 - Browser, Content Manager, My Reports, Publisher, Report Builder Those who CANNOT view the report are members of: PM - Browser QA - Browser, My Reports, and Report Builder Any ideas Thanks! ...Show All
.NET Development How do I com+ using VB?
Hi everyone, Primary Platform is Framework 2.0 I have to build a COM + component by means of Visual Basic .Net but I only have c# samples around. So, does anyone have any sample related with Thanks for your input, The easiest way is to use the COM Class template, but if you want to do the hard work yourself, here are some articles. http://www.15seconds.com/issue/040722.htm http://www.vbrad.com/article.aspx id=46 http://support.microsoft.com/Default.aspx kbid=817248 http://msdn.microsoft.com/msdnmag/issues/01/08/interop/ http://www.blong.com/Conferences/BorConUK2002/Interop2/COMNetInterop.htm#CCW Hope that helps. ...Show All
SQL Server BIDS keeps crashing
All of a sudden one of my projects/packages seems to have encountered a strange problem. First I tried to remove a data viewer which caused BIDS to crash and tell me that VS has encountered a problem and needs to close. This is repeatable every time I try to remove the data viewer or the link or the transforms or the entire data flow. How do I get around this besides starting from scratch and how do I figure out why this is happening and is there some fix thanks John Yep, I didn't catch this because I was searching the forum by the error message and because the problem manifested itself not just with the removal of the data viewer but also when I would remove transforms or connections or even the en ...Show All
Windows Forms Adding Tab Stops in RichTextBox
I have a created a control which inherits from System.Windows.Forms.RichTextBox. I have a \t (tab character) in my richtextbox data. Is there a way I can have the RTB not act on it. Thanks, Madhu. If your original method doesn't work, you may try this - preview the key down and check if it's a Tab. The code is something like this: private void preview_key_down( object sender, PreviewKeyDownEventArgs e) { if (e.KeyCode == Keys.Tab) { SendKeys.Send("{BACKSPACE}TabTrapped"); } } Of course, you can replace "TabTrapped" with anything you want to show. But NOTICE: it doesn't work for the situation that you set the Text of richtextbox programmatically with '\t' in it. It wo ...Show All
.NET Development Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "LanguageLocalisation.reso
I am getting this error in VS2005 when I try to add Localisation. Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "LanguageLocalisation.resources" was correctly embedded or linked into assembly "App_Web_b0mnmypn" at compile time, or that all the satellite assemblies required are loadable and fully signed. The language localisation can be found in App_GlobalResources and is called LanguageLocalisation.en-IE.resx The code behind is as follows. ... //set CurrentCulture for thread Thread .CurrentThread.CurrentCulture = CultureInfo .CreateSpecificCulture("en-IE"); Thread .CurrentThread.CurrentUICulture = new CultureInfo (& ...Show All
