bhayles's Q&A profile
Architecture Restrictive Development- Propagating Architectural Patterns
How does the architect get their architecture propagated throughout analysis, design, and the construction phase I have only found one way to successfully do this. It is what I refer to as Restrictive Development. Here is an overview of Restrictive Development . I would like your feedback on this. Do you use another technique I also think architecture governance is an important issue and I guess in a sense I am doing something similar when I provide "Module Blueprints" as part of the Software Architecture Document. One difference, I believe, is that my ( ...Show All
Visual C++ error LNK2019: unresolved external symbol
I'm getting this error, and I cant find out whats wrong! Can anyone help me flatetrimming_test error LNK2019: unresolved external symbol _les_pci_entitet referenced in function _pdi_main This is my code: #include "stdafx.h" #include <math.h> #include <windows.h> #include <stdio.h> #include <conio.h> extern "C" { #include <pdi.h> } /* Entity digitise mask */ //#define DIG_ALL_ENTS "-255" //#define DIG_SURF_ENTS "50-61" //#define DIG_POINT_ENTS "4" //PROTOTYPER extern "C" long les_pci_entitet( char * EdgeCam_entitet); extern "C" void pdi_ ...Show All
Visual C++ Converting strings to numbers
Sorry for the total newbie question, but it's midnight and my poor brain can't find the answer to this problem in the online help.... It is easy enough to convert numbers (ints and floats) to a string using String::Format. How do I go the other way I have a bunch of numbers given to me by an SQL server in String ^ format. I need to do math with them. How do I convert from String to int or float First check if the character is between '0' and '9', if so, subtract '0' from that value then add it to an int variable. With each new digit, ...Show All
Smart Device Development Getting "Registration failed wirh error 0x8973190e. Error writing file" ... Error 0x80450001
I am trying to register a simple sample grabber filter that I wrote for WinCE 5. It compiles and links fine and I can copy it to the remote device or emulator. But when I try to deploy the DLL I get the error in the title. Any ideas Thx, Tom Are you deploying all your dependent libraries Check out depends.exe to see what you are dependent on (ignore msjava.dll, that's not a real dependency), and make sure they are all on the device and locatable by your app. If they are all present, then the next step is debugging your registration calls. * Switch the register output property on the deployment property ...Show All
Visual Basic Changing Caption in Title Bar
I am currently working on a project that calls for me to change the caption in the title bar to what it says in one of my text boxes. The text box is linked to a database so everytime I use my navigate buttons, the name in the text box changes. How do I change the caption of the title bar at the same time I have been assuming that I do it during the change event of the text box. Please Help You must change Me.Text property, here is an example : Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged Me.Text = TextBox1.Text End Sub ...Show All
Windows Forms DataGrid Not Updating
In my first attempt at using a DataGrid I created one that pulls data from a table in a Microsoft Access database. The data displays fine. I have an update command that should update the row. I have a row updated event handler that checks to see if the update threw any exceptions. It comes back with no exceptions yet my update is not happening. The fields are not read-only so I'm puzzled as to how it could indicate success yet nothing is happening. any ideas No and that is part of my confusion. In the sample code I've seen they make it look like the "updatecommand" line in the .aspx field is ...Show All
Windows Forms Exposing 2-deep properties in databinding
So I have an object I'm databinding to, and when I pull down the list of items to bind to, I want to be able to select the property of an item, but the properties of the custom class I have are not shown, and instead I have to type it in manually. I've searched for a number of different solutions, implement ITypedList, ICustomTypeDescriptor, but I've grown tired of implementing interfaces for the fun of it and not being able to find useful or up to date examples. Let me try to visualize this for you: bindingSource.DataSource = MyObject; textBox1.Text = BindingSource.CustomClassProperty.Name; The problem with the above psuedo-code ...Show All
Visual Studio Demo for Local Mode Chart RDLC
This works: ReportViewer2.Reset() ReportViewer2.LocalReport.ReportPath = strReportPath Me .Show() Me .ReportViewer2.Visible = False Me .ReportViewer2.LocalReport.DataSources.Clear() Me .ReportViewer2.LocalReport.DataSources.Add( _ New Microsoft.Reporting.WinForms.ReportDataSource( _ "DataSetReport_tblMMStats" , MM)) Me .ReportViewer2.Visible = True Me .ReportViewer2.RefreshReport() However, I have seven sets of data to plot and I would like to use one RDLC file to plot them all. Is there a way to change the name of the Chart Title, X-Label, and Y-Label programmatically Else the fall- ...Show All
Windows Forms TextChanged event for DataGridViewTextBoxColumn?
I have a DataGridView with four textbox columns. When the user is entering data in one of the columns, I want to handle the TextChanged event. The CellValueChanged event of the grid only occurs when the user has finished typing and leaves the cell, but I need to capture every keystroke. How would I do that Hi Daniel, Great work! I also had the similar query where I needed to trap DataGridTextBoxColumn's keypress event to allow only numeric values. You have solved the mystery ...Show All
Visual Studio Team System TFS - New Team Project Creation Error - Reporting Services
Hi, I get this error when trying to create a new team project. It used to work the first time I installed it. A few days later, I started the server again and now I get this error... (Single server install)... 05/25/2005 12:53:45.547 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://tfsserver:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0 seconds 05/25/2005 12:53:46.128 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 0.5808352 seconds 05/25/2005 12:53:47.990 | Module: ELeadServiceMediator | Template Information for domain "tfsser ...Show All
Visual Studio Express Editions How do i get hwnd of a rich text box?
In vb6 it was like txtchat.hwnd how do i do it in vb.net ...Show All
Visual C# 'Exclude Files From Project' - Beta 2
How do I 'Exclude Files From Project' in VS 2005 I have a solution that requires files to exists in the directory structure but not be compiled. Where has this functionality moved to Also, what happened to the 'Show All Files' option Regards, I am having the same problem with the same tools. please let me know if you find a work around ...Show All
Visual C++ CWind::Invalidate Problem
Hi, I have a dialog box that allows you to enter text, when you press 'ok' the window underneath, from which the dialog box came, is updated with the new text. Fairly straigh forward stuff. However when you enter into the dialog box the '&' sign followed by anything else, it removes the & sign and underlines the next character in string upon clicking 'ok'. To my knowledge the string is not actually altered because when you re-load the dialog box, which will display the stuff you have already written, the & sign is still there and displayed the way it should. I have managed to track the problem down to the i ...Show All
Visual Studio 2008 (Pre-release) Load XAML File dynamically
Is this possible I'm Beginner in winFX programming and I want to load a xaml file dynamically. For example I make an event handler which load the new Xaml Description from a uri (generated by another application) on event catched and load the new interface in a panel. Have you an example or a tutorial on it Thanks for your help Have a look in the SDK WinFX samples for FlowDocument_LoadSave sample. It does more or less what you need I think. Michael ...Show All
Visual Studio Express Editions Mdi forms title in toolbar!
Hey, im trying to make a Mdi form with a toolbar, and if a new subform is opened, there must be a button added to A tool container, so you easly can switch from maximized screens. Im trying an hour now and still dont get this to work. I hope someone would like to help me :) Thanks Chris This is what I did as a sample to implement this. It is missing the removal of the form when it closes. I added a new form to my project, added a ToolStrip control to it and set it to be a MDI container. I added method to add a childform as a button to the toolstrip. This is the code I have in Form1 (MDI form) after adding Form1_Load event handler ...Show All
