Leonardo Rodriguez's Q&A profile
Visual C++ beginner C++
Still in class for intro to C++ and I'm working on one of the labs. In this lab, the program prompts the user to input a number (x), from there the program sums up the numbers from 1 up to (x). For example: input sum 1 1 2 3 //(2+1) 3 6 //(3+2+1) 4 10 &n ...Show All
Visual Studio Tools for Office Installation 2 or n times
Hi everybody, I have now a very good setup package of my VSTO solution. But I still got one question. Is it possible to install the mySolution.msi file twice Run the setup after it was allready installed. I meen the the same file not a higher version or recompiled or something. Just install a solution twice. What I get now when trying this is : "There is allready a version of this software installed." after the message the setup aborts. How could I get a dialog like: "Do you wan't to remove or repair or reinstall the application " Without write a lot of code. Or how could I at least force a multiple inst ...Show All
SQL Server infromation about accuracy of the mining model problem
Hello! I have a problem getting information about accuracy (percentage of the right predictions) of the model using DMX. Is it possible to get information about accuracy of the model using DMX I didn't find any useful function... My second idea was to build and process the model. And then compare states of the predictable columns of the test data to states that the model predicts on the same data. And count them. That would be the way to get percantage of the right predictions... The problem is that usage of the function COUNT is not allowed I tried:SELECT COUNT(*) FROM [My Model Name].Cases and it didn't work like in standard SQL... Is it ...Show All
Visual C# Property to retreive value from the ArrayList object which supports the .NET frame work
hi, I thought i can use Item[] property to retrieve the value of array list at a particular index. In my case, I have created an object to ArrayList class and added some values to it. What i want is to retrieve the values randomly. The only problem is, I am unable to use the Item[] property as i am working with my project on .NET frame work. Please help me and solve the problem very soon. return (Room) listRooms[random.Next(listRooms.Count)]; ...Show All
Visual Studio Team System How to force Repository Refresh?
Hi, is there any way to refresh the repository on demmand or the only way to do something like that is to set a small refresh time Thanks a lot Thank you for the details. For these cases, you can manually run the adapters and process the cube by invoking the Run webservice by following these steps: - Log onto the application tier. Browse to http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx Click on GetWarehouseStatus, and then click the Invoke button. Wait for it to be idle. It should return ProcessingAdapters (pulling data), ProcessingOlap (processing the cube), or Idle. - Browse to http://localhost:8080/Wareh ...Show All
Visual C# How to format a single TextBox (Found Solution from another forum)
HI, Coming from a ‘ Oracle Developer ’ background and just entering C# developments I am kind of disappointed with C#. I mean you have to write tons of code to do anything. Also the number of web sites you have to go to and also the amount of on-line help you have to read in order to learn even a simple operation really frustrating. All I want to do is this. I have a database table called EMPLOYEES and I have created a form for it . The form works fine. All I want to do is format the SALARY column to this format: 999,999,990.00 (I.E. if salary is 49749.55 then it should display 49,749.55). ...Show All
Visual Studio 2008 (Pre-release) XAML (office 12) Ribbon control
Hi, is there or are there plans to build an office 12 ribbon control for XAML The 'ribbon' definition in office 12 is already in a XAML like XML format so why not imediatly build a XAML version of the whole office 12 ribbon concept And make that available for all developpers so that we can really have a cross application vista experience for the users. Best regards, Kris I thought "ribbon" is nothing more than scrollable panel... Why you need special construct ...Show All
SQL Server Issue while migrating DTS package to sqlserver 2005
I have a DTS package has ActiveX Script in sqlserver 2000 which I am successfully able to migrate to sqlserver 2005 but while executing this package it's not able to read dtsGlobalVariable. does any one has solution for this ...Show All
Visual Basic From readonly
Hello, How can I make all the textboxes in a form readonly, or the hole form readonly, or the datatable readonly Marcel In general I'd prefer to localize something like "readonly", rather than to make it form wide unless there were a large numb of controls to be treated uniformly. ...Show All
Visual Studio Team System ASP.net Unit tests and web application set up using a header.
I have tried to use ASP.net unit tests against a web appilcation. The web applications URL looks somthing like, vdir.localhost .domain.com . IE is able to access the website, no problem. But the unit tests are unable to find the directory. I notice that none of the help files discuss testing against a web application that has been created using host headers. The question is, is it posible to test a web application using host headers If so, what might I be doing wrong Thanks guys!! Dan Host headers aren't something that we explicitly worked to support in this version, so I can't guarantee that you'll be able to get th ...Show All
Windows Forms .NET Framework 1.0 deployment with "/Q" command line option
Why doesn't the "/Q" (Quiet install option) command option work when I install the .NET framework on my PC (W2K Pro). Once executed it asks for user intervention to continue the installation via the wizard. I am trying to get SP2 out but I can not do this unless I have SP1 on the system initially. This is an urgent request.& ...Show All
Visual Studio 2008 (Pre-release) Styling Issues - Designer Errors
Sometimes, when I try to write styling xaml code, I get an error from the designer on TargetType attribute: < Style x:Key = " {x:Type ListBoxItem} " TargetType = " {x:Type ListBoxItem} " > which says that the value is not of a desired type: Error 1 Object of type 'System.Windows.Markup.TypeExtension' cannot be converted to type 'System.Type'. And one more question: When creating a gradient background in Sparkle, it adds additional <GradientStopCollection> under for example <LinearGradientBrush.GradientStops> tags which "Cider" warns it's incorrect, what's that again Are these ques ...Show All
SQL Server Launching the Reports From Browser
Hi friends, We have developed the Reports using SQL Server Reporting Services 2005. In order to make our all reports dynamic we are referancing DLL in all our reports. That DLL we have pasted in D:\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\bin C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies So when we observer the reports from Preview tab then we can see the effect of our DLL and all reports are working fine. Now we want to launch all reports on browser. So we are giving the URL path as http://localhost/ReportServer But as per the SQL Server 2005 Reporting Services by Bria ...Show All
Visual C# I Lost My Object's Reference In The Current Context
Thank you for any assistance available to the new guy ! A "code sample" of what I'm trying to do is provided below. 1. While running in the Main method in the MyApplication class, I can instantiate and reference members in a second InitConfig class. I'll name this instantiated class object my InitConfigBuilder . myInitConfigBuilder has a number of properties/methods that provide useful configuration information that could be used throughout my overall application. When I access MyInitConfigbuilder from Main I'm still under the control of the original MyApplic ...Show All
Visual Studio Tools for Office Refresh XML Data programmatically.
In Excel 2005 menu, there is a function called "Refresh XML Data" under menu Data/XML/. I wonder how can I call this programmatically, so that when the worksheet is opened it will refresh the data automatically. Thanks! It is actually very easy to find out how UI commands correspond to Object Model calls by using Macro Recording. I just went to Tools->Macros->Record New Macro and then clicked on "Refresh XML data" then pressed ALT+F11 to open VBE, navigate to Module1 and checked out the macro that was recorded for me: The result was ActiveWorkbook.XmlMaps("moo_Map").DataBinding.Refresh And ...Show All
