Bernhard Huemer's Q&A profile
Visual Studio Team System Filtering work item with a data range and returning the date as part of the datasets fields simultaneously
Hi, I'm able to filter based on a date range. The problem is that I can't find a way to add the Date dimension to the list of column returned by the dataset. In other words, I want to return a list of work item that is filtered based on a "from date" and "to date" and have the date of each work item records in the returned list. Here is the query I am using (sorry I am pretty new to MDX...): SELECT NON EMPTY { [Measures].[Current Work Item Count] } ON COLUMNS, NON EMPTY {( (StrToMember(@StartDateParam):StrToMember(@EndDateParam)), [Work Item].[System_Id].[System_Id].ALLMEMBERS * [Work Item].[System_Title].[System_Title].ALLMEMBERS * [Area].[Area Path].[Area Path].ALLMEMBERS * [Work Item].[System_ ...Show All
Visual Studio Express Editions How to delete selected row in datagridview?
Hi, how do I permanently delete selected row in datagridview as well as permanently deleting it in my .mdb file . Thought of using oledbcommand or something but I am still a beginner in C# so not familiar with Oledb. Thanks. the OleDbType is not the field size but the field type (Numeric, varchar, binary etc....) which must be the same as the field in the database table column. In regards to the field size, the next parameter, it would be the size of the length of data you are going to be inserting, or perhaps the length of the field given in the database table schema (when you were designing the table in designer view for example, you were able to set a field length. This would be the value) Be sure that the field length is ...Show All
Audio and Video Development How can I get information about objects and nodes in Protected Playback
Hello to everyone! Main question is: Is it possible to get information about objects and nodes in Protected Playback sample Description: I can get information about all tolopology, object and nodes in Basic Playback sample. But it is impossible to me to get information about this in Protected Playback sample. Maybe it is because there are some encrypted objects I have special program to get topology, this is it's main code: IMFMediaSession* p_pSession // it is "in" argument in that programm IMFTopology* v_pTopology= NULL; IMFTopologyNode* v_pTopologyNode= NULL; v_hrResult= p_pSession->GetFullTopology(MFSESSION_GETFULLTOPOLOGY_CURRENT,0, &v_pTopology); v_pTopology->GetNodeCount(&a ...Show All
.NET Development Cant Pass arrayList of objects to web service.
Hi all, I am new to .NET and am trying to pass an array list of objects to the web service. I keep getting Error in XML document. I know i have to be doing something wrong or have neglected to set up something that is needed for the XML translation but i have no idea what should be included to make this work. Basically i am creating an array list, the details in the array list make up the binary representation of an image file. Once this is complete i want to reconstruct the images on the server by cycling through the array list of objects, pull out what i need when i need it and stream it back out. Now, i can get this to work fine by passing the elements to the web service individually by not using the class, by that will be too ma ...Show All
Visual Studio Express Editions Reading spreadsheet data
This seems very basic, but couldnt find anything yet. I need to just read a column of data, and store it in an array. I am trying to do it with out having to open an instance of Excel. It is a space deliminted file. Any tips I am a total newb, thanks! If its a space delimited text file Then use the TextFieldParser Class http://msdn2.microsoft.com/en-us/library/4cwxw7dx(VS.80).aspx ...Show All
Visual Basic TCP/IP clients, listener, and servers
I was wondering if anyone had a good example of a TCP/IP server VB.Net application using TCPclient and TCPListener that you could send me. I need to develop an application that acts as a TCP/IP server waiting for TCP/IP client connections. All of the connections have to be maintained and any received command has to be processed and status information needs to be returned to the clients. Tony Is the protocol something you can modify It looks like the protocol is giving you some difficulty. For example, if a client connects, looks at the status, and disconnects, this should be a specific protocol pattern that the server knows about, and knows that the client will disconnect. This protocol is similar to, s ...Show All
Software Development for Windows Vista InstallShield DevStudio 9's DoInstall errors
Since Vista RC 1, my installations using DoInstall calls returned alot of intermittent DoInstall errors, e.g. -2147213312. Anyone met such errors yet They were working fine prior to RC 1... :( Would appreciate experiences with InstallShield's installation problems on Window Vista to be shared here :) Regards, Ivan ...Show All
SQL Server Distribute Print ActiveX control to masses
How do you go about distributing the print activeX control to the masses What is its name I there an msi Found a cab file named RSClientPrint.cab in folder C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin. Extract the contents of this cab file into a separate folder and manually register RSClientPrint.dll. Speak up if you know a better way to do it. ...Show All
SQL Server MDX: Percentage-to-totals with subcubes (AW code sample)
I need to create a calculation that gives me the percentage of a members value relative to the total. My problem is that I cannot make it work when my query is using a subcube in the from clause. The calculated member is simply not able to look outside the defined subcube. In other words - the following query works as expected: WITH MEMBER [Measures].[Test] AS [Measures].[Internet Sales Amount]/( ROOT ([Product]),[Measures].[Internet Sales Amount]), NON_EMPTY_BEHAVIOR = [Measures].[Internet Sales Amount], FORMAT_STRING = "#.##" SELECT {[Measures].[Internet Sales Amount], [Measures].[Test]} ON 0, NON EMPTY [Product].[Subcategory]. MEMBERS ON 1 FROM [Adventure Works] WHERE [Prod ...Show All
Software Development for Windows Vista Bound Dynamic properties not retained after save - Using Vihang Dalal's Designer Rehosting
I am using Designer Rehosting code posted by Vihang Dalal. I am also using DynamicPropertiesActivity from Ghenadie's blog. I create a workflow with DynamicPropertyActivity as one of the activities. Added 'strTest' to DynamicProperties collection. In order to be able to use this attribute in the rest of the workflow to bing to other activities, I believe I have to bind 'strTest' to a new member. So created a new Property member say dynProp_strTest. I can now use dynProp_strTest to bind to other activities. So far so good. The issue comes up when I try to save this workflow and then reopen it again in Designer. I can no longer see the new member 'dynProp_strTest' that I created. I understand it is getting lost during Save, but do not exactly ...Show All
Visual Studio Express Editions How do I set the fontsize and color of body text using mailto:?
-Visual Basic 2005 Express- I've searched the internet and forums for 2 hours looking for a way to 'programmatically' change an emails font and color in the body. I haven't found anything on either of these. The following code is what I have so far. It works fine but I'd like to change the font size and color. There must be a way... Process.Start( "mailto:" & clemail.Trim & " SUBJECT=Notification%20of%20payment%20recieved&BODY=Payment%20recieved%20" & temp2 & "%0D%0ADate:%20" & Date .Today & "%0D%0A%0D%0AThank%20you%20for%20your%20payment.%0D%0A%0D%0APlease%20retain%20this%20receipt%20for%20your%20records." ) clemail is the customers email address. Any ...Show All
Visual C# Running C# Commands from a parsed text file?
Is it possible, say you have your main program, and when it initializes, it will scan this text file, looking and trying to execute all commands that are listed, like running a method inside the program, or if you put MessageBox.Show("",""); In the text file, or is there another way of doing this, I'm not going to make the program only understand commands that I put in it, through a switch statement, or if statements, I want it to directly interpret it. When using the built in C# compiler (which only requires the .NET Framework (so will work fine without VS)) you’ve got two choices when building... What kind of assembly do you want to build and where do you want to output the file t ...Show All
Visual Studio Team System KB Article on the fix for the "TFS Project comma issue"
I posted a MS Project to TFS problem back in June and was told then that "A KB article on this issue will be released in the next couple of weeks. Meanwhile, you can call CSS and ask them for the fix for the TFS Project comma issue." Can anyone tell me if the KB article has been released TIA Ron L Hello Ron, I will check on the status of the KB article and get back to you in a day or 2. Meanwhile, is there some information I can provide you on this forum Thanks! ...Show All
Visual Studio Team System How to get the VS2003 Plugin for Team System and TeamPlain Eclipse Plugin for Team System?
How to get the VS2003 Plugin for Team System and TeamPlain Eclipse Plugin for Team System Thanks a lot! You may want to repost this question at the DevBiz forum:- http://dev.devbiz.com/forums/15/ShowForum.aspx They are a partner company of Microsoft. Their website says that the plugin will be released in April 2006, but I don't see it available yet so I'm guessing it is still in development. The MSSCCI provider that Yogita points to will give you TFS source control funcationality from Visual Studio 2003. Questions about this plugin are best addressed in the Version Control Forum ( http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=478&SiteID=1 ) If you are after TFS co ...Show All
Windows Forms DataView, CType's Expression & Sqlexpress'Database: Compiler Error BC30469-Reference to a non-shared member requires object ref.
Hi all, I got a Compiler Error BC30469: Reference to a non-shared member requires an object referene [in "Dim dvTable As Dataview=CType(SqlDataSource3,Select(DataSourceSelectArguments.Empty, Dataview)"-see the attached 'Default.aspx.vb' below], when I ran a website "RPD-TCE" in my VWD 2005 Express. /////////////////---Default.aspx.vb---////////////////// Imports System.Web Imports System.Net Imports System.IO Imports System.Data Imports System.Data.SqlClient Imports System.Configuration Partial Class _Default Inherits System.Web.UI.Page Public Class DataView Dim instance As DataView Private Function AverageValue( ByVal Conc1 As Decimal ) Dim dv ...Show All
