kensai's Q&A profile
SQL Server (MDX) EXISTING operator - inconsistent behaviour when using subcubes?
I am getting what I think is inconsistent behaviour when using the EXISTING operator to obtain a set defined by the current query context... See the two queries below (explanation follows). WITH MEMBER [Measures].[MyDate] AS Tail ( EXISTING [Date].[Calendar].[Date], 1). item (0). membervalue SELECT {[Measures].[MyDate]} ON 0 FROM [Adventure Works] WHERE [Date].[Date].[October 26, 2002] ... returns [26-10-2002] ...Show All
Windows Forms Form Border Flicker
In my project, I have a single (base) form that has IsMdiContainer set to TRUE. I load an initial form, and from there show and hide forms based on button clicks. Everything is working the way I want it to but there's a problem with t ...Show All
Visual Studio scrolling reports causing viewer to hang/freeze up
I'm developing VS.NET 2005 winforms apps that call Crystal XI reports. The reports look great. However, on two of our workstations (out of 10), manually scrolling the report in the Crystal Viewer causes it to hang for approx. 15 seconds. It will free up again, but any more scrolling will cause it to freeze up for another 15 seconds. NOTE: The reports were developed using Crystal XI installed on a different pc. The only installs I have do ...Show All
Visual C# How to determine week no. of a given date?
For example I have a list of dates 5/11/2006, 5/18/2006, 5/25/2006 How can I categorize these dates sample output: Today: 5/25/2006 Last Week: 5/18/2006 for Today,compare with DaysOfYear for Date.Now with DayeOfYear of the passed Date.Time and if 0,then today Use this method to categorize weeks- First time pass DateTime.Now - get week Next time pass the date to determine-get week (if 1 then last ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Do you have an orthographic ray picking demo?
Hi, Does anyone have a simple demo of ray picking inside an orthographic viewport Its no different to any other kind of projection. You just have to unproject through the orthographic projection matrix instead of the perspective one. See the pick sample in the SDK for C++ or the translation over on MDXInfo for C# ...Show All
Visual Studio Express Editions Why this limitation in C#express
Here is a problem with my C# express installation.(RTM). With the previous version it was possible to connect to the SQL Server Express specifing a server and a database(add connection). Now it is only possible through "AttachDBFileName". So I cannot connect to the SQLEXPRESS if I don't specify "Database file name(.mdf file)". Is that correct In the VWD it is possible Why this limitation in C#express In the "Change Data Source" dialog, there a ...Show All
Visual C# How To Serialize an Object using application settings
In my application, I need the ability to store user defined data. My desire is to use the new application Settings mechanism (.NET 2.0) I have been experimenting with the various methods of doing this... Initially I used the IDE's application\properties\settings method where you specificy the settings in the gridview and VisualStudio creates the wrapper class for you. I had success doing this but when I tried to serialize the data inside o ...Show All
SQL Server SSIS Design : Object reference not set to an instance of an object
In visual studio 2005, I create a new Integration Services Project. It tries to create the first package by default "Package.dtsx". The "Package.dtsx[Design]" tab displays Microsoft Visual Studio is unable to load this document Object reference not set to an instance of an object I try to create new SSIS package or edit an existing one (from tutorial), I get the same error in the SSIS graphical user interface tab. ...Show All
Visual Basic Getting my custome controls to show up in the toolbar
OK, I've got the following structure: Bungalow -label_matching (label control used for a "matching exercise") -form1 New Bungalow -frmExercise (will show the matching exercise) to get label_matching to show up in the ToolBox, it seems that I have to drag (with the sol exp) that control to New Bungalow proj. Then it shows up when I select "frmExercise" for design, in the "New Bungalow C ...Show All
Visual Basic VB Exit by the X box
I have written a reasonably complex VB code that when exited by the upper right corner X box, leaves itself in memory. The exit box control I added exits fine. Each time a user exits via the X box an additional copy is left in memory (as viewed by the Task Manager). Am I doning something wrong that is causing this problem I didn't purposely create any threads. I'm not doing anything real fancy. Mostly, I am using a Microsoft Access d ...Show All
Visual Studio Express Editions Dynamic Help
Where, When, Why!!!! Beta 2 Had Dynamic Help (with only a minor hangup bug if you reloaded it) This improved Edition has no Dynamic Help.. My search of this shows that no one knows from the programmers the answer... I don't see that either, Ken. In the help it says to either open the Command Window (under the View) menu and enter Help.DynamicHelp, but I have no "Command Window" optio ...Show All
Visual C# Error sending filled form via email
This is the code I use to send my form via email: protected void sendMail(string strFrom, string strBody) { //create the mail message MailMessage mail = new MailMessage(); //set the addresses mail.From = new MailAddress(strFrom); mail.To.Add("myEmail@myDomain.com"); //set the content mail.Subject = txtSubject.Text; mail.Body = strBody; mail.IsBodyHtml = fal ...Show All
Visual Basic DAO update error!
Hej i having database issues. I have a MSACCESS db that link to a MySQL db. There is only one table with an id and text field. The id is defined as unique index. Now getting data and deleting data works fine from my VB6 app. But when it comes to updating data im having issues. This is the really useful error message i get: "The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data a ...Show All
.NET Development .NET 2.0 WebRequest via SSL not submitting the correct certificate to the server
When I go to H TTPS://Server/batch action=GetData I get a prompt asking me to choose a digital certificate based on the request from the webserver. Obviously I choose the right certificate and get the expected response. However when using VB.NET 2005 and the following code ---------------------------------------------------- Imports System Imports System.IO Imports System.Net Imports System.Text Imports System.Web Sub AskF ...Show All
Visual Studio Express Editions Methods and Events of Forms, text box controls, etc.
How can I see all available methods & properties of a form or controls on a form such as textboxes within the code window Is there a way In Visual Foxpro, it will show you all available methods and properties within code window. Sorry guys if Im comparing C# with Visual Foxpro, VFP is a Datacentric and RAD tools but I really want to be well versed in C# programming. hi, exposing form objects as public objects you can see and edit fr ...Show All
