RonaldS's Q&A profile
SQL Server Reporting service with sql server 2005
I am developing an application using Visual C# 2005 and SQL Server 2005. I would like to make report services from feature of SQL Server 2005. Can I make report from reporting service with SQL Server 2005 How to make the report service Best regards, Simba Hello, I use Visual Studio 2005 and SQL Reporting Service 2005. My computer is windows 2003 Server. I have created one reporting service project. In my project, I ...Show All
Windows Forms .NET Label not Refresh()'ing
I want to display status of a certain for loop using a label. for ( int i = 0; i < 20000000; ++i ) {e label1->Refresh(); label1->Text = i.ToString(); } If I execute the above code, the label will go to ~2000 and then the form will just crash. I realize that it has to do with the screen refreshing, so I tried something like this which works great for the i's that mod w/ 50000. for ( int i = 0; i < 2000 ...Show All
Visual Studio Adding/Removing project items
Is there a way to add/remove items from a project using MSBuild I want to add a standard AssemblyInfo.cs to my projects during build time. I know I can add a link to the same AssemblyInfo.cs in each project, but for some internal reasons I cannot do it that way. Thanks No, because I can't modify the .csproj itself... The AssemblyInfo scenario was my 'simple' scenario. We have a tool that generates C# ...Show All
Visual Studio 2008 (Pre-release) How to force content to fill window on maximize
I've got a viewbox, and everything resizes fine when using the drag handle, but I'd like the same behaviour on a maximize is this possible Simon Sorry for not getting back to you earlier. http://www.quarrie.net/CourseSetter.zip I have a viewbox with a canvas, which has two canvas' which in turn both have user controls on. The map is based on a canvas. I haven't got the code anymore as I rebuilt the main window from scratch. ...Show All
Visual Studio Tools for Office Drag outlook contacts into my app
hey howzit its easy to import contacts from outlook in code...but what i wanna do is be able to drag an outlook contact straight from the running Outlook Application itself into my running C# application...can anyone help So far I am able to drop random files into a listbox using this tutorial: http://www.csharphelp.com/archives2/archive365.html but its still doesn't provide me will the ability described above Thanks ...Show All
.NET Development tranforming the XSLT file
Hi, I had a problem while tranforming the XSLT file, I have an XML(source) file I have a xml element like this <ProductCodes field="01">E SF AFN </ProductCodes> While tranform the XML should like this <ProductCodes> <ProductCode>E <ProductCode> <ProductCode>SF<ProductCode> <ProductCode>AFN <ProductCode> </ProductCodes> can any one sugg ...Show All
SQL Server Time Intelligence gives this failure if X64bit installed on a different drive
TITLE: Microsoft Visual Studio ------------------------------ Could not find a part of the path 'C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Templates\OLAP\1033\TimeIntelligence.xml'. ------------------------------ BUTTONS: OK ------------------------------ SQL Server is installed on D:\SQLServer2005 (x86). and the XML file is on the D: drive. Has anyone come across this Here is previos po ...Show All
Visual C# Creating instance of Generic type using parametised constructor
Hi, Why does the code below not work I've constrained the T type of the Bar class to be a "Foo" but I still get compiler error "Error 1 'T': cannot provide arguments when creating an instance of a variable type" (beta 2 - 8.0.50215.44). Since I've constrained T to be a class rather than interface, shouldn't I be able to use the Foo(int) constructor Is there another way of doing the same thing In my case, Foo is an algorithm (i.e a nume ...Show All
Visual C++ VS 2005 (without .NET): App Freezes for 30 Seconds or more
Greetings! We have a 300,000 line C application that I've been building for 11 years through multiple versions of Visual C / Visual Studio. We keep most of our constants in one file called "constants.h". When I go to the edit this file, the newest VS ("VS 2005") will often freeze. I believe it is busy recalculating "browse" information on the fly. That is, if I change the value of a '#define', it seems to be recalculating all these value ...Show All
Software Development for Windows Vista Registry Access in Managed Form Application
Hi, I'm developing a C# .Net 2.0 application that requires read/write access to the registry. I'm using the following code: using Microsoft.Win32; ... regkey = Registry.CurrentUser.OpenSubKey(@"SOFTWARE", true); regkey = regkey.CreateSubKey("MyCompany"); On Vista the new permissions lock down, I get the registry access denied exception. How do I elevate the permissions level so that the user at least is pro ...Show All
Visual C# How to change the color of a substring?
for example: string newStr = "The color is red"; label1.Text = newStr; output: The color is red hi, no you cant, if you want to you have to override onpaint event handler for the treenode and to draw it yourself you can learn more about drawing in this link http://www.bobpowell.net/ hope this helps ...Show All
Visual Studio 2008 (Pre-release) Not getting the mouse events on the Canvas that is place in a FixedPage
I am using a documentviewer control that has a fixed page on it which displays a canvas. The problem I am having is that the mouse events are not received by my canvas. I am trying to insert UIElements on the canvas using the mouse. I have noticed that the cursor looks like the fixedDocument cursor not the canvas. Any ideas what I need to do or what is wrong Thanks. ...Show All
Visual Studio Express Editions 20 errors Missing file ms???80.dll where ??? is several possible letters
After installing Visual Studio 2005 Express and running a System Check with Norton WinDoctor, twenty (20) Program Missing File errors were found. 1:Program files \Microsoft SQL Server\90\Setup Bootstrap\ARPWrapper.exe" cannot access a necessary file - msvcr80.dll The rest of the errors are very similar. Which library am I missing or is it inherent to the Express version of VS We've had a lot ...Show All
SQL Server Retrieving a piece of datalogged equipment by most recent time
The TSQL below all works except the bolded part at the end. I'm want to grab only the most recently logged piece of equipment not the most recent and all past ones as well which is what I've got doing minus the bolded part below. But I don't know how to say get this Equipment ID etc and only the most recently logged one to find its present location. The bolded part below is just there to show what I want it to do I know you can use an aggregat ...Show All
Visual Basic Accessing Public Function located in another Project referenced within the same Solution
I've to a solution with two projects: Bungalow New Programs New Programs has a ref to Bungalow. Bungalow has a Module called Bungalow which has a Public Function (clone_control()) From within 'New Programs' I can not access Clone_Control. However, if I drag (wihin the Solution Explorer) the Bungalow module from Bungalow to New Programs, then it works OK. I thought that adding a reference was like lett ...Show All
