Klarita's Q&A profile
Visual Studio ReportViewer - Local Mode - Parameters
Hi there! I've Googled this and searched extensively, and am having a problem finding a good description of how to do this. I have a database with several tables that I need to report on. I'd like for the users to be able to generate custom reports based on specific criteria, which can include data from multiple tables. I'll design the page with the available criteria, but it could contain any number of combinations of criteria to generate the report. It seems that in local mode, I need to generate a dataset for the report viewer to work off of. However, for what I want, the dataset would need to be every table and and every row to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectMusic for Managed DirectX
Hi, I have a question. Is there any plans to implement DirectMusic for Managed DirectX If so, I would like to know when. I'm a fan of DirectMusic and interactive music is important for games. Final Fantasy VIII (from Square Soft but formly SquareEnix, however, I like calling Square Soft since I don't know about Enix that much) makes use of DirectMusic for DirectX 6.1. Grayson Peddie wrote: Hi, I have a question. Is there any plans to implement DirectMusic for Managed DirectX If so, I would like to know when. I'm a fan of DirectMusic and interactive music is important for games. There are no plans to support DirectMusi ...Show All
Visual Studio Team System Changing Drop Location in team build
Hi, We have developers at two different sites. Is it possible to have a single team build type that we can run on build machines at each site using a drop location local to the site Dean Yes, you are right. In Beta 3 we were redundantly passing the DropLocation. We fixed this sometime after Beta 3 and since I tried on my dev box which has latest build installed, it worked. Sorry about it. You will be able to use above approach in RTM. For Beta 3, you can workaround this by overriding BeforeEndToEndIteration target. Add the following code (instead of the above one) in TFSB ...Show All
SQL Server How to use sum and count aggregate functions with xml data type in SQL Server 2005
Hi: I have xml in sql server 2005 beta2 that is stored as an xml data type and I'm trying to run some aggregate functions like count and sum, but I don't know how to do it. The elements are numeric values, but 'sum' and also 'count' return errors. I have included the error message and the sp below. Any ideas how to use sum and count correctly Thanks, Paul ------------------------------------------------------------------------------ Msg 8117, Level 16, State 1, Procedure get_vID_FormXML_summary, Line 11 Operand data type varchar is invalid for sum aggregate operator. ------------------------------------------------ ...Show All
SQL Server How to ignore a dimension in MDX?
So my fact table looks like this: SurveyID ( --> Survey Dimesion) GroupID( --> Group Dimension) StatusID ( --> Status Dimension ... e.g. Complete, InProgress, New) GroupCount (the actual measure) How would I create a calculated member that would return the "overall" count for a specific group in a survey (e.g. ignore Status dimension) regardless if the user is slicing the data by Status or not Thanks again - wgpubs Try this ("ignoring" the status dimension - your exact naming may differ): CREATE MEMBER CURRENTCUBE.MyCount AS '([Status].[StatusID].[All StatusID],[Measures].[GroupCount])'; ...Show All
Visual C++ float to bool, bool to float conversion
Good day to you, Is it always guaranteed that when converting : float to bool 0.0f is false 1.0f is true bool to float false is 0.0f true is 1.0f negating the bool !false is 1.0f !true is 0.0f negating the float !1.0f is false !0.0f is true Thank you much, Dennis It's definately always the case that anything this is zero equates to false, and vice versa ( not sure if a float gets rounded for this, but 1.0 is always true ). I would say that true or not, setting the value of a float from a boolean implicitly is somewhat of a hack. Negating will always negate, if the first two questions are yes, then neg ...Show All
Windows Forms Answer found
xsd files create typed datasets in C# Express 2005. All I need do is add it to the project. But in VS 2003 adding it to the project does nothing. I've tried several other xsd files and none of them seems to create typed datasets in VS 2003 the same way they do in C# Express. Any suggestions please Patrick The code is simple. I add dsMotd.xsd to the project and can type: dsMotd tds = new dsMotd(); In VS 2003 I can't do that. The file reads as follows if that helps... < xml version="1.0" standalone="yes" > <xs:schema id="dsMotd" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microso ...Show All
Visual Studio Team System Unit Testing with a VC++ Unmanaged DLL (Beta 2)
I've been playing around with Beta 2 to try and see if I can get unit testing to work in vc++. I created a win32 DLL unmanaged app with an exported class and a single method. I then added a vc++ test project. In the initializer, I attempted to create an instance of the class in the DLL. This gave all sorts of errors (mixing unmanaged and managed, things not working with clr safe, etc.). My solution to get it to compile was to: 1) Change the win32 dll to be /clr (but still an unmanaged class). 2) Take off the safe mode from the test. This then allowed things to compile and eventually work (once I got all of the files in the right locations to ...Show All
Visual Studio Team System Can't create team project... then check "VSTFWeb " web site...
Hello~ I also can't create team project ... then I check my "VSTFWeb " web site in IIS 6. I to verify the web.config then I saw the string in LocalSqlServer is "data source = SQLEXPRESS...." that's default value, but when I install Team Foundation follow the install guide, we don't insatll SQL Express , aren't we I am not sure does this reason to occur error. any ideas or how to change it to support SQL Server 2K5 April and another question... I saw some demo from TechEd , I find "AdventureWorks" in the demo , but "AdventureWorks" support .net framework 2.0 . if is where can I find that version to install on Team Foundation. Than ...Show All
Visual C++ Code that compiles in VS 6 doens't work in VS 2005
I'm a little frusterated that the VS 8.0 C++ compiler seems to make so many things that worked with the 6.0 compiler cease to work. Many thanks in advanace from a C++ and VS novice! Anyways, I'm just trying to render html wtihin my app, and I'm using the rather cool (http://www.codeproject.com/com/cwebpage.asp) to host MSHTML... but simply trying to get the dll.c file to compile, I run into two errors... f:\visual studio 2005\projects\cwebpage(2)\dll\dll.c(83) : error C2011: 'IHTMLWindow3Vtbl' : 'struct' type redefinition e:\program files\microsoft visual studio 8\vc\platformsdk\include\mshtmlc.h(78746) : see declaration of 'IHTMLWindow ...Show All
Visual Studio Express Editions Open form?
Hi I just wonder how to make one form open a new form and then close it self hi, to open form you can open the origional form form2.show() or you can open instance form2 frm = new form2() frm.show() you can use show or showdialog , show dialog will not allow you to deal with the main form unless you close the dialog to make the form close itself me.hide() or me.close() don't close your start up form or your application will be closed, you can close your startup form if you set this property, right click your project in solution explorer, select application tab, the last option shutdown mode = when la ...Show All
Visual Basic DAta Sources Toolbox functionality reversed
When I am looking at a code window all of my data sources are visible in the data sources toolbox. When I am looking at a form, the toolbox is empty and greyed out and no options can be accessed. This is exactly opposite from how it worked in beta 1, 2 and RC1. Anyone know what the deal is with this As of right now I cannot drag/drop a table onto a form because all the tables are hidden when I am looking at a form. Thanks, Josh Josh: Just in way of follow-up. It appears that I was wrong about the problem the other programmer was having. It appears that the failure of the Data Source to properly di ...Show All
Visual Basic Dynamically Changing Button Properties
I am writing an application where I have a 5x5 array of buttons that I want to dynamically update some of the properties. I have created all of the buttons in the editor and have given then names that reference their position in the matrix (i.e. btnGrid11, btnGrid12, etc.). Based on the button that a user presses, I would like to update the image that is shown. I would like to do this in a loop and the problem that I am running into is that I cannot figure out how to dynamically reference an existing resource. This is an example of what I think the code should look like. I was thinking that I could create a button resource ...Show All
SQL Server FTP Task - Delete remote files always fails
Hello, I have two FTP Tasks configured in my SSIS package. One is for "Receive files" and the other is set for "Delete remote files." Both use variables for the source/destination paths. My remote path variable contains a wild card in the name field such as /usr/this/is/my/path/*.ext and it is working to FTP all the .ext files to my working directory. I then rename the files and want to remove the original files from the FTP server. I use the same variable as the remote path variable in the delete as I do in the receive. Using the same FTP connection manager for both tasks I am always getting a failure on the de ...Show All
.NET Development .Net 2.0 release version breaks VS 2005b2?
I have just upgraded my .Net frameworks to 2.0 release version, and in the process, I had to uninstall the previous beta version and also some other stuff like the compact framework. Now, Visual Studio beta2 is not launching anymore. Is this a known issue With kind regards. Two things. One, ClickOnce docs tell you all about how it downloads the most recent version of the .net framework. Yea it feels like *** when you run into that problem but remember, you are beta testing. You are suppost to be telling them bugs and helping with the overall release... which brings me to the next thing. They can, and did (y ...Show All
