*Rick*'s Q&A profile
SQL Server Comparing 2005 with 2004 YTD
Hi, I would like to compare current YTD (2005) with 2004 YTD, how do I do that using MDX ParaLLELPERIOD (Year) and PERIODSTODATE(Year) I am not an MDX expert, but I believe something like this should resolve it. (parallelPeriod([Accounting Week Calendar].[Accounting Year]),[Time Series Analysis].&[1]) Time Series Analysis is a dimension itself, with one record with a field called OLAP (it can be anything)&nb ...Show All
Visual Studio Team System Which languages are supported?
Hi, all. There's a way to generate code for the web tests. It automatically produces VB code. Are there any other languages that are supported for this I'm specifically interested in C#. Can I generate C# code for the web tests Thank you. You can generate VB and C# code. It depends on what flavor of test project you created. When you create a new test project, if you are under the VB projects, then you ...Show All
SQL Server Can't Call Stored Procedure in SqlFunction
There is a SqlFunction in my SQL Server Project: [Microsoft.SqlServer.Server.SqlFunction(DataAccess=DataAccessKind.Read)] public static SqlBoolean GetRelation(SqlGuid ID) { using (SqlConnection conn = new SqlConnection("context connection=true")) { conn.Open(); SqlCommand cmd = new SqlCommand("SELECT * FROM MemberRelation WHERE ID='" + ID + "'", conn); //SqlCommand cmd = new SqlCommand("EXEC ...Show All
SQL Server An error has occurred while establishing a connection to the server.
I recently re-formated my personal server and installed SQL Server 2005 on it instead of 2000 which I previously used. Now, I have imported the databases to the new SQL Server 2005, but I seem to get the following error when trying to access the database (from my asp.net page) I've googled and searched the forum, without any luck. Now I was hoping for someone to answer this question, or perhaps guide me in the right direction. ...Show All
Visual C++ How to show the activities and actions of program to user????
Hi, I am writing an MFC program that work file related operations like copying, moving, deleting and so on. I like to show the actions and activities of the program on a window (small dialog) while it is working on these operations so that it can give feedback on what it is working on. Any idea Thanks. vcboy You can define private window messages. You can post this messages to the small dialog an ...Show All
.NET Development The GC is not Disposing the object.
I am writing an applicatio to dispose off the object of the class with the help of text shown in RED COLOR but i receive the message "C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\ConsoleApplication6\CH2_08.cs(34): Destructors and object.Finalize cannot be called directly. Consider calling IDisposable.Dispose if available." Plez show m ...Show All
Smart Device Development Compact Framework 2.0 for Smart Phone
Hi, I wrote a compact framework 2.0 application by using Windows Mobile 5.0 template for Smart Phone 2003 in Visual Studio 2005. I compiled that application, i got the following error: Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '\Windows\NETCFV2.ppc.armv4.cab'. Error 0x80070070: There is not enough space on the disk. Note: But the same application runs on Windows Mobile 5.0 emulator su ...Show All
Microsoft ISV Community Center Forums pls, help me to write a macro
I got 4 columns, 3 of which should be indicators for the 4th column (I want the values in the 4th column to appear automatically depending on the values of the cells in the previous 3 columns). Here are the values which should appear depending on the cell values in the previuos 3 columns: * ZAO * * ZAO+SC * * * ZAO+SC * * ZAO+ * ...Show All
Visual C# delegate conversion
I have an internal delegate type that I cannot expose, so I've created an identical delegate who's signature matches that of the internal one. Any thoughts on how I can convert the public delegate to the internal one I'm a genius! delegate void Foo(string s, Type t, int i); delegate void Bar(string s, Type t, int i); Foo f = new Foo(SomeMethod); Bar b = (Bar)Delegate.CreateDelegate(typeof( ...Show All
Windows Live Developer Forums Regarding the "Business Opportunity for Building Applications with Windows Live and MSN Messenger"
I was wondering if the Kanoodle program was available for Canadian Developers. http://msdn.microsoft.com/live/gettingstarted/businessopp/ Thanks in advance. Sure, here's the link to the page where you can sign up for the MSN program with Kanoodle https://partner9.kanoodle.com/brightads_signup/msn_messenger_reg.html Todd ...Show All
Visual C++ Moving from VC 6.0 to VC 2005
Hi all, I'm current investigating a way to move from Visual studio 6.0 to the lastest VS 2005. My project comprises with MFC, stl, and thirdparty libraries. When I test converting it to VS 2005 beta 2 the compiler generated 6500+ error. Is there a better way to do this Or is there a compiler switch that make the new compiler compatible with VS6.0 compiler You will need to go through the errors. This isn't norma ...Show All
Smart Device Development Playback stuck in API "Recording and Playing Sound with the Waveform Audio Interface" when interact with other application.
I'm facing problem in using API for "Recording and Playing Sound with Waveform Audio Interface." When I playback an abc.wav file using waveout on Pocket PC, and mean while during playback if I interact with another application, for instance Volume Control the playback hangs out it stuck to that play point and doesn't start playback from position. The thread continue to check wo.Done if always return false so the pl ...Show All
Visual Studio Team System Failed to merge the code coverage result of dll
Hi all, I run the same dll on two computers. When I try to merge the code coverage results of the two run, it always fails. All the results turn to be zero. Is there any way to solve this Thx Tracy Hi Tracy, Can you give us some details of the problem, e.g. the steps that you got into it Did you see any error message If yes, what is it Thanks, Christine Zhao ...Show All
Visual C# aligning check
Problem: a table with 2 columns: a columns of label and a column of textbox. Now in the second column i'm adding a checkbox. Problem: how to align it to textboxes The check has a little border that you can see when you check it. Isn't possible to enable it Thx You can set the CheckBox.CheckAlign property to align the check mark on the control. ...Show All
Smart Device Development Phone Adress List
My Pocket Pc 2002 Mobile Edition Pocket Pc Telephone List: Name, Telephone Samples c# thanks. (I am bad write English) I am new to C# so i won't be much help but I found this step by step tutorial http://msdn.microsoft.com/mobility/windowsmobile/howto/hols/default.aspx pull=/library/en-us/dnppcgen/html/med201_msdn_netcf_app_vs2005rtf.asp#med201_msdn_netcf_app_vs2005_topic4 ...Show All
