Search results for query: *

  • Users: tim8w
  • Order by date
  1. T

    Question Parsing/Interpreting a small defined set of user commands

    Not sure really how to explain what I'm looking for help on. But here goes: I have a small set of commands that I want to let my user select and then I will create a function to implement it. For instance, in our software, we have three main loops. One for the Channel being tested, One for...
  2. T

    Question Checking in/out code on two different PCs

    We are doing that, but as far as I know, there is no way on the 2nd machine to get the same files I have checked out and modified on the first machine over to the the 2nd machine so that they will be in sync. If there was some way to sync the two machines without checking back in the code...
  3. T

    Question Checking in/out code on two different PCs

    We use Team Foundation Server. Is there a way to do it using that? We are still using Visual Studio Pro 2012
  4. T

    Question Checking in/out code on two different PCs

    Is there a way to check in/out code in two locations and keep the code base the same in both locations? Thanks, Tim
  5. T

    Question How do I add a multi-line TextBox to a PropertyGrid?

    JohnH, Thank you for the response. I was getting the error "System.ComponentModel.Design.MultilineStringEditor Not Defined". That led me back to all of the comments about this and it finally dawned on me that I had the "Imports" correct, but failed to add the "Refernece".
  6. T

    Question How do I add a multi-line TextBox to a PropertyGrid?

    I have a standard PropertyGrid and I want to add a filed that will handle a multi-line TextBox. Any ideas? Thanks, Tim
  7. T

    Question CollectionForm Add/Remove Buttons

    SOLVED: CollectionForm Add/Remove/Up/Down Buttons Reed Kimble from the MSDN forum showed me how to do it for the Add/Remove and from his code I was able to add the Up/Down buttons as well: Protected Overrides Function CreateCollectionForm() As CollectionForm Dim collectionForm As...
  8. T

    Question CollectionForm Add/Remove Buttons

    I have subclassed the CollectionEditor to gain access to the CollectionForm and want to be able to know when the Add or Remove button has been clicked. Here's my subclass: Imports System.ComponentModel.Design Public Class MyCollectionEditor Inherits CollectionEditor...
  9. T

    Question PropertyGrid Item Collection changed?

    Is there anyway to determine when an item in a Collection that is part of a PropertyGrid has changed? For a normal item in a PropertyGrid, PropertyValueChanged is triggered. But Nothing seems to be triggered when the PropertyGrid item is a collection. I want to know when something...
  10. T

    Question PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    With the help from a user in another Forum, this is the solution that ended up working: Dim propertyName = e.ChangedItem.PropertyDescriptor.Name Dim pInfo As PropertyInfo = pgSetup.SelectedGridItem.Parent.Value.GetType().GetProperty(propertyName)...
  11. T

    Question PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    Ok. I see where the problem is now. pInfo was Nothing for some reason. I got the info from the input parameter sender, but for some reason when it tries to set pInfo, the GetProperty returns Nothing. At least I have somewhere else to look now... Thanks, Tim Alvord
  12. T

    Question PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    OK, I must be an Idiot. Nothing I try works here. Can you explain exactly what I need to pass for the third parameter? Dim indexValue As Object = New Object pInfo.SetValue(pgSetup.SelectedObject, e.OldValue, indexValue) I've tried everything I could think of. I tried: Dim indexValue As Object...
  13. T

    Question PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    I understand that it's not looking for 'null' or 'Null' or 'Nothing' to be passed for the third variable. Your link shows that it is looking for 'object[] index'. What do I put for the third parameter? Thanks, Tim Alvord
  14. T

    Question PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    Thanks, I fixed the namespace problem as you suggested. It still has the other problem above. VS will not take 'null' and if I leave 'Nothing' there I still get a runtime error on the SetValue line. Details say: "Object reference not set to an instance of an object." for the 'Nothing'...
  15. T

    Question PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    I have seen great examples here and had great hopes that it would work for our application. I need to catch a change in the GridItem and revert it under certain conditions. We are using VB.Net 2012 with .NET Framework 4.0. All the examples I have been able to find use the following code: Dim...
  16. T

    Relax or turn off constraints in your dataset

    Sorry, Figured it out. I removed all the queries from the TableAdapter and started fresh with my Query. Worked correctly...
  17. T

    Relax or turn off constraints in your dataset

    jmcilhinney, I don't mind returning the PK. I'll just ignore it. If I include the PK, it messes up the GROUP BY and I get all records returned. Is there a way around this? Here's the updated query: SELECT ShippingID, CustomerID, SUM(PPA) AS 'CustomerPay', SUM(ABS) AS 'TechPay'...
  18. T

    Relax or turn off constraints in your dataset

    I have created a DataSet in VB.Net. The Table it is connected to has a PrimaryKey. All works fine as long as my SQL Query is a Standard one like SELECT * from.... I want to use a GROUP BY but when I do I get "ConstraintException was unhandled" with the suggestion that I relax or turn off...
  19. T

    Question Getting the outline of a region...

    John, Not sure what additional information you are looking for. As I mentioned, I set the form's region to an irrregularly shaped image. When I do this, I lose all title bar functionality. I don't have a problem with that. I would like to let the user know when the form has focus and my thought...
  20. T

    Question Getting the outline of a region...

    I have a custom-shaped form created by setting the Region to an image. I want to be able to highlight the edge of the form when it has focus. To do this I believe I need to get the outline of the form and convert it to a path so I can draw a two-pixel highlight around the edge of the form. (1)...
Back
Top