Search:

Type: Posts; User: Poppa Mintin

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    24
    Views
    1,281

    Re: Double buffering

    Thanks Peter,

    Where do you propose I use a RichTextBox ?
    I don't even have an ordinary TextBox on the relevant form.

    I went back to trying to cover the flicker by hiding it behind a third...
  2. Thread: Emails

    by Poppa Mintin
    Replies
    5
    Views
    545

    Reply to Steve

    Ah !

    Clearly it was yourself that told me about it before, I see that it was back in September that this problem started, considering the nature of this web site it seems odd that it's taking so...
  3. Thread: Emails

    by Poppa Mintin
    Replies
    5
    Views
    545

    Emails

    Hi,

    I've just received a private message, but I've not had a 'Thread Reply' email for ages.

    I was told some time ago that there was a problem with that. Since I've just had an email saying that...
  4. Replies
    24
    Views
    1,281

    Re: Double buffering

    Thanks Peter, Shaggy,

    I like that idea but how would it cope with different size / resolution screens ?
    I've already played with a third form to display whilst I change the active screen behind...
  5. Replies
    24
    Views
    1,281

    Re: Double buffering

    Thanks Shaggy,

    That certainly sounds like my problem.


    Pop
  6. Replies
    24
    Views
    1,281

    Re: Double buffering

    I've tried a new link, hopefully it doesn't require a password...

    It is here.

    Poppa
  7. Replies
    24
    Views
    1,281

    Re: Double buffering

    I wonder if my problem is actually called flicker.

    I've made a short video of the problem maybe you could either confirm that it's flicker or correctly identify the problem.

    Open the video...
  8. Replies
    24
    Views
    1,281

    Re: Double buffering

    Thanks Shaggy,

    That's very interesting, I'm going to try making the text which is currently made letter by letter in the label as a separate string and just do the one change.

    The 'large' Pbox...
  9. Replies
    24
    Views
    1,281

    Re: Double buffering

    Thanks John,

    The application is a game, the whole form has a TLP, dock = full, containing a large PictureBox, 3 buttons, (Sound on/off, exit and next game), 7 labels, and another TLP with 26...
  10. Replies
    24
    Views
    1,281

    Double buffering

    Hi,

    Can anyone please recommend a dummies guide to double buffering ?
    Better still, can anyone please produce such a guide ?

    I have found several explanations of how to do it for one single...
  11. Re: Adding a Font to an application.

    Thanks .Paul, brilliant.

    Pop.
  12. [RESOLVED] Adding a Font to an application.

    Hi,

    In my folder C\:Windows\Fonts There are two Courier fonts, Courier New and Courier Regular. (I expected to find a font called just Courier, but there isn't)

    When I try to set the font for a...
  13. Re: Requesting help with the Codebank thread - network sending and receiving

    Hi,

    Since you've had no answers as yet I offer this. I don't know if any of it will help, I used it successfully a few years ago.
    It's just my 'Snippets' with regard to printing part of a form,...
  14. Re: Why are my buttons not anywhere on the screen ?

    No, I knew better than that. :)

    I'm still not getting new post emails.

    Pop.
  15. Re: Why are my buttons not anywhere on the screen ?

    Oh... That was easy, I just added a FlowLayoutPanel and changed Line 23 (Previous post), I found that I needed to add a line to the 'With' list in order to get all the buttons visible in the...
  16. Re: Why are my buttons not anywhere on the screen ?

    Ok, I've finished the project that I was working on so now I can turn back to this problem.

    I've made a new test program following the advice in this thread (I think, please check)
    John says "You...
  17. Re: Why are my buttons not anywhere on the screen ?

    I'm sorry OB1, I don't equate "you don't need to" with "Do not use".

    Pop.
  18. Re: Why are my buttons not anywhere on the screen ?

    Thanks John,

    I have used a TLP for the job, using picture boxes in each cell works just fine, and I know the characters will be totally visible at any size, plus no further code needed, all done...
  19. Re: Why are my buttons not anywhere on the screen ?

    Where exactly is "do not use Panel1.Left or Panel1.Top in any of your positional calculations when adding things inside of Panel1." in a previous post ?
  20. Re: Why are my buttons not anywhere on the screen ?

    Thanks PD,

    I know the calculated positions are definitely within the screen boundaries, I've been struggling with this problem for a couple of weeks, I've had it all working but getting the...
  21. [RESOLVED] Why are my buttons not anywhere on the screen ?

    Hi,

    I am trying to add 26 buttons to an existing Panel on my form. The buttons are square, they each have one upper case letter, from A to Z as their text, so I'm calling 'em Alpha1 to Alpha26.
    ...
  22. Re: Option Strict On disallows implicit conversions from 'String' to 'Char'.

    Thanks guys,


    splt = word.Split(","c)Worked ok,
    splt = word.Split({vbCrLf}, StringSplitOptions.None)
    produced splt as one single string.

    Taking PlausiblyDamp's suggestion a...
  23. [RESOLVED] Option Strict On disallows implicit conversions from 'String' to 'Char'.

    Hi,

    I have a text file with a column of text in the form of:-I'm trying to access these words individually...
    Private Sub Fred()
    Dim splt(), txt, word As String

    For i = 0 To...
  24. Replies
    15
    Views
    1,410

    Re: Multi-clicks.

    Thanks guys,

    I eventually settled for:

    For Each tb As TextBox In Me.Controls.OfType(Of TextBox)()
    AddHandler tb.Click, AddressOf boxes_Click
    AddHandler tb.MouseEnter,...
  25. Replies
    7
    Views
    495

    Why can't I hide Form1 ?

    Hi,

    I don't understand why I can't hide Form1.
    There is no other code in either form, this is the entire programme, just two blank forms 400px x 400px.
    Form1 code:

    Public Class Form1

    ...
  26. Re: Why are my controls not being disposed ?

    Ha !

    "For Each ctrol In Me.Controls" is executed down from highest index to lowest.

    So...


    Dim ctrol As Control
    For i = Me.Controls.Count - 1 To 0 Step -1
    ctrol =...
  27. Re: Why are my controls not being disposed ?

    Thanks PD,

    How do I get rid of controls then ?


    Poppa
  28. [RESOLVED] Why are my controls not being disposed ?

    Hi,

    I'm investigating why some control.Dispose commands are not executed.
    I'm using this code...


    For Each ctrol In Me.Controls
    Dim fred As Integer = ctrol.TabIndex

    If...
  29. Re: Why doesn't this work any more ?

    Thanks guys, I found the answer...
  30. [RESOLVED] Why doesn't this work any more ?

    Hi,

    I'm sure I used to be able to use this: -


    FileOpen(1, FilePath, OpenMode.Output, OpenAccess.Append)But I'm getting the error message: -What's changed ?


    Poppa
  31. Replies
    5
    Views
    383

    Getting a list of random numbers.

    Hi,

    John Mc offers this as an example of a random 'List(Of Integer)': -


    Public Class Form1

    Dim rng As New Random
    Dim numbers = Enumerable.Range(1, 75).OrderBy(Function(n)...
  32. Re: Object reference not set to an instance of an object.

    Which one exactly ?
    And I STILL have Option Strict ON by default.


    Poppa
  33. Object reference not set to an instance of an object.

    Hi,

    I don't understand why I'm getting a 'Object reference not set to an instance of an object.' error.
    I have a breakpoint set at Line 6 (Below), I run the code and control correctly stops at...
  34. Re: Why can't I add to a list of string ?

    Thanks guys,

    I used dbasnett's code, it all works well and very much faster than the way I was trying to get around it. Thanks dbasnett.


    Poppa
  35. Re: Why can't I add to a list of string ?

    Thanks john,

    An example of how to do that would help.


    Poppa
  36. [RESOLVED] Why can't I add to a list of string ?

    Hi,

    I have a Global List(Of String)

    Public Class Form1

    ReadOnly Lst() As String = {"dummy", "Places", "Fiction", "Words", "People"}
    Dim Lyst(5) As List(Of String)

    Private...
  37. Replies
    10
    Views
    580

    Re: What is happening here ?

    Option Strict is on by default.
  38. Replies
    10
    Views
    580

    Re: What is happening here ?

    Yes, I agree, You'd think that 'chk = sender.Text.ToUpper' would do the job wouldn't you? However, doing that the '.ToUpper' part just throws up an error, 'ToLower' it seems is ok, (I've not tried...
  39. Replies
    10
    Views
    580

    What is happening here ?

    Hi,

    I don't understand what is happening here...
    I have a subroutine which is called when I change the text in a TextBox...

    Private Sub BoxChange(sender As Object, e As System.EventArgs)
    ...
  40. Replies
    0
    Views
    237

    Watch windows font.

    Hi,

    Is there a way to set a particular font for the four debug watch windows ?

    Either individually or collectively. If it's collectively and that also changes (say) the Local and Autos windows,...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width