Booker's Q&A profile
Visual Studio 2008 (Pre-release) Binding to PathFigure.StartPoint. AKA whats wrong with this XAML?
I have an ItemsControl that holds a collection of objects. It makes use of an ItemContainerStyle that looks like the following <Style TargetType="{x:Type ContentPresenter}"> <Style.Triggers> <EventTrigger RoutedEvent="TextBlock.Loaded"> <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <ParallelTimeline> <DoubleAnimationUsingPath &n ...Show All
Visual Studio Subreport, business objects, VB, Local report
I've been looking at the Orders example (from GotReportViewer.com) and some of the other examples, trying to figure out how to get a subreport to work using business objects. I seem to have it all correct but I get: Error Subreport could not be shown. I'm using AddHandler for the LocalReport.SubReportProcessing call and it seems to work because the Subroutine gets called for each master record in the report. I have the parameter to tie the main report to the subreport; my key field is text instead of the example's integer but that should be ok. My datasource for the subreport is a List (of ) detail records. Is there any way to find out just ...Show All
Visual Basic Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Develop a console program that calculate and displays the charges for each customer who parked a car in this garage yesterday. ...Show All
Visual C++ Visual C++ lagggggggg
I am currently looking into which language I should stay with, I feel like C++ is being abandoned and C# is being moved in. What do you guys feel is the better language for game development and 3D tool design, ie CADs and etc. Hello There, I completely agree with you with the changing scenario it is clear that C++ is being abandoned and C# being promoted. May be in due course of time C++ will find place only as a reference (may be thats a lil exaxaretion) Coming to the point dear C# offers good and advanced features to people like us who are into Game development or Web development (I am into ...Show All
Visual Basic Is there any free syntax highlighting componet for .Net Forms
Hi, I'm just wondering if there is any free syntax highlighting componet for .Net VB Forms. I googled but didnt find any except Actipro's component for web pages. Any help is appreciated Thanks Vijay S my approach was almost entirely RegEx based with the goal of output to XHTML. The link above works for me, but here is some of the code in case you are experiencing problems with the link. this is the converter code -- there seems to be an issue with memory remaining allocated which is why the explicit GC calls are being done. Imports system.Text.RegularExpressions Imports System.IO Imports System.Windows.Forms Imports ...Show All
Visual Studio Problems with .net 2.0 beta 2
I tried installing visual basic 2005, the installer download all the files and ran through the install then after that had all red crosses next to everything and said that .net framework 2.0 beta 2 had failed resulting in everything else failing, I have read other posts on this and tried installing after downloading from microsoft manually and recieved this error: Error 1719 Windows Installer Service cannot be accessed, this can occur in safe mode and if the installer isnt installed correctly, I followed this up and read about it on microsofts site and neither reinstalling or re-registereing works, and I can install any other program fine, i ...Show All
SQL Server SQL Server 2005 express maximum database quantity and size?
I whant to now how many database of 4GB is alow in 1 instance of SQL Server 2005 express. Is it 1 of 4GB, 2 of 2GB etc... The 4GB maximun is it for the instance of the server. Tanks ...Show All
Windows Forms Best practice
Hi I'm interested to know whether there is some scaleable way of managing menus and toolbars in an MDI application. I have found out about Command/Mediator design patterns recently, but haven't found a way to control the enabling/disabling of options in an MDi app. I thought about having a base child form, with a standard interface of methods and deriving ...Show All
Windows Forms Problem in DrawLine
In one form of my VB.NET Windows application, I have a picturebox. I need to draw a line (using known coordinates) on picturebox when the form is loading. Following is the code I wrote in my Form_Load event. Private Sub frm_Load(ByVal sender As Object, ByVal e As System.EventArgs) _ Handles MyBase.Load PictureBox1.Re ...Show All
.NET Development Displaying data from linked fields
Hi, I've got this link table, lets call it "Link". It has 3 fields: ID, RepresentativeId and CityId. There are two other tables called Representatives and Cities, each with another ID. Link.RepresentativeId <-> Representatives.ID Link.CityId <-> Cities.ID Now... I want to display a drop down which returns the ID of the Link as the value, but the Display Member should be a text contatenation of the representative's name and the city name. How can I manage this Thank you, Bram You have to add an expression column on Link table with the following expression: Parent(Representative_Link).FirstName + ...Show All
.NET Development Mutiplayer game using Remoting
some body tell me how to handle multiplayers in remoting using TCP channel i mean how i can identify clients on the server side. Don't use remoting for this! It is never designed for outbox connections and suddently not for multiplayer games ...Show All
Windows Forms DropDown - easy newbie
Hello all, Can someone please tell me how I can implement a simple design time dropdown for a property of my control. I can not seem to find any examples of this. I need to place two possible values in a dropdown. I can get my property to show, but is just has an editable textbox. Thanks for any help, Troy thanks Tony, much ...Show All
Visual Studio Team System Merge tool
Is the Merge tool that TFS uses available to run standalone The reason being, I have a set of files that may be different to what is checked in and I want to merge my changes with the latest version from TFS SCC. Thanks Graham Graham, did you check out the files that you wish to merge If so you'll get conflicts when you run get or check in if the files on the server are different that you have checked out. If you don't have the files checked out, you can also make sure that the files are not readonly (that's very important) and then run get. Get will mark each file as having a conflict and the co ...Show All
Visual C++ problem having vc7.1 and vc 8.0 express on same machine
hi, i have installed vc 8.0 express + platform sdk on my machine where i had already a working vc 7.1 C++ standard installation. btw: i work only with C++. vc 8.0 worked fine after installation, but vc 7.1 studio has now a problem with linking. i get always a fatal error in following form: ... fatal error LNK1173: unable to find entrypoint 'DllGetObjHandler' in E:\Programme\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll i have deinstalled vc8.0 and vc7.1 and installed vc7.1 again, but it did not help. the problem remains. on internet i could not find any useful information how to fix this problem. please help as i don't want to ha ...Show All
Windows Forms Pressing <Esc> will trigger validation of contents of UI-element
Hi, In our forms we have the problem that after entering invalid input in a textbox, pressing the <Esc> key will trigger the validation of the textbox contents. In the same situation, pressing the CancelButton of the form will NOT trigger the validation. We thought the behaviour would be the same for both situations, but it is not. How to achieve that both situations behave the same. Note: it not only happens for the textbox but for all input controls. Note: we checked all controls for the setting of CausesValidation (for the CancelButton this is FALSE, for the form this is FALSE). regards, Henk That is because ...Show All
