Search:

Type: Posts; User: CodeDabbler

Page 1 of 5 1 2 3 4

Search: Search took 0.13 seconds.

  1. Replies
    6
    Views
    827

    Re: Cross class updating.

    Would the Observer Design Pattern work in this case?
    You would not have to loop through anything, just handle a notification when the state of an object changes
  2. Replies
    6
    Views
    951

    VS 2015 Re: Controlling Textbox Input

    This Code Bank submission from @jmcilhinney is...

    very useful in projects
    excellent to learn from
    able to solve all of the issues you're trying to handle



    Link>>>...
  3. Re: General Question about organization...

    Totally get this...

    unfinished < done

    @tg-
    Thanks, I see how organization would depend on shop conventions.
  4. Re: General Question about organization...

    To all,
    Thanks for your insight thus far, I really appreciate it!

    @Sitten-Spynne-
    Thanks for your description/explanation/rant.
    I code as a hobby, so I lack real-world experience with respect...
  5. General Question about organization...

    If I have a project with several classes, it seems to make sense to author them and contain them all in one solution.
    This seems to keep thing nice and tidy, but reusing a single class in other...
  6. Replies
    5
    Views
    612

    VS 2013 Re: Add ANOTHER label to a message box

    You can...

    MessageBox.Show(txtName.Text & " " &_
    lblTotalCost.Text, "P.T.'s Order Total")
  7. Replies
    60
    Views
    77,026

    Re: Numeric Text Box

    You may also want to look at the BlankMode Property which accepts 3 Enum vals {Accept|ConvertToZero|Reject}

    If set to Reject, you are unable to leave the control if its value it blank.
  8. VS 2005 Re: How can I efficiently color specific words in a textbox/rtb?

    I am no expert in coding <as my username would imply> but i would assume they are doing this at a lower level [less overhead] with a language like C or some such...
  9. VS 2005 Re: How can I efficiently color specific words in a textbox/rtb?

    Have you looked at this from the code bank...


    http://www.vbforums.com/showthread.php?517116-High-Speed-Syntax-Coloring&highlight=high+speed
  10. Replies
    10
    Views
    1,152

    VS 2012 Re: help with a message box...

    I really am attempting to help you, but you are not answering the question.

    What IS lblTotalCost?
    Not what do you think it is or what you want it to be.

    It would appear that from your naming...
  11. Replies
    10
    Views
    1,152

    VS 2012 Re: help with a message box...

    Is it a variable, property or control?
  12. Replies
    10
    Views
    1,152

    VS 2012 Re: help with a message box...

    In your code, what is lblTotalCost?
  13. Replies
    60
    Views
    77,026

    Re: Numeric Text Box

    As a "backdoor" workaround...
    I can start a new project
    Open the location of the DLL
    Drag the DLL to the Tool Box surface
    Use as control as normal

    The only thing that seems to be missing it...
  14. Replies
    60
    Views
    77,026

    Re: Numeric Text Box

    I created a UC in VS2010 Pro.
    I can add it to VS2013 Community and VS2015 Community as described.
    I CAN add yoiurs in VS2013 Community, but not VS2015 Community.
    I can add a reference in the...
  15. Replies
    60
    Views
    77,026

    Re: Numeric Text Box

    I have, but it just does not show up in the toolbox.
    It works in VS 2010Pro as described but in VS2015 Community.
  16. Replies
    60
    Views
    77,026

    Re: Numeric Text Box

    I love this control and have used it in several projects to date.
    However, I am unable to add it to the ToolBox in VS2015 Community edition.
    Can anybody offer any suggestions?
    Any help would be...
  17. Re: manipulation of Degrees Minutes and seconds input in vb.net

    There is no magic.
    You will have to write a class or function that takes the DMS input and parse to DD as the output.
  18. Re: Different Between Importing and Referencing the Full Path

    This can be avoided/clarified with the use of Aliasing...

    Imports SB = System.Text.StringBuilder 'alias the import

    Public Class Form1

    Dim count As String = 0

    Private Sub...
  19. Replies
    7
    Views
    1,783

    VS 2013 Re: Key-Event for the Enter key for beginner

    It works as expected even with controls on the form.
    BUT, if a button has focus and you hit ENTER, the default behavior is for the button to perform the Click event, you may need to move focus after...
  20. Replies
    7
    Views
    1,783

    VS 2013 Re: Key-Event for the Enter key for beginner

    This works just fine for me in 2010, can you test on your system?

    Private Sub Form1_KeyDown(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown

    Select...
  21. Replies
    2
    Views
    998

    Re: Text Editor Project Print Option

    You did not say what the problem is, simply that it does not work.
    I'll assume that once you click print on the print dialog, it pops back up again.
    in your code for the printing you have this...
  22. Replies
    1
    Views
    1,182

    VS 2013 Re: Printing to Multiple Printers

    if you are doing the printing from excel you can do this...


    Application.ActivePrinter = "PrinterName"
    oSheet.PrintOut()

    Where "PrinterName" is the name of the printer you want to use.
  23. VS 2010 Re: Coordinate Properties and Controls ... how do I?

    Well, to be honest, I thought I was following your instructions from a post I read quite some time ago.
    But as you've laid it out before me, I see that I've misinterpreted your wise instruction....
  24. VS 2010 Coordinate Properties and Controls ... how do I?

    What is the best practice for this...

    In a module I have an Enumeration...


    Public Enum Test As Byte
    one = 1
    two = 2
    three = 3
    End Enum
  25. Replies
    8
    Views
    1,691

    VS 2010 Re: String.Split Question

    Thanks to all.
    Using the new line character & the delimiter will work.
    The only case that it will not will be if the delimiter is the first character of the string, but I do not think this is...
  26. Replies
    8
    Views
    1,691

    VS 2010 String.Split Question

    I have a String that contains several lines.
    I would like to split the string using the split function, but only when the split character is the first character of a given line.
    Is this possible?...
  27. VS 2010 Re: Checkbox.Text allowed characters?

    Are you talking about a textbox? As you do not enter text into a checkbox.
    As for the sponge question, it would be shallower, because they would not be there to displace water.
  28. Replies
    5
    Views
    764

    Re: Storing Data

    My.Settings
  29. VS 2010 Re: Comment After New Line Seperator?

    I have to be honest, I do not fully understand your question, could you provide an example of what you mean?
    If what you mean is that you need a place holder for a position that is sometimes nothing...
  30. VS 2010 Re: Comment After New Line Seperator?

    Something like this...


    Dim field1 As String = "X"
    Dim field2 As String = "Y"
    Dim field3 As String = "Z"
    Dim field4 As String = "Reset"
    Dim Comma As String = ","
  31. VS 2010 Re: Comment After New Line Seperator?

    You really should use the System.Text.StringBuilder Class for this.
  32. Re: can i ask a silly programming question here ?

    I'm Guessing that you do not have Option Strict turned on...
  33. Re: can i ask a silly programming question here ?

    You should do this as as cost1 is not type String ...

    TextBox12.Text = cost1.ToString

    What is the default value for cost1?
    Add a Case Else to catch anything that does not fall into the Cases...
  34. Replies
    42
    Views
    6,056

    VS 2010 Re: OpenFileDialog Click Ok

    Webster says...

    di-a-logue noun

    2a: a conversation between two or more persons; also: a similar exchange between a person and something else (as a computer)
  35. Re: Pass Values to a Subroutine

    Sub main()
    Dim HType As String = "test"
    Dim NoItem As Integer = 123I

    Launch(HType, NoItem)
    End Sub

    Sub Launch(htype As String, noitem As Integer)
    ...
  36. VS 2010 Re: Substitution of Strings in a text file (best method)

    Thanks for your help, I appreciate it! :)
  37. VS 2010 Re: Substitution of Strings in a text file (best method)

    The Dictionary will not be very large, so I figured that I would persist it in the form of a text file and read on start-up.
    That way it would also be extensible.



    The original file will be a...
  38. VS 2010 [RESOLVED] Substitution of Strings in a text file (best method)

    I will be getting information from a GUI.
    Building that information into usable Strings and storing them in a Dictonary, whose Key will represent a "Token" String.
    I will read a text file line by...
  39. Re: [RESOLVED] Calculator code - Need an example

    You are welcom:)
    Have fun!
  40. Re: Calculator code - Need an example

    That is why a calculator is harder to do than it appears on the surface.
    MSDN has several walk throughs that get you going on the basics.
    As you start out, you make hundreds of projects that do...
Results 1 to 40 of 193
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width