FJK's Q&A profile
SQL Server SSAS 2005 Migration Issue - Attirbutes in Different Dimensions with Identical Names
We are upgrading SQL Server 2000 cubes to SQL Server 2005 SP1. In one cube, there are attributes in different dimensions with identical names, for example, there are two dimensions, [Date Completed] & [Date Submitted], and both contain the fields, [Fiscal Year], [Fiscal Period], [Fiscal Month], etc.. The new cube exposes all fields of all dimensions as attributes. When we view the new cube from Excel 2003, we get attributes with duplicate names (in the PivotTable Field List) and cannot tell which is which. We have many reports based on the cube. If we rename these attributes, our existing reports will be broken. What is the best practice to handle this incompatibility issue Is there any way to hide the attribut ...Show All
Visual Studio Team System How do you import entire schema?
Every time I try import Schema to a project and compare it back to the source database there are always statements that are missed by the import. I then try to run an update and get a whole host of user or group not found errors. Are there settings that need to be changed when importing schema I have already tried having the source schema settings override the target settings and have also tried default settings. Thanks I do some tests with the above definition. One other question are you ignoring whitespaces in the stored procedure You can check this in the Tools\Option\Database Tools\Schema compare page. mairead ...Show All
Visual Studio 2008 (Pre-release) How to dispose BitmapSource?
Hi all, How can I dispose BitmapSource (actually InteropBitmapSource) Example of memory leak: while ( true ) { using ( Bitmap bitmap = new Bitmap (1000, 1000)) { BitmapSource source = Imaging .CreateBitmapSourceFromHBitmap(bitmap.GetHbitmap(), IntPtr .Zero, new Int32Rect (0, 0, bitmap.Width, bitmap.Height), BitmapSizeOptions .FromEmptyOptions()); } GC .Collect(); Console .Read(); } Thanks for any hints. Tom Ok. Thanks. I did not check the documentation for Bitmap. GetHbitmap(), I just used IntelliSense:) ...Show All
Visual Studio Express Editions Always Round Up in Visual Studio 2005
Okay Ive gone threw the forums many times and I have yet to find a clear beginner answer. I would like something that has any number that has a decimal to round up..no matter what the number/decimal is. Sorry if I sound rude Im just a little bit annoyed and not being unable to understand a lot of this. Solitaire, I've had the pleasure of reading your replies in this forum. I am a beginner. I am trying to create a calculator that has the basics and contains sin, cos, & tangent. Believe it or not my wall lies with the basic "+", "-", "*", "/", calculations. I'm using VB Studio 2005. I've managed to get the sin,cos, tan, Abs, decimal, +/-, 1/x, and % work ...Show All
Visual Basic Using XML file for application settings
I've created a dll that extends an existing application. I'm trying to make my it future proof by storing some config settings in an xml file (eg table and field names). However, I'm fairly new to .Net and I have a few questions. How do I: 1) Ensure the xml file is installed in the same dir as the dll - I'm using a setup project to install the assembly 2) Reference the xml file in the application (i.e retreive the install location of the assembly) given that the user can choose where to install it This is surely a fairly common requirement, but haven't found anything useful in my books or on the web. I'm also having to use VS 2003 and .Net 1.1 due to the client requirements. Any help greatly appreciated. ...Show All
Software Development for Windows Vista ClipboardCopy broken in CLR 2.0 referencing 1.7 SDK?
The most generic clipboard code I can think of: io.Ink.ClipboardCopy(io.Selection, InkClipboardFormats .Default, InkClipboardModes .Copy); throws " An unhandled exception of type 'System.TypeLoadException' occurred in Test.EXE Additional information: Could not load type 'IOleDataObject' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'." Any thoughts Nicholas, That TOTALLY solved the problem for me. Thanks, you're a life saver. Bill ...Show All
Windows Forms How to calculate Difference of time between two DateTimePicker
Hi can any one tell me how to calculate difference of time between two datetimepickers and assign the result to the any other controls (label, text, datetimepicker) .. in VS,NET 2005 ...Show All
Smart Device Development Displaying a loading... Form
Hi, I am using socket communication and it takes some time to connect to the server. I want to display a form with a progress bar and till the response is received from the server, is it possible to do so Thanks I guess so. You can put your connection (socket communication) code on a thread, and then get this thread to update the UI (in your case a Form) with the progress. Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Blender
Can blender be used with XNA GSE Just wondering b4 i go and get my new comp this week because my desktop crashed... IMO Blender's interface is more Windows-based than any other 3D app's(3dstudio,XSI softimage,Maya). Just one main difference - your toolbar is at bottom of the screen(of course, you can change it anytime). ...Show All
Visual C++ How to order a CList
Hi, I have a CList filled with my object (class) and I would like to order these about one value inside the object. Can I do that If yes, how can I do that http://groups.google.de/group/microsoft.public.vc.mfc/browse_frm/thread/804ec1f2d822b707/0948297d60408eed lnk=st&q=Sort+CList&rnum=1&hl=de#0948297d60408eed ...Show All
Visual Studio Express Editions Accessing an ODBC data source with Visual C++ Express
I can't find any example code in the MSDN documentation that demonstrates the use of Open Database Connectivity (ODBC) (e.g. CDatabase, CRecordset, ...etc). I want to write a simple C++ program that reads from and adds records to a MS Access database. I thought this would be a simple matter but I've spent two days on it so far! I've installed Visual C++ Express 8.0 and also the 'Microsoft Platform SDK for Windows Server 2003 R2' which I was under the impression I needed. However, now I'm having problems compiling some of the MFC libraries such as afxdb.h. Then I read in a forum comment that you can't use MFC with VC Express! Has anyone got sample code Bill. Dennis I looked at the ODBC Progr ...Show All
Windows Forms Sending email in vb.net 2005(using vb) not with smtp but the users outlook (mapi)??
I have an application that I need to send mulitiple emails from. There are about 10 users who will have permission. However my IT Group has locked down the smtp server and will not allow "Applications" use the smtp method. I remember in vb6 I used mapi to send emails using outlook that was on the users computer thus giving my IT folks traceability of who is sending what and not having to set up 10 people on the smtp permissions. Can this still be done using outlook(mapi) It's going to be a lost cause if your IT dept only allows certain IP addresses to connect to the SMTP server. There is no way (well, few ways) to fake the IP address. Tell those losers that the guy on the Microso ...Show All
Visual Studio Express Editions reading file into two dimensional array
I am having with the code below. I have read the content of a file into two dimensional array evening thing seems to work but I get a when I try to populate the two dimensional array. I get indexoutofRangeExpection.. Pls what am I doing wrong rows(y, i) = temp(0) + temp(i) - the error is at this line Dim rows(,) As String = New String (,) {} Dim temp As String () = New String () {} While iRead.Peek <> -1 strLine = iRead.ReadLine temp = Split(strLine, vbTab) For i = temp.GetLowerBound(0) To temp.GetUpperBound(0) rows(y, i) = temp(0) + temp(i) Console.WriteLine(rows(y, i)) System.Threading.Thread.Sleep(1000) Next y = y + 1 End While Thanks Actually, I am ...Show All
Visual Studio Team System Error when installing KB919156: Error 28500 - Error finding template file...
When I attempt to install the TFS Quiesence Tool KB hotfix, I receive the following error: "Error 28500.Error finding template file." (sic) I attempted to search through the groups and on the internet to find out the root cause of this error, but I have not found anything. I, therefore, cannot install TFS sp1 because the installation of this prerequisite has not been met. I have a dual-server installation, and everything is working swimmingly currently, but I want to stay up-to-date on the updates. I should mention that I've uploaded the Conchango Scrum template to the system -- could that be the cause of my error Any suggestions or guidance would be much appreciated. Thank you! ...Show All
SQL Server Solution Explorer drag/drop error?
I've submitted a bug report for this, but I also want to be sure it's not my own installation. In the solution explorer, when I drag a package (usually accidentally) to another spot in the list, it disappears from the list. If I try to re-add the package, it thinks the original already exists, and names the second one with a "(1)" suffix. I can work around this by moving the original package out of the primary package folder and then re-adding it through solution explorer, but that's a touch cumbersome. I don't really have a question here other than perhaps validation of the issue. Thanks. Here's the bug report if others experience the same issue: https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=258 ...Show All
