Carsten Loeffler's Q&A profile
Windows Forms How to run a function from a MDIi Child in a MDI Parent
Hello all, I have one problem, I want to execute a function I have in my MDI Parent from a MDI Child that is owned by the MDI Parent, and I just cand find a way to do it. If you coi~uld help me, I would apreciate. Thanks in& ...Show All
Visual Studio 2008 (Pre-release) IValueConverter
Any one know which assembly\namspace IValueConverter lives in Last I heard it was System.ComponentModel but it appears to have moved Andy System.Windows.Data It was moved to System.ComponentModel in a previous CTP Andy ...Show All
Visual Studio 2008 (Pre-release) Invalid PropertyDescriptor Value -- please help!
I'm using the Feb CTP, and I'm trying to use a property in a trigger. Here's the specific XAML: <Window x:Class="TestThingie.Window2" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Title="Renamer" Height="300" Width="300" > <Window.Triggers> <Trigger Property="Test" Value="True"> <Setter Property="Window2.Background" Value="Blue ...Show All
SQL Server add date range filter - brand newbie to reporting services
I've used report wizard to create a report - one of the fields in the report is a date field. I simply want a From Date: and To Date: filter which enables a user to select a range of dates to filter results. I know how to do this in .Net, but am not sure how to achieve this in RS. If anyone could shed some light, or point me to an thread which describes a similar process, I'd appreciate it. thx If you are using Visual Studio then for th ...Show All
Visual Basic How to store Data ?
Hi everybody, I'd like to ask you because I just can't decide with technology to use. I have a small application without a DBMS. But I need to store and provide some Data (Text). And of course I need to add, delete and edit all the Text. A Database would be great but I need something else. What else could I use XML Problem is I don't know much about the .Net XML Classes. And I also don't have much time to learn. TXT or CSV Is there still somet ...Show All
Visual Studio Can't get Build Rules add-in to launch
I had Build Rules add-in work with a project. Now I want to use it for a different project but the add-in doesn't load in VS. How do I force an add-in to load I also tried to launch VS by devenv /setup. I get a DOS box and what seems VS was going to launch and then it disappears. What gives Abdu I recently used that Add-In (PrePostBuildRules) and, as you can see, it is actually from Microsoft (it is part of ...Show All
SQL Server Sql Question
I have a table that stores Firstname and Middle name in Field 1 and Lastname and Suffix name in Field 2. I have to seperate the first and middle name and put in 2 fields. But the problem is I cannot just check for the space inbetween. since some first names have spaces in between. And then another space for Middle name. Same with the lastname and suffix. How would I seperate these fields into different columns. ...Show All
Visual Studio How to read and write ".dng or dwg" file in C#?
Hello Keith, My code: FileStream fs = new FileStream (pictureName, FileMode .Open); BinaryReader br = new BinaryReader (fs); DataRow row; row = aDataSetImage.Tables[0].NewRow(); row[0] = br.ReadBytes(( int )br.BaseStream.Length); the coding above I's used to read a file into byte[] but I can't some file which were be format ".dng and dwg". Can you help me to read those files I look forward to your relay as soon as possible, Tha ...Show All
.NET Development Sharing a software process with my business network
Im trying to find out a way on how to share my application process with the rest of my business computers network. We have over 20 computers that have an average of 2.5Ghz CPU and they only use 10 to 20% of the CPU capaticity daily. So it ill be nice if i could use the 80% of does CPU's so i can execute same major BIG process from a distance software under my local intranet. Any link, ideas, tutorials or help will be well appreciate ! ...Show All
Visual Studio Team System Why am I not able to change the app config file using the assembly initialize method of a unit test?
I have spent some time trying to figure out the best way to use different app config files for a unit test. I have discovered, at least to the best of my knowledge, that the only way to use an app config that is different then the one that lives with the project is to use the setup scripts via the testrunconfig. Please, someone tell me that I would be able to test more then one app.config file per test solution with out having to ...Show All
Visual Studio Tools for Office How to group RadioButtons in Excel
Hi! How does one group RadioButtons in Excel using VSTO I would like to have an cell where i have 5 RadioButton, and the user can only select one of these. Best regards Christian Jorgensen, Denmark Have a look at this topic in the documentation: http://msdn2.microsoft.com/en-us/library/ms178765(VS.80).aspx Specifically, it says: You cannot use a GroupBox control to contain other controls on ...Show All
SQL Server Creating a row guid in SQL Express
I am an asp developer who is finally serious about learning .net. I have downloaded SQL Express and am working through the ADO Step by Step book. I can easily create a table and set all the columns. What I cannot do is create a row guid. The option for this is grayed out in the column properties window and when I try to set a field in the "Row Guid Column" in the right side properties window I get an error mesage stating the field must ...Show All
Windows Forms Filling TextBox with search results linked to DataGridView
In Visual Basic 2005 Express I am working on a simple search application to search a SQL database table (FullDocuments) using TextBox1 and Button1 to enter search criteria and DataGridView1 and TextBox2 for the results. Once the search is completed, I want the user to be able to click a row in DataGridView1 (which contains the FullDocNo and DocType) and have the full text (from the database column “SectionText) show up in TextBox2. T ...Show All
Visual C# IVsaSite vs ICodeCompiler
I have an application that makes extensive use of IVsaSite, specifically it generates VB code, and adds a number of "Global" objects such as an execution context, value evaluators,..... Now that I have upgraded to .NET 2.0 all IVsaSite references are considered to be obsolete and will not be supported in the future. The warning message suggests using ICodeCompiler instead, however I can find no way of allow access to named global ...Show All
Windows Forms TaskVision: Danger of BadPractices
Hi! Since TaskVision doesn't follow any of the Microsoft Patterns (as a matter of fact it doesn't follow any pattern at all, it doesn't even follow the ADO.NET API or WindowsForms.NET API) and so many people is downloading it, using it, and&n ...Show All
