toehlke's Q&A profile
.NET Development Suggestions on how to deal with Inserting/Updating a Master-Detail record
Hi Everyone, I would like to hear suggestions on how to deal with a Master-Detail record. Example: Invoice Invoice Header Includes: Invoice #, Customer etc. Invoice Detail Includes (1 or more) : Item #, Price etc. On the screen I have a grid for the details. When the user clicks save I need to save to the database. What happens if the user deleted a record how do I detect it. Also I don't want to resave all items everytime when updating the invoice. Can someone show me the right way to deal with it Thanks In Advance Your INSERT could be preceded by a SELECT such as //BEGIN A TRAN ...Show All
Smart Device Development Command Shell for WM5
Does a command shell on WM5 exist I have installed the Microsoft Power Toys for WM2003 "PCC Command Shell" on both emulator and physical device and it does not run. Thank a lot for your help. Hello, You may want to post it to Pocket PC developer newsgroup ( http://msdn.microsoft.com/mobility/community/newsgroups/default.aspx ) where it has got better chances of being answered. This group is mainly intended for discussion for Device Emulator with Visual Studio 2005. -Thanks, Mohit ...Show All
Game Technologies: DirectX, XNA, XACT, etc. December 2005 DirectX SDK now available
The Windows Graphics and Gaming Technology Team is proud to announce the latest version of the DirectX SDK, available for immediate download! The latest SDK, as always, can be found at http://msdn.com/directx/sdk . So what's new Well, some of the really cool additions and updates are: - Direct3D 10 Technology Preview: That's not a typo. If you have Windows Vista, you'll be thrilled to get your hands on this _very early_ preview of the new version of Direct3D. - Microsoft Cross-Platform Audio Creation Tool (XACT Beta): Our audio geniuses are at it again. - Managed DirectX for .NET Framework 2. ...Show All
.NET Development xml to relational tables
I need to insert xml documents into multiple relational tables in sql server. What is the easiest way to map the xml to the relevant tables. It was my intention to bring the document into a stored procedure as a string and use openxml to insert into the tables. I have since heard xmlspy can automatically do this. Is this true If so is there any other way of doing this Thanks Danny i dont have the actual code, but the easiest way to do this would be to load the xml documents into datatables within a dataset. Then once you have them in a dataset, push the dataset to whichever type of database y ...Show All
Windows Forms TaskVision client destroyed my PC!
I've decided to repost this message as separate thread cos I don't think it's getting the attention I deserves. Here's the problem... I installed the TaskVision client about a week ago, and immediately after started noticed weird things happening to my PC - suddenly lots of application were missing files. I checked the Program Files folder where they wer ...Show All
Visual Studio 2008 (Pre-release) How to get rid of Microsoft Expression Interactive Designer window?
Hi, I try to run my WinFX Windows application using VS 2005, the xaml always run inside the Microsoft Expression Interactive Designer runtime window after I install the Microsoft Expression Interactive Designer (Window that has forward and backward arrows on the top left hand side). Is there any method to get rid of that window (I am using Grid as document root) You need to contain your content within a <Window> ...Show All
Windows Forms Combobox Usage VS2003 -> VS2005
I need to populate a C# Combobox with potentially several thousand items. I know this is not recommended but this is after horiz data splitting so it's the best I can do. In VS2003, I tried binding to a dataset but this was way too slow so I started loading the Itemlist from a datareader and it worked great. No more than 2 seconds to load several thousand items and memory usage stayed well within reasonable limits. I tried the same code compiled under VS2005 hoping to use Autocomplete and it worked well for very small lists but was many times slower for the normal lists I use. Several minutes compared to a couple of seconds. Additionally, th ...Show All
.NET Development LPT port mode changing
Hi. How I can change LPT port mode with .NET (or even with WinAPI) to EPP mode Regards. Eugene. The team that monitors this forum doesn't work with LPT ports. This forum is specific to the objects contained in the System.Net namespace, so you may not get a response to your question here. I will, however, leave the question open for a while just in case someone from the community knows the answer to your question. ...Show All
Visual Studio 2008 (Pre-release) Plans for Windows Mobile Pocket/PC?
Does Microsoft yet know their plans for Windows Mobile/PocketPC (.NET Compact Framework) for WCF The current netcf distribution doesn't contain non-soap/non-ws support (e.g. binary/tcp remoting), I'm wondering what kind of functionality we might be able to look forward to on a netcf version of WCF. Thanks! Yes, it would be nice to have a stripped-down version of WCF (like WPF will have WPF/E). What you can do right now is to use MSMQ integration binding because MSMQ is supported in .NET CF 2.0. I have tested it and it works (see a previous thread in this forum "Integration with MSMQ on .NET Compact Framework 2.0"). ...Show All
Software Development for Windows Vista Go-Live Runtime
Hi there Just a short question: Are the WF Designer Controls part of the WWF Go-Live Runtime or are they just part of the Visual Studio Extensions Thanks, Sebastian Hi Sebastian, I take it you mean the Workflow Activities when you say Designer Control. All the activities that ship Out of the Box appear on the Toolbox in Visual Studio when you use the Workflow Designer and will execute fine. Thanks Devinder ...Show All
Visual Studio Team System Test Run Error (Beta 2): Deployment from network share is denied by current user settings
Hi all, Beta 2 looks and feels great so far. I am developing in a VM, but keep my project files on a central server, which is accessed through a network shared (mapped drive). When trying to run a basic unit test, this is the error message I get Failed to Queue Test Run '<something here>' with id {2ddc7564-d243-427e-967b-fbb3209a0e94}: Microsoft.VisualStudio.QualityTools.TestManagementInterface.ExecutionException: The file or directory '<path to my dll>' required for deployment is located on network share. Deployment from network share is denied by current user settings. It seems to indicate that there is a se ...Show All
SQL Server Analysis Services 2005 Aggregations?
Hi, When i try to calculate the cube aggregations it will always give me 0 aggregations... why is this happening I have about 10 dimensions and if i remove 3 of them (always the same dims) the aggregations are calculated to about 99% so why the hell with that dims it would not calculate They are Parent-Child Dimensions... Best Regards, Luis Simoes Looks like a bug to me. Can you please try and contact Customer Support and open a case about this behavior. It would be helpful if you will be willing to share your cube design. Thanks. Edward. -- This posting is provided "AS IS" with no warranties, and confer ...Show All
Visual Basic How to work on a copy of a windows form.
Hi, I have a two forms. the second one is 70 percent identical to the first. I don't want to recreate the form instead wish to copy the same form rename it then work on it. when I do this it is not possible to simultaneously work on both the forms. I am getting errors. Is this not possible in VB 2005 or what is the way to do it thanks Hi! You need to create User Control and put there all that is the same. Then you can use this control in your forms just like TextBox or other controls. I don't understand about " simultaneously work on both the forms ". If you need them to display same data - bind to the same da ...Show All
Visual Studio How do you vertically shrink detail section if all the values in a 2nd row of fieldobjects are null.
Im using crystal in visual studio 2005. I have 2 rows of field objects in the detail section of a report. If for a given record there are no values in the 2nd row I dont want the 2nd row to print blank but to have the space vertically "shrink" up so that there arnt a lot of blank rows causing the report to be longer. thanks in advance for any suggestions. Hi, I think the easiest way to do this is to create a detail section below your first row of field objects and that move the second row of field objects into that details section. Then go into the Section Expert on the second details section and c ...Show All
Visual Studio Display string function not working
So I'm using VB.net and Crystal Report viewier to display a report. On the report I have display string codes to interpret numbers as text. But when I run my program all it shows is the numbers within the viewer itself. How do I make it so it processess the display string function even in crystal report viewer. I am setting up the connection information in vb itself. Thanks Mau, Sorry but I don't think your question is understood. Are you trying to display numbers from a database (integer, decimal, long etc..) and convert them to something other than their numeric value (eg. $ 000.00) If you could present some clearer quest ...Show All
