Search:

Type: Posts; User: Poppa Mintin

Page 1 of 13 1 2 3 4

Search: Search took 8.42 seconds.

  1. Replies
    1
    Views
    199

    Re: drop down menu with scroll bar

    My first port of call would be Here.


    Poppa
  2. Re: ok i hope someone can help me here socket.io trouble

    If you open the URL that you've given, have you tried using the 'Instant messaging and chat' link on that website ?


    Poppa
  3. Replies
    12
    Views
    402

    Re: Access denied.

    Oh dear... That's me being too quick to get things rolling (again)

    Obviously all working correctly now.

    Thanks Shaggy


    Poppa
  4. Replies
    12
    Views
    402

    Re: Access denied.

    Option Strict On
    Option Explicit On

    Obviously a breakpoint at that point will say 'i is not configured', however, one step further and...
    ...
  5. Replies
    12
    Views
    402

    Re: Access denied.

    Hmmm...

    Still in trouble:


    Dim filePath As String, playList As List(Of String)

    Private Sub MakeTracks()
    Dim trackIn As String
    ' Get all files from folder.
  6. Replies
    12
    Views
    402

    Re: Access denied.

    Thanks guys,

    I should've spotted that.


    Poppa
  7. Replies
    12
    Views
    402

    [RESOLVED] Access denied.

    Hi,

    I am trying to open an MP3 track to play. The file path is selected via a FolderBrowserDialog.


    Dim filePath As String, playList As List(Of String)

    Private Sub MakeTracks()
    ...
  8. Re: [RESOLVED] Problem with Color.FromName

    Oh !
    I've always used length, maybe from my original BASIC language from the 1970's.

    Poppa
  9. Re: Problem with Color.FromName

    Update.

    I realised I had a basic error, I was checking a Color, not a String, so I've changed things a bit.
    Private Sub Colours()
    Dim colour(2) As Color, chk(2) As String

    ...
  10. Re: Problem with Color.FromName

    I thought I had both of those 'On' by default but can't find where to check.


    Poppa
  11. Re: Problem with Color.FromName

    Sorry John, still got problem. You're right, I did miss what you meant.

    So: this is how I interpreted your post:
    Private Sub Colours()
    Dim colour(2) As Color

    colour(0) =...
  12. [RESOLVED] Problem with Color.FromName

    Hi,

    I've been trying to use...
    Dim myColour As Color = Color.FromName(TextBox1.Text) ...to give a user a choice of colour for Form background or, for example, Pen color.

    I've run into a...
  13. Replies
    11
    Views
    577

    Re: Why does my screen blank ?

    Yes Paul, thank you, that's what I discovered works.

    I've finished up with this...



    Private Sub MakeDrawing()
    Dim back, ink As Color
    Dim memo As Color = Me.BackColor
    ...
  14. Replies
    11
    Views
    577

    Re: Why does my screen blank ?

    Thanks .Paul, isn't that what John was so forceful in saying don't use it ?

    I've tried DrawLines but can't find how to do that without using CreateGraphics.

    Even so, the lines are being drawn,...
  15. Replies
    11
    Views
    577

    Re: Why does my screen blank ?

    Thanks John,

    I've not addressed the colour problem yet, that's working for now.

    I've amended my method to what I think you mean. There is an improvement, the back colour remains as I set it,...
  16. Replies
    11
    Views
    577

    [RESOLVED] Why does my screen blank ?

    Hi,

    I have a tool which I programmed several years ago to produce a text file of coordinates to draw a regular polygon. The tool draws these Points around the horizontal centre of the form in...
  17. Replies
    23
    Views
    1,072

    Re: Why is my Label moving ?

    Ah!
    Yes of course, I'm still looking at the grid of my picture editor.

    Well... That's cleared that up. :blush:

    Anyway, what I did in the end was to add a couple of temporary TextBoxes to the...
  18. Replies
    23
    Views
    1,072

    Re: Why is my Label moving ?

    Ok, another important discovery, new to me anyway, and not anything I've seen elsewhere.

    The DPI of the image makes a huge difference. By default I always work with 600 DPI, when I checked to see...
  19. Replies
    23
    Views
    1,072

    Re: Why is my Label moving ?

    Hi Passel, I'd like to explain my use of 341 instead in 340 just to get that out of the way.

    PictureBox1's size is 681 x 681, so... at 341 there are 340 pixels to the left of 341, 340 pixels to...
  20. Replies
    23
    Views
    1,072

    Re: Why is my Label moving ?

    Hi,
    Here's something else I don't understand.
    I've drawn a picture for each of the three clock hands.

    They're named Hours.png (118, 607px), Minutes.png (55, 689px) and Seconds.png (98, 1200px)....
  21. Replies
    23
    Views
    1,072

    Re: Why is my Label moving ?

    Thanks Passel,

    When I try to change my drawing code to use your suggestion, I'm struggling to find how to define 'GraphicContainer' because intellisense doesn't like it.

    Yours is a different...
  22. Replies
    23
    Views
    1,072

    Re: Why is my Label moving ?

    I'd like to check that my understanding of this method is correct.
    Please confirm or correct my understanding.

    178791

    Using the code below, the hour hand is set to rotate as though it were...
  23. Replies
    23
    Views
    1,072

    Re: Why is my Label moving ?

    Oh !

    I missed the clock face !


    178772


    This is in PictureBox1 which has 'Maroon' as it's BackColor, and the file as it's Image, selected to 'Stretch'.
  24. Replies
    23
    Views
    1,072

    Re: Why is my Label moving ?

    Thanks John,

    178768 178766 178767

    Three images, I've been struggling with putting these images on the PictureBox containing the clock face, I thought it was the PictureBox which was drawn to...
  25. Replies
    23
    Views
    1,072

    Re: Why is my Label moving ?

    John,

    Can your Code Bank article 'Transforming Graphics Coordinates in Windows Forms' be converted to rotate pictureboxes in stead of drawing with pens ?


    Poppa
  26. Replies
    23
    Views
    1,072

    Re: Why is my Label moving ?

    Yes, you're guess is spot on. Before I start trying to redesign the whole of this subroutine, before your post I added a temporary label to display the actual location of Label1, you might notice...
  27. Replies
    23
    Views
    1,072

    [RESOLVED] Why is my Label moving ?

    Hi,

    I don't understand what's happening here.

    My Form1 looks like this:
    178728

    The pink bit is Label1.

    The relevant code to put it on the Form is this:
  28. Re: Trying to sort a list into date order.

    Thanks again John,

    That's answered the question.

    It's a neater method than my last working subroutine.

    Private Sub SortDate()
    Dim dated As New List(Of String), spt(), txt As...
  29. Re: Trying to sort a list into date order.

    Thanks John,

    Yes, you're right I omitted a sample string, it was nearly 2 AM and I forgot... That's my story and I'm sticking to it.

    I couldn't figure out how to use either of your suggestions,...
  30. [RESOLVED] Trying to sort a list into date order.

    Hi,

    I have functioning project which I'm trying to modify to display a list of times achieved, recorded with the relevant date, into date order.

    The list already exists as a List of String,...
  31. Re: I have a problem with PerformanceCounter

    I didn't realise I could.
    However, I've discovered how to supply the required data and all is now working.

    Poppa
  32. [RESOLVED] I have a problem with PerformanceCounter

    Hi,

    I have a project which currently consists of Form1, Button1, Label1 and Timer1.
    Imports Microsoft.Win32
    Imports System.IO

    Public Class Form1

    Private Sub Form1_Load() Handles...
  33. VS 2017 Re: copy clipboard data to listbox

    Yes,
    This will do it,

    Dim spt() As String = xlList.Split(vbCrLf)You'll need to copy your column to the string variable 'xlList', copied and pasted exactly as presented by excel.
    The...
  34. Replies
    8
    Views
    448

    Re: Cursor stuck on WaitCursor on form

    Would be useful to know where the rouge cursor appears... is it the whole form or just one control on the form ?



    Poppa
  35. Replies
    8
    Views
    448

    Re: Cursor stuck on WaitCursor on form

    There won't be any code !
    The question states the cursor is being set (Not being set) at DESIGN.
  36. VS 2010 Re: Windows-Form Customized Top Border Design

    With regard to icons, you might like to design your own, or just convert an image or an existing icon to the icon you want.
    For this purpose I have been using the free 'Junior Icon Editor' from...
  37. Re: [RESOLVED] Why is my clock not ticking ?

    I only did four previous projects because on the fifth I got an error:When I couldn't find what that meant, I went back to the project in progress.

    Maybe it's missing an Import ?


    Poppa
  38. Re: [RESOLVED] Why is my clock not ticking ?

    Thanks John,

    I'll bear that in mind, I don't remember you telling me that before, but then, my memory's not what it used to be.
    I had to give up the bridge club a few years ago my memory was...
  39. Re: Why is my clock not ticking ?

    Oh Bugger !

    I had it set to 100 earlier when I was running at a tenth, then I realised that I didn't need to be that precise, changed it to seconds, changed the interval to 1000, then when...
  40. [RESOLVED] Why is my clock not ticking ?

    This subroutine has been giving me trouble for two days now.


    Imports CoreAudio

    Private Sub TimerTick() Handles Timer1.Tick
    My.Computer.Audio.Play(My.Resources.Tikk,...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width