Search:

Type: Posts; User: tim8w123

Search: Search took 0.02 seconds.

  1. VS 2012 Re: Parsing/Interpreting a small defined set of user commands into VB.Net code

    jmcilhinney,
    Thanks for the suggestion. I ended up deciding to do the coonversion from the "Psuedo Code" to actual VB.Net code from my project. Then I will call CompileAssembyFromSource(). The...
  2. VS 2012 Parsing/Interpreting a small defined set of user commands into VB.Net code

    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....
  3. VS 2012 Re: How do I add a multi-line TextBox to a PropertyGrid?

    What I really needed was to use "MultilineStringEditor", but I kept getting the error "System.ComponentModel.Design.MultilineStringEditor Not Defined". I had the "Imports" correct in my code, but was...
  4. VS 2012 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
  5. Replies
    2
    Views
    2,190

    VS 2012 Re: CollectionForm Add/Remove Buttons

    jmcilhinney,
    I need to be able to trap the changes made to the collection (Add, Remove, Up and Down). We only want certain users to be able to change the collection.

    Reed Kimble from the MSDN...
  6. Replies
    2
    Views
    2,190

    VS 2012 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...
  7. Replies
    0
    Views
    1,026

    VS 2012 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...
  8. VS 2012 Re: PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    Awesome! Now I get a valid value for pInfo and the pInfo.SetValue works!


    Dim propertyName = e.ChangedItem.PropertyDescriptor.Name
    Dim pInfo As PropertyInfo =...
  9. VS 2012 Re: PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    Get the same result with 'pgSetup.SelectedGridItem.Value.GetType().GetProperty(propertyName)'. PartInfo is 'Nothing'You mentioned that "If you really want to stick with the PropertyInfo approach"......
  10. VS 2012 Re: PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    'propertyName' is 'RatiometricAdjust'. See below screenshot.

    161141
  11. VS 2012 Re: PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    jmcilhinney,
    In this case, GetType() returns {Name='Boolean" FullName = "System.Boolean"} so I think it's returning the correct type.
    Also tried the Int32 item and the GetType() returns...
  12. VS 2012 Re: PropertyGrid PropertyValueChanged SetValue not working in .NET 4.0

    OK. I have determined that the PropertyInfo is Nothing for some reason. Here is the entire code. Any ideas on to why the PropertyInfo would return Nothing?


    Private Sub...
  13. VS 2012 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...
  14. VS 2012 Re: Inserting Text to the beginning of a RichTextBox maintaining colors

    Looks like it works if I change the order a bit:


    txtStatusLog.SelectionStart = 0
    txtStatusLog.SelectionLength = 0
    txtStatusLog.SelectionColor = Color.Red
    txtStatusLog.SelectedText = ("ERROR:...
  15. VS 2012 Inserting Text to the beginning of a RichTextBox maintaining colors

    I have the following code:


    txtStatusLog.SelectionStart = 0
    txtStatusLog.SelectionLength = 0
    txtStatusLog.SelectedText = ("ERROR: " & MyUpdate & "(" & Now & ")" & vbCrLf)...
Results 1 to 15 of 15



Click Here to Expand Forum to Full Width