Derek Burnham's Q&A profile
Visual FoxPro How to make a form truely private?
A newbie question: I have a form which I have set it to private datasession. The form has an object which is based on a class: cboacct. This class is a container class which has a cbo and a text box. The cbo takes an acct# and seeks the customer file. Originally the ControSource for the cbo was simply 'acct' and being blobal, it worked fine. I'm trying to use a protected property instead. I have created a protected class property named 'acct'. I've changed the Controlsource in the cbo to this.parent.acct and I'm not sure what I'm doing wrong (Among many things) but I'm getting an error that property acct could not be found... I hope I mak ...Show All
Windows Forms Graphics
I have been doing web development for 6 years (ASP.NET for the last three). I am now tasked with creating a Windows app to provide a subset of functionality for disconnected users that typically use our web app. I need to provide the same look and feel in the windows app that the web app has. I am lost. Since there are no easy ways to create tables and such for layout in WinForms, I was thinking of using GDI+ to create the graphical elements that surround the controls. Is the a good or common practice If not, what should I do If so, what else to I need to be aware of If anyone could provide some guidance or point me to some online resources ...Show All
Windows Forms If you can answer this Overrides Question... you're brilliant and probably way underpaid
I have a treeview control on a form. The TreeView control automatically as part of the .NET framework contains and uses a TreeNodeCollection, which of course you gain access to using objTreeView.Nodes I am able to override the TreeView control without breaking the tinyest of a sweat. Public Class MyOwnTreeView Inherits System.Windows.Forms.TreeView ... End Class Well here's the EEEnormously HUUUUUGE dilemma where MASSIVE brain power would be required to solve... Now that I have inherited the treeview control and overridden various methods/properties in it, I also want to override the TreeNodeCollection that the ...Show All
Software Development for Windows Vista Updating Workflow
Hi, Scenario: a production server with maybe a 1000 instances persisted to a SQL database. A crucial addition to the workflow is done (near the end of the workflow). I want these instance to follow the new workflow if they did not progress past the insertion point. Is this possible Is it as simple as not incrementing the version of the assembly Any issues I should be aware of Thank you in advance. Heinrich heinrich, You can't redeploy a new assembly with a different version. In this case, dynamically updating the existing workflow definitions is the perfect way to go to get the behavior you're lo ...Show All
Windows Forms Category property, System.ComponentModel.CategoryAttribute
There is in MSDN description of CategoryAttribute class : "Notes to Inheritors ... Additionally, you can override the Category property to provide your own logic for localization. ..." but how to do this The only way is to hide that property in inherited class (or I'm wrong...! ) like public new string Category { get { /* localization logic here */ } } that does't work at all... Agreed, it doesn't behave exactly as documented. Microsoft appear to have forgotten to declare the Category property as virtual. Earlier on in the Notes to Inheritors paragraph it a ...Show All
SQL Server SQL Mapping Almost Complete
I created my SQL databases and my mapping schema to bulkload my xml files. I’m able to bulkload into the Pdata table without any problems. My Claims table adds one line to the table with the B110 ID number, but no other data is uploaded. I believe the problem is in my mapping of the SQL fields. Please take a look at the code below. Thanks Charles W __________________________ XSD File < xml version="1.0" > <Schema xmlns="urn:schemas-microsoft-com:xml-data" ...Show All
Visual C++ MDI Projects in Visual Studio
When I create an MDI project in MFC using Visual Studio (Version 5), the Wizard only presents me with the opportunity to create a single document and view. Of course the reason to create an MDI project is to support multiple documents and probably multiple views. While it is possible to manually add additional view and document classes and link them together with a multidocument templet macro, this seems like the wrong way to do it. It seems like Visual Studio should support this common and necessary operation. My question: Does Visual Studio provide any support for this If so, how is it done Martin, Thanks for your help. You did answ ...Show All
SQL Server Create a table of temperature
Hello, I don't know how to make this : 1 table containing list of cities 1 table containing date and temperature both linked by IdCity how can i create a table to display cities in rows, date in colums and temperature at intersections Thanks ! Please take a look at the pivot operator in Books Online. You can generate the cross-tab type of report using that. This however requires knowing the values of date since that needs to be used in the pivot clause. ex: select crp.CityName, crp.[20050101], crp.[20050102] from Cities as c join CityReadings as cr on c.IdCity = cr.IdCity pivot (max(cr.temp ...Show All
Visual Studio Express Editions lines with vectors
is it possible to draw a number of lines at specified lengths in any direction, using the co-ordinates of a userform i need to creat changing diagrams with the page. cheers hi, you can use System.Drawing in general to draw shapes , regarding to charts open FAQ thread at the top of this page you will find 2 posts that talk about this hope this helps ...Show All
SQL Server Updating data
Hello. Is it possible to somehow update data as it is copied from source to destination using SSIS. Currently I extract data from Database A, load it into database B, then clean/update the data in database B and then load it into database C using DTS on 2000. What I would like to do is extract data from database A, clean/update it, then load it straight into database C without having to load it into database B first. I am unable to clean/update the source data in database A, as this would be the obvious thing to do. Thanks. The way to do updates from the pipeline is to ...Show All
Visual Studio Team System Question on Mappings
What exactly is the purpose of the Microsoft.VSTS.Scheduling.TaskHierarchy server field for There is no equivalent mapping in Project so i was hoping someone could explain it to me. Thanks! Jeff Support for round tripping hierarchies between MS Project and TFS was added in Rosario November CTP. Refer to the following blog posts for more details on this CTP. http://blogs.msdn.com/jeffbe/archive/2007/11/28/november-rosario-ctp-now-available.aspx http://blogs.msdn.com/bharry/archive/2007/11/28/november-rosario-ctp-is-available.aspx ...Show All
Visual Studio 2008 (Pre-release) Setting Image Source In A DataTrigger
I'm trying to do the following but it doesn't work: <Image HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,5,0,0" x:Name="connectionImage"> <Image.Triggers> <DataTrigger Binding="{Binding Path=Type}" Value="UNKNOWN"> <Setter Property="Source" Value="pack://siteoforigin:,,,/Pillars/PCHealthSecurity/Controls/InternetConnection/Resources/no_connection.png"/> </DataTrigger> . . . </Image.Triggers> </Image> Can anyone tell me why Do I need a converter ...Show All
Visual Studio Team System "Open from Source Control" Problem
Hello, I have problems to open a solution for Source Control using the menu item "Open from Source Control". Does this feature already work Regard Stephan Cool! Glad it worked out. Do you have any idea how that might have gotten messed up Did you change your drive letters perhaps ...Show All
SQL Server TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host
We are getting a problem when the below error Log Server: SQL Server 2005 and SP1. Then, All the Web Servers will drop all connections and stop the network service. Later, the network service will start up automatically but all the before service is dropped. We would like to know the error coming from Error Log ================ TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1309 Date: 4/29/2006 Time: 10:48:47 AM User: N/A Computer: 88DBWEB0 Description: Event code: 3005 Event messa ...Show All
Visual Basic Splash Screen
Vb .net if I create a spash screen and load a new form - when I dispose of the splash screen it kills the entire application. Any ideas or better methods to doing this rich I added it to the form closing event and it worked awesome! Thanks for your help... rich ...Show All
