Search:

Type: Posts; User: Poppa Mintin

Page 1 of 13 1 2 3 4

Search: Search took 0.13 seconds.

  1. Replies
    13
    Views
    388

    Re: Editing a text file

    Thanks for all the help guys...

    Finally got my app. saving new entries and using 'em A. Straight away, and B. Next time I run the app.


    Poppa
  2. Replies
    13
    Views
    388

    Re: Editing a text file

    It ought to be here
  3. Replies
    13
    Views
    388

    Re: Editing a text file

    Thanks guys, it's the implementing of John's second paragraph that I trying to accomplish.

    The relevant project has been working for a good while, but the (six) text files are in in separate...
  4. Replies
    13
    Views
    388

    Re: Editing a text file

    I'm sorry Dday9, it could be both of those or either... I'm floundering here.
  5. Replies
    13
    Views
    388

    [RESOLVED] Editing a text file

    Hi,

    I've been trying to implement these instructions from John Jcilhinney for a few days now......and getting more bogged down as the days go by.

    I suspect that in the line "If you want to edit...
  6. Replies
    12
    Views
    680

    VS 2017 Re: Details shown always first

    Yeah,

    I only mentioned this because we were discussing this particular subject recently in this thread.

    Pop
  7. Replies
    12
    Views
    680

    VS 2017 Re: Details shown always first

    I've just started a subroutine and missed the shift key for the first character:

    Private Sub check()

    End SubI immediately got this in the 'Error List'...
    ...Ok, so it's not an error,...
  8. Replies
    10
    Views
    423

    Re: Why is mouse up ignored ?

    Thanks Shaggy,

    I've found DragOver and it has great possibilities. It's 01.59 here so I'm off to bed, currently though:
    1. I no longer need a timer.
    2. While ever the mouse is down, DragOver...
  9. Replies
    10
    Views
    423

    Re: Why is mouse up ignored ?

    Thanks Shaggy,

    I've found DragDrop and it works as you describe.
    I can get the timer to start and stop at the right times, trouble is... I can't work out how to use 'em without interrupting the...
  10. Replies
    10
    Views
    423

    Re: Why is mouse up ignored ?

    Thanks OB1

    I have it so that if a square which is marked as a mine is 'Right Clicked' again, it will have the '?' mark, and if it's 'Right Clicked' yet again it will revert to 'Unknown'. This...
  11. Replies
    10
    Views
    423

    Re: Why is mouse up ignored ?

    Thanks for the reply .Paul and Shaggy,
    Yes, I'm using drag (but not drop). I have a game which I play quite often, I used to enjoy 'Minesweeper' which shipped with a lot of the early Windows OS, I...
  12. Replies
    10
    Views
    423

    Why is mouse up ignored ?

    Hi,

    I don't understand what's happening here.

    Me.Controls.Add(pbx) ' Add twenty Pictureboxes.
    AddHandler pbx.MouseUp, AddressOf CatchUp
    If...
  13. Replies
    27
    Views
    809

    Re: Annoying entries in 'Errors' list.

    I've never used Analyze but as you mention it I gave it a 'look-see'.
    Analyze > Run Code Analysis on (Project name) : No apparent response.

    So I had a little play, looked at 'Code Cleanup' >...
  14. Replies
    27
    Views
    809

    Re: Annoying entries in 'Errors' list.

    Maybe...

    I have Option Strict 'ON' by default.

    Poppa
  15. Replies
    27
    Views
    809

    Re: Annoying entries in 'Errors' list.

    Yes, a valid warning, but a nuisance nonetheless.


    Poppa
  16. Replies
    27
    Views
    809

    Re: Annoying entries in 'Errors' list.

    Ah !
    Yes...
    Try it like this though:
    Dim total As Integer, txt As string


    If txt = "Fred" Then

    For i = 5 To 10
    total += 1
  17. Replies
    27
    Views
    809

    Re: Annoying entries in 'Errors' list.

    That's what I'm asking... HOW ?


    Poppa
  18. Replies
    27
    Views
    809

    Re: Annoying entries in 'Errors' list.

    That's what I'm complaining about... We know that...

    Dim total As Integer...at this point 'total' has no value, so setting it to zero is an 'Unnecessary assignment of a value'.
    But if I don't...
  19. Replies
    27
    Views
    809

    Annoying entries in 'Errors' list.

    Hi,

    Yes, I know it's only a warning, but it's still annoying to have anything in the 'Errors' list.

    I don't like to see anything at all in my errors list, I'm aware of it and try to keep it...
  20. Re: Why am I not getting commas in my text ?

    Oh bother !

    I screwed up! that's the code for showing leading zeros.
    I need to 'format' a string for what I'm trying to do.
    Problem solved.

    Poppa
  21. [RESOLVED] Why am I not getting commas in my text ?

    Hi,
    These two lines are in separate methods, but I've put 'em here because they're the only bits relevant to my problem.

    Label2.Text = i.ToString("000") & " Words prepared"
    ...
  22. Replies
    7
    Views
    429

    Re: TabControl tabs text alignment issue

    Here is an example of my little hack working. Everything between the heading and the two controls at the bottom is within just one TextBox.

    181162

    Poppa
  23. Replies
    7
    Views
    429

    Re: TabControl tabs text alignment issue

    It might be a hack, but I've used it for several years now. :o
    It does work, provided there are at least two characters in the string, and that the string does not contain leading or trailing space...
  24. Replies
    7
    Views
    429

    Re: TabControl tabs text alignment issue

    Hi Pourkascheff,

    I do this to centralise text string in a control. Please note: the string length must be at least 2 characters.
    1. Measure the text length.
    2. Compare the length with the width...
  25. Re: Creating Windows Applications in VB Net - Two

    Yes, me included a few months ago.
    It's also a nuisance that one has to actually pass the cursor over the scroll bar to see it.


    Pop
  26. Re: Creating Windows Applications in VB Net - Two

    Ooops !
    Thanks John, I must've missed the pop-up notification, I'm now also using version 16.9.4. It's made no apparent difference to the templates however.

    Pop
  27. Re: Creating Windows Applications in VB Net - Two

    Hi Keith,

    Maybe you said which version of VS you're using in your previous thread, I'm using: -
    Microsoft Visual Studio Community 2019 Version 16.8.4

    Opening VS and selecting 'Create a new...
  28. Re: Check Combobox selection for Duplicates

    Ah... Sorry, I misread your post, I thought your 'ComboBox' were names you had given to your ports.

    Pop.
  29. Re: Check Combobox selection for Duplicates

    Hi Prasanna,

    Firstly... you'll need to correct this line as shown.

    Dim COMMbobox() = {PSComboBox, PS2Combobox, DMM1ComboBox, DMM2ComboBox}
    Then you'll be able to check each box in turn,...
  30. Re: vb.net listboxta seçilen klasörün içindeki klasörü belirli bir dizine kopyalama

    Google translation of question:-

    "Copy the folder inside the selected folder in the listbox to a specific directory"


    Pop.
  31. Replies
    1
    Views
    279

    Re: Using Post string

    Hi,

    It's most unusual for a thread to remain unanswered for this long, it indicates that your coding is also unusual, I would suggest that you try something else, I recommend that you totally...
  32. Replies
    5
    Views
    423

    Re: [RESOLVED] Button2 not referenced !

    Thanks John,

    That sounds much more plausible.
    I thought it was odd when I asked the question, I couldn't understand why it wasn't declared, after all... It had already generated Mouse Up and...
  33. Replies
    5
    Views
    423

    Re: Button2 not referenced !

    Thanks guys...
  34. Replies
    5
    Views
    423

    [RESOLVED] Button2 not referenced !

    Hi,

    Form1 has two buttons, Button1 and Button2, and a label, Label1. They're all stilled called by their generated names.

    There's not much code and yet starting the app. I get an error... What...
  35. Re: [RESOLVED] Changing the screen mousepointer

    Ok, Thanks
  36. Re: [RESOLVED] Why does my code not read-in a complete text file ?

    Thanks .Paul,

    Yeah, that's the trouble with being ancient, to be honest I expect I'm still thinking BASIC rather then Visual Basic, or maybe just VB version 3.0.




    Poppa
  37. Re: Changing the screen mousepointer

    Thanks .Paul,

    That's very interesting...

    Poppa
  38. Re: Changing the screen mousepointer

    Thanks .Paul,

    I don't believe I've had any issues with this.


    Poppa
  39. Re: Changing the screen mousepointer

    Hi,

    On the form design screen, in properties you can select from a menu just by clicking 'Cursor'.

    You could consider making your own cursor from a square image in resources..
    Don't forget the...
  40. Re: Why does my code not read-in a complete text file ?

    Thanks Dbasnett,

    I realised what was wrong...
    I forgot that the module text was broken into hundreds of lines and that I needed a List not a String.
    Change Line 6 to : 'Dim inpt As String, wrds...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width