bayito's Q&A profile
SQL Server How to refer to the whole cube while using the filter of the cube browser?
Hello! I've got an accounting cube with balances as measures and amongst others a time dimension. There's also a calculated member which should show the balance of the previous year. This calculated member uses the PARALLELPERIOD-function. So far everything works fine! But while using the filter of the cube browser and selecting a certain year, I can't refer to other years than the selected year. So how can I get the balance of the previous year Thanks for any help! Ok, there seems to be no solution which makes my calculated measure working properly. Right now I'm testing a beta version of Excel 2007 as BI frontend tool to see how it deals with this problem. Thank you very much for help! ...Show All
Visual Basic Ecen If DragDrop Registration Succeeds Drag Drop still fails!? - Help!
I have an application I've been running under Visual Basic 2003 for some time now without error. Recently I purchased Visual Studio Professional 2005 and allowed it to convert my project to VS2005. I ran the application and receive "System.InvaliedOperationException: DragDrop Registration did not Succeed" In my application I found that if I change the AllowDrop for my Treeview to False everything works properly. Th moment I change AllowDrop on my Treeview to True I receive the above error. I know this was a Bug in Beta2 but on a purchased production copy Anyway, has anyone seen this error and if so what was done to resolve the problem. Regards your two problems: 1. Although I don't get Drag an ...Show All
SQL Server Enable and disable websync.log
Hi, is there a way how to enable / disable logging on web merge synchronization into the file websync.log The file exists in the ISAPI folder, on some machines there are some messages, on others there is nothing. There are Timeout messages on the client during synchronization and we need to find where is the problem, if it is on the server side or if it is a network error or something else. Thanks, Pavel The web sync log should be enabled by default. On the IE replisapi.dll diag page, what do you see the status as ReplIsapi Settings: Property Value SNAC version (sqlncli.dll) 2005.90.1399.0 Logging Enabled TRUE Log Severity 2 Current Log Size 6735 ...Show All
Windows Forms Drawing multiple circles
Hi, I want to draw more than one circle say for example 8 I know i can draw circles with the use of the following code Graphics g = this .CreateGraphics(); int x = 100; int y = 100; int r = 10; g.DrawEllipse( new Pen ( Color .Lime, 5), x - r, y - r, r, r); g.Flush(); g.Dispose(); but what i want is more than one circle. Also after i have drawn them how can i make say 7 hide and one visible with the timer set. would i have to use another interger or a string and assing it to graphics g=this.CreateGraphics() function and then on form load say that the interger has to be hidden. Could someone please help. Also please bear in mind i am a begginer so could you direct me step by step please Th ...Show All
SQL Server SSIS Crashes while validating Data Flows
Hi all, I'm stuck here when I try to open an existing package which contains several data flows, SSIS tries to validate each data flow and after a while a Visual Studio error message pops up and I can't do anything. The error message says : "Unable to cast COM object of type 'System._ComObject' to interface type 'Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject90'. This operation failed because the QueryInterface call on Com component for the interface with IID '...GUID...' failed due to the following error : The application called an interface that was marshalled for a different thread. (Exception from HResult: RPC_E_WRONG_THREAD)" Did anyone has seen this error message Any help will be appreciated. Sebastien ...Show All
Visual C# Getting the client printer names in a web application
Hi, I need help. I am currently developing a web application to print a crystal report directly to the client's printer. The application works well in my pc but when I port the application to our web server, instead of retrieving the printer list in client's pc, the application is trying to look for printers that are installed in the server machine. I developed my application using C# and I am using System.Drawing.Printing. PrinterSettings .InstalledPrinters to retrieve the printer list I realised it only trying to retrieve printer installed in the local machine. Is there any way to get the list of installed printer in the client computer Thanks in advance. I don't want to say "NO" but neither "YE ...Show All
Windows Forms How to retrieve selected folders on OpenFileDialog ?
Hi, I can retrieve selected files with .FileNames but how do I retrieve selected directories Is this possible or not Thanks ! I know this control, it only allows to select 1 folder at the time, I think I'm going to use it but it doesn't solve my problem, add multiple folders in one click, Thanks anyway ...Show All
Visual Studio Tools for Office minumum cell width is limited by margins and setting margins to 0 does not seem work properly from VS 2005.
Hi, From word 2003 If i create a table and set the cell margins to 0 I can make the width of a column as small as I want. (the minumum is otherwise limited by the cell margins) However I have an issue doing the same thing from visual studio 2005. Using Microsoft.office.interop I set the LeftPadding and RightPadding table properties to 0.0 and this seems to work fine. However. It seems I still cannot set the width of the column less than the default cell margins! Even going through word 2003, and manually selecting the table properties I can see that the cell margins have been set to 0.0, but I cannot slide the column width to be less than the default margin size. Has anyone come accross this problem before Any Ideas to fi ...Show All
.NET Development Problems with a callback
My problem is that using sockets to send and receive Strings.. I have the Connect Sub that calls Clientsocket.BeginConnect(EP, AddressOf ConnectCallback, Nothing) and the ConnectCallback calls Clientsocket.BeginReceive(bytes, 0, bytes.Length, SocketFlags.None, _ AddressOf ReceiveCallBack, bytes) And ReceiveCallback, before calling himself to receive another String, calls a delegate Dim dlg As New OneStringDelegate(AddressOf DisplayReceivedData) And DisplayReceivedData calls a function in a Form that tries to add the string to a ListBox, but.. The string doesn't appear in the list. If in that Function I do a MsgBox(data) it shows it, but if I do ListBox1.Items.Add(data) it doesn't. Why is this happening ...Show All
Windows Live Developer Forums Humongous Javascript Api File.
Hi, I am using v4 of the virtual earth control. But each time I open the page to view the map, it takes an age to load. I've used fiddler to detect the file sizes, and it seems the main file with the core script in it is 436,179 bytes, which seems huge. http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js -- 168 http://maps.live.com/veapi.ashx v=1.3.1115150037.31 -- 436,179 Also the files are set to not cache, which means the files have to be downloaded each time! I checked the files for maps.local.live.com and it does not download one big file, but instead multiple small files. Ive summed the bytes for the whole page, which comes to about 582,228, but the actual mapping components only seem to add up to ~178,000 bytes, which ...Show All
Visual Studio Is it possible to have both VS 2003 and 2005 on the same machine
At my work I need the VS 2003 and for my personal stuff I need VS 2005. Since I sometimes work from home I need them both. Is it possible If yes how can I do this Regards, Itzhak No you dont have to re-install it. I had the same problem and I figured it out. After installing both versions of VS and their frameworks, when you create a new project in VS 03 the ASP.Net version is mapped to 2.0 all you have to do is go to IIS managment console right-click and properties of the project you have created and change the ASP.Net version number to 1.1. Visual Studio.Net 2003 uses only ASP.Net version 1.1. ...Show All
Visual Basic Login Form VB 2005
Hi , i can’t make a loging form, checking a database users, i already have the users db, but how can i made th validation, a full step explanation it'll be great, please help me i already read a lot of books about vs2005, but i still with this trouble i'm usin Microsoft SQL server, thanks a lot!!! take a look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=979449&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=889217&SiteID=1 you need to query SQL to see if the username/password given matches. ...Show All
Visual Studio Express Editions learning visual C++ 2005 Express Edition - good books?
Hi All, I'm new here.. have just started getting into vc++ee... but finding it hard to find good resources. I have a book called "Microsoft visual c++ 2005 epress edition programming for the absolute beginner" which i'm finding very handy as a starting point, but where to go from here most the other books i see are referencing MFC and stuff i cant use in this version - please can others let me know your book recomendations that are specific to this version and .net thanks Mark This topic has links to reviews of good books for learning C++ the language - which is what I would definitely suggest doing before tackling specific technologies like .NET or Win32 ...Show All
SQL Server SQL Mail Profile
We are running SQL 2000 (no sp) on Windows 2000, and have Outlook 2003 installed. For no aparent reason, the mail profile config in both Server settings and agent no longer work. The Orignal profile is still in the box, but using 'change' nothing is listed in the drop down box. Using test, an error, 18025: xp_test_mapi_profile failed with error 0x80004005 The profile does still exist in Oulook. Any ideas Thanks ...Show All
.NET Development Out of Memory Error - Framework 1.1
I have a VB .NET 2003 application that updates (cycles) through image files and directx video files. After several hours of operation, the program 'bombs' with an out of memory error! ANY HELP would be appreciated! ------ Relevant Source ---- Private Sub InitVideoPlayback() Dim appPath As String appPath = Application.StartupPath appPath += "\video" Try Dim dir As New System.IO.DirectoryInfo(appPath) ImgVideoFiles = dir.GetFiles() NextVideo() Catch e As Exception MsgBox("Could not load video " + appPath + ". " + e.Message, MsgBoxStyle.OKOnly) End Try End Sub Private Sub InitProdu ...Show All
