kayers's Q&A profile
SQL Server Error When Open Analysis Services From Management Studio
Dear All, When I want to open Analysis Services from Management Studio, an error message appear: Exception of type 'System.OutOfMemoryException' was thrown. (Microsoft.SqlServer.SmoEnum) Can anybody tell me what happen and how to solve that Thanks in advance. What version of Analysis Services you are running Try installing SP1. If that wouldnt help, try installing CTP of SP2. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Software Development for Windows Vista Passing data from one activity to another
Hi all, I'm trying to pass data from one activity to another. Is there any way to do this Help me... Hiya Try this previous post on passing parameters. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=273309&SiteID=1 ...Show All
Visual Studio Customized Shape
Hi all, I'm doing DSL project about Image Processing Graph Editor right now. My question is just simple, can I make a drop-down list for a property in the geometry shape Cheers, Herru You need to create a new class, which derives from ShapeField and override the EditValue method(s). There you need to instantiate your Combobox, place it on the DiagramClientView and show it. This only takes place, when the shape field has focus of course. You can use System.Windows.Forms for the ComboBox itself. Michael ...Show All
Visual C++ FCLOSE() very slow in appending after a certain point in debug mode in VS2005
Hi When opening a file for append binary mode with fopen(), and using fwrite(), fclose() takes a long time after a certain number of times of doing this in a loop. To be more specific, in a loop, we open the file, append 5 doubles to the file, and close it. After iteration 203, the time to close the file takes significantly longer. You can see the output of a test program here. The 3 digit number is the iteration, and the two larger numbers are the output of QueryPerformanceCounter() before and after the fclose(), and the line of dashes is the end of the loop iteration. As you can see, the time across fclose() calls from iteration 203 to 204 jumps from 63750 to 1039035 and this jump is a) consistently at this iteration number and ...Show All
Windows Forms Flat Controls (.NET 2.0)
Hi Does anyone know how to make listed controls below, flat - TextBox - ComboBox - CheckedListBox - DateTimePicker I want to have a flat design with a black border. Is this possible Only "TextBox" and "ComboBox" has a property that makes this come true (more or less). Why is the property "FlatStyle" missing on the other two Does it make sense So, my question is, how do I get the four controls above, with a flat style (Im using VS 2005) Kind regards! Seems strange. They make other controls (such as "TextBox" and "ComboBox" with a flat-style), but DateTimePicker they had trouble with, or what :) ...Show All
Visual C++ Multithreading in C++
Hi, I am learning multithreaded programming. I have a question with a hope someone can answer. I want to find distances between points using thread (Win MFC) Here are just an example of some points that I want to find the distance between them. For instance, p1 to p2, p3, p4, p5 p2 to p1, p3, p4, p5 p3 to p1, p2, p4, p5 p4 to p1, p2, p3, p5 p5 to p1, p2, p3, p4 with p1(x1, y1) = p1(42.67,73.75) p2(x2, y2) = p2 (61.22, 149.9) p3(x3, y3) = p3(30.27, 97.73) p4(x4, y4) = p4(35.18,101.83) p5(x5, y5) = p5(41.15, 104.87) using formular distance = square root (square (x2 - x1) + square (y2 - y1)) If I have many many more points than those five listed above, how can I do it using multithreaded and what is the best w ...Show All
Windows Forms OnSelectedValueChanged fires twice with message box
I have a created a user control that contains a list box. I have added an event to the control OnSelectedValueChanged that fires when OnSelectedValueChanged fires on the list box. Here's the control code for creating the event... public delegate void JobList_SelectedValueChanged(object sender, EventArgs e); public event JobList_SelectedValueChanged SelectedValueChanged; protected virtual void OnSelectedValueChanged(EventArgs e) { if (SelectedValueChanged != null) SelectedValueChanged(this, e); } private void uxlb_JobList_SelectedValueChanged(object sender, EventArgs e) { if (uxlb_JobList.SelectedIndex != -1) { &n ...Show All
Architecture Beginner question III - tier for windows forms application
Hello, I'm a client-server programmer new to III tier aproach. Ok, i understand benefits of III layer, dividing funtionality in diferenents components that can optionally run in differents servers, i'm learning with GoF and Fowler patterns books. But I don't know if i need to run layers in differents servers. The principal reason i've found to III-tier is that in client-server architecture every client hold a connection to the database, and because connection are resource intensive, system doesn't scale.Text talk about thousands of clients is imposible for client-server system. But nowadays ram is cheap so with and estimation of even 1mb per client connection, 2000 clients would need 2gb for the server, not much memory. Other reason ...Show All
Visual Studio Express Editions Compiled CHM?
I'm looking at the following Help Class info: http://msdn2.microsoft.com/en-us/library/system.windows.forms.help.aspx "You can use Help to show compiled Help files (.chm) or HTML files in the HTML Help format. Compiled Help files provide table of contents, index, search, and keyword links in pages. Shortcuts work only in compiled Help files." If I'm reading this right, all I need to do is include the chm file as a file under my application and reference it's location: Private sHelpFile As String = My .Application.Info.DirectoryPath & "\Resources\help.chm" Then, all I do is call the file: Private Sub InstructographHelpToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e A ...Show All
SQL Server How to use web services and interactive features
I've been having trouble getting my RS2005 reports with interactive features (drilldowns) to work in an Iframe and rendered with SOAP. The main problem now is that the toggle buttons (+ / -) point to the reporting services server and do a URL Access call. I've tried the <ReplacementRoot> element in the DeviceInfo parameter but it doesn't appear to do anything. I keep on reading about how everything is possible through the web services but it looks as if these interactive features are only available using the URL Access. Is this true Kwan The viewer control ( www.gotreportviewer.com ) does most everything via the SOAP interface. Have you considered using it rather than trying to rewrite your ...Show All
Game Technologies: DirectX, XNA, XACT, etc. World to screen coordinates?
To cut a long story short, I need to obtain the screen position of a point that has been transformed by the view and projection matrices. My vector math is pretty rusty, and I am not sure how exactly to go about it. Could anyone give me a hand After you have transformed a coordinate by the WorldViewProjection matrix, you should divide by the .w coordinate. The x/y coordinates will be in [-1, 1], with the positive Y axis pointing up. You'll need to flip the Y axis (the positive Y screen axis points down), scale by .5, add .5 to both the x/y coordinates, then scale by the screen size. You can adapt this effect code to work in your C# code if necessary: float4 projectedPosition = mul(position, WorldViewProjec ...Show All
.NET Development Webservices client: changing the Namespace
I'm building a client application witch will comunicate through soap with a webservice. The soap message i now sent: <soap:Envelope xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:wsa=" http://schemas.xmlsoap.org/ws/2004/08/addressing " xmlns:wsse=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd " xmlns:wsu= " http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd "> <soap:Header> <wsa:Action>urn:orxserver#bedrijfsVoorraad</wsa:Action> <wsa:Mess ...Show All
Visual Studio Team System Time-tracking for TFS work items?
Does anyone know if there is a way to track the time spent working on a work item I'm thinking of something like a "clock-in/clock-out" feature, so a developer can record the actual time spent working on a particular task, etc. I assume that if there isn't a built-in way to do this, there might be a way to build this in as custom functionality. Any ideas/guidance Updated Question: Perhaps I should have stated this better earlier... TFS work items obviously have a field or two in which a developer can enter the total time spent on a project, but what I'm looking for is a way to help track and calculate that total time, based on a mechanism (like a chess timer, for example) which would allow a user to "clock in" ...Show All
SQL Server Buildind a report builder.
Hi all, Does anyone have information on coming up with the report builder The Microsoft bookonline do not help to much. Thanx in advance. If you want to play around with some samples, you can use the new BOL samples (which are renewed within the new July release of the BOL) or this link here: http://msdn2.microsoft.com/en-us/library/ms345268.aspx HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System Team Queries in Custom project template referencing iteration path.
I have edited the default team queries for my project template, to exclude an iteration called 'Deleted'. The classification file is imported successfully when creating a project, but the team queries fail with: TF51011: The node specified is not found in the classification hierarchy. The error is caused by 'Deleted' . Is there a way to edit the default team queries after the project is created ++Alan Hello Alan, You can edit the query from Team Explorer. Expand the project you just created in Team Explorer Expland "Team Queries" folder Select the query you are interested in, Right click and select "View Query" Now you can edit the query and save it. Hope this helps, ...Show All
