cosminb's Q&A profile
SQL Server Browse Cube
Just a question please, When i browse(query) the cube in analysis services how can i save those queries Can they be saved anyware (By browse i mean explore,drill down data in the Cube Browser of Analysis services 2005.) Help please !!! You can capture the queries using SQL Server Profiler: http://msdn2.microsoft.com/en-us/library/ms174779.aspx >> SQL Server 2005 Books Online Introduction to Monitoring Analysis Services with SQL Server Profiler You can use SQL Server Profiler to monitor events generated by an instance of Microsoft . By using SQL Server Profiler, you can do the following: Monitor the performance of an instance of Analysis Services. Debug Multi ...Show All
Visual Basic VB.NET UserControl used in VB6 application
Hi. I build in VB Net 2005 an usercontrol that contains a toolstrip.On this toolstrip I add in runtime 9 toolstripbuttons.The code in which I add those buttons is: Public Sub AddButtonsOnToolbar(ByVal intNob As Integer) Dim tsButtons(8) As ToolStripButton For i = 0 To 8 tsButtons(i) = New ToolStripButton tsButtons(i).Tag = i tsButtons(i).Image = System.Drawing.Image.FromFile("D:\Work\Controale_Espot\Pictures\01.gif") tsButtons(i).AutoSize = False tsButtons(i).Size = New Size(48, 48) tsButtons(i).ImageScaling = ToolStripItemImageScaling.SizeToFit If i = 0 Then tsButtons(i).Margin = New Padding(80, 5, 0, 2) Else tsButtons(i).Margin = New Padding(10, 5, 0, 2) ...Show All
.NET Development Nortal SDK No Connection Could be made because the target machine actively refused it.
I have a problem I am working on Nortal.CCT integation, I am using remoting to do some tasks, In the application we are using Nortal SDK which is also developed in .Net Remoting to notify the client with events. Problem is when i am integrating my application with nortal sdk. i am getting events but i am not able to receive the data along with the data. When i Comment the following statement in my application RemotingConfiguration.Configure("Myapp.exe.config"); i am able to receive the data from Nortal CCT server. when i am enabling the RemotingConfiguration.Configure("Myapp.exe.config"); statement i am able to receive the events but application throughing exception when i am tr ...Show All
Windows Forms Warning in the .net 2005 designer
Hi I am developing a win form application. my FormMain looks like the following() public FormMain() { m_Console = CreateConsole(); if (m_Console != null ) { InitializeComponent(); } the CreateConsole() method creates an instance of a class and returns the reference to it to m_Console in the InitializeComponent() method i signed the controls to get events. the call back functions i put there are call back function that are in the class that m_Console is referencing. for instance, this .ultraToolbarsManager1.ToolValueChanged += new Infragistics.Win.UltraWinToolbars. ToolEventHandler ( this .m_Console.Combo_ToolValueChanged); the code compiles and runs perfectly well. the problem is ...Show All
SQL Server join several fields to create new field
What would be the recommendation/approach in creating a seperate field in which joins several differate fields together. I have a table with field name a, b, and c. I want the information in those fields to be populated in a seperate field, d. So instead of: a 122 b joe c st I would have: d 122 joe st Thanks! Depending on how complex you want your logic to be, you could either use Computed Columns (for simple logic. See http://msdn2.microsoft.com/en-us/library/ms191250.aspx ) or DML triggers (for more complex logic. See http://msdn2.microsoft.com/en-us/library/ms191524.aspx ). ...Show All
Smart Device Development SMS application
Hi, I’m working on a Pocket PC application in VB.Net on Compact Framework. It is required that we develop a SMS module. What is the functionality (code )that should be provided to the Click event of the SEND button. Thanks, the correct code is: Dim smsAddress As IntPtr = Marshal.AllocHLocal(smsAddressTag.Length) The Marshal class is from NetCF.Runtime.InteropServicesname space, which is included in demo VB project Public Shared Function AllocHLocal( ByVal cb As Int32) As IntPtr Try Return WinApi.LocalAlloc(WinApi.LPTR, cb) Catch ex As Exception End Try End Function System.Runtime.InteropServices.Marshal.Copy() is a from d ...Show All
Visual C++ Arrays of strings
Hi, need to write a simple C program (using Visual Studio 6)that will store multiple strings in an array. And also print them out using the scanf() and printf() functions Here is what i would roughly like it to look like: void main(void) { char array[1] [20]; scanf("%c", &array[0]); //I have a feeling that this line is wrong printf("\n%c", array[0]); //And this line } Thanks daniboy120 wrote: scanf("%c", &array[0]); //I have a feeling that this line is wrong Yes that is wrong int main(){ char arry[2][7] = { "hello" , " world" }; printf(arry[0]); printf(arry[1]); return 0; } Regards Sahir ...Show All
SQL Server SQL Server 2005 Backup Through management console
Hello Everyone, I have configured sql server 2005 for daily backup through its management console. Everyday backup is taken just fine without any problem. now i have configured its maintanace clean up task to delete the files which are older than 3 days at the time of writing file to specific folder. But some how this is not working and no files are deleted since i have configured this one week before. can you please drop your suggestion how do i need to configure it again so it can clean up the files according to the maintanance cleanup task. I would appreciate your help on this. Thanks, Bharat Hi Madhu, Thanks for your suggestion.it is already updated to servic ...Show All
Smart Device Development RAS & WM 5.0
Hello, I'm using the RAS API in one project in Windwos Mobile 2003 and all works fine. Now I have to migrate this project to WM 5.0, but connections with RAS don't work. Is there a way to make them work Any suggestions For code compatibility reasons with other Windows versions I cannot use the connection manager API for this project. Regards Hi Alex, When connecting using the RASdial API with a Windows Mobile 5.0 device (using an Symbol MC9090) the device connects but the established connection is not usable. Accessing a our server (or just using IE for browsing) a "Cannot Connect. End the current phone call, and try again" message bubble is shown and no data is transferred. I download and teste ...Show All
Windows Live Developer Forums Sharing Maps
Hi Not sure if this is the right place to ask but i have tried searching over the internet for the answer with no joy. How do I share maps in windows live messenger Now i had this funtionality last year but I can no longer find a way to do it. In the share options whilst on a map share with a contact is not listed, nor is it in the share activities in live messenger. Can anyone help Thanks, Neil Sorry wrong forum section, check out the MSN live messenger forum here: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=112&SiteID=1 ...Show All
SQL Server Search Stored Proc
Does anyone know a way to seach through all databases on a SQL 2000 server looking for a particular stored proc by name Yes, please don't use undocumented stored procedures. You assume the risk of breaking your code or modifying behavior due to either changes made to the stored procedures or removal of such SPs. We have done such changes in SQL Server 2005 to some undocumented SPs that affected users. For this problem, you shouldn't rely on the database metadata for tracking your schema objects. You should use a source code control system with appropriate versioning to figure out which databases have what version of the schema, objects and so on. This is the best and safe method. ...Show All
SQL Server Need help importing .CSV file
Hi all- I am in need of some help importing a .CSV file into a SQL Server 2005 Express database. I can't use SSIS because it's SQL Server Express. The operation needs to run as a parameterized Stored Proc which I will call from ASP.NET. The problem is that I need to get the only 2 columns from the text file, then "tack on" 3 more columns that will have data that changes, which will come in as parameters to the T-SQL stored proc. This prevents me from using a straight BULK INSERT. The data in each of these columns will be the same for each record in that column - that is, every record in every field in column 3, for example, will be the same. Some of the files will have 4 million records and up, so speed is of the esse ...Show All
SQL Server Selling my software and SQL server 2000 as part of the package
Hi everyone, I have developed a VB6 application that works with SQL server 2000. My client does not have a SQL server installed on their machine. I wonder do I have to purchase a copy of SQL server 2000 and install it to client's computer How much would a basic version of SQL server 2000 cost I am new to the softwarel world. Please give me some advise. Thanks Thanks derek for the fast response. I looked at the MSDE2000 website from microsoft....I am still not quite sure what MSDE2000 engine does. From what I understand it sounds like that MSDE2000 is sort of a database engine that lets the application to connect to it for data and stuff.... and that engine connects to my server computer's SQL server over TCP/IP, is that correc ...Show All
.NET Development How do I send mail using C#?
Does anyone have a code snippet that shows how to send mail from c# This was helful, but the only problem that I face is authentication , so please provide an explicit example. Let us say for instance that my e-mail (from field) is: "from@yahoo.com" with user name: "from" and password: "password", and I am sending to: "to@hotmail.com". That is what I am trying to do for months ... Thanks a lot ...Show All
Visual Studio Express Editions Call Visual Fox Pro Table in Visual Basic
i am design software how call Visual Fox Pro Table in visual basic and Insert, delete, update and find record with help of Visual Basic code help me please Learning ADO.NET http://msdn2.microsoft.com/en-us/data/aa937699.aspx Data Samples: http://msdn2.microsoft.com/en-us/vbasic/ms789075.aspx#data ...Show All
