Search:

Type: Posts; User: Poppa Mintin

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: [RESOLVED] What could cause a running application to just close down ?

    Ah... I hadn't noticed that the 'Private ignore As Boolean = false' is outside the subroutine.

    Pop.
  2. Re: [RESOLVED] What could cause a running application to just close down ?

    Hi .Paul,

    I don't follow the logic of that. Surely every time the text is changed the subroutine will be called, and every time it's called 'ignore' will be set to false.

    That's why I used a...
  3. Re: What could cause a running application to just close down ?

    Thanks .Paul,
    If you look back to my original coding for BoxChange, (Post #2) you'll see that originally I used Char and a Unicode value, I only changed it because I didn't (don't) understand why I...
  4. Re: What could cause a running application to just close down ?

    Thanks .Paul,
    'If txt >= "A" And txt <= "Z" Then' Works correctly.
    It only checks that it's a letter, not a number, because numbers are permitted but in the smaller font. I need the letter to be...
  5. Re: What could cause a running application to just close down ?

    I've changed the code in Sub BoxChange to remove the Char but it's made no difference, the app. still just exits as previously described.



    Private Sub BoxChange(sender As Object, e As...
  6. Re: What could cause a running application to just close down ?

    Thanks .Paul,

    Although it's coded, I'm not actually using AccessibleName anywhere, it's there just in case I need it.
    I took it out but it made no difference. I found 'Attempting to write to...
  7. Re: What could cause a running application to just close down ?

    Oh...

    Attempting to write to protected memory !

    What on earth is 'Protected memory' ?



    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Dim co,...
  8. [RESOLVED] What could cause a running application to just close down ?

    Hi,

    I have a little application which keeps closing down whilst I'm using it.

    I have no idea why it does that, it definitely closes down, it's not just hiding.
    There is an Exit button but the...
  9. Re: [RESOLVED] Why are my Textboxes not square ?

    Thanks guys...

    I thought I'd try my hand at making crossword puzzles, so I'm making a small utility to draw an adaptable skeleton, all the squares need to be square so I decided against a TLP...
  10. [RESOLVED] Why are my Textboxes not square ?

    Hi,

    I don't understand why my TextBoxes are not square. The form is 600px square, and there are 14 rows of 14 boxes.



    Public Class Form1

    Private Sub Form1_Load(sender As Object, e As...
  11. Replies
    2
    Views
    588

    VS 2022 Re: SQLDependency

    Hi Jerry,

    At first glance I'd say that you need your subroutine 'Dep_OnChange' to actually do something.


    Poppa
  12. Re: Why do box and lbl = Nothing ?

    This subroutine (as you can see) is called when TextBox1 text changes, which apparently happens when I start the application, I don't know why... TextBox1 has no text at start-up.

    This...
  13. Re: Why do box and lbl = Nothing ?

    Thanks for the reply John, the concatenation information is very interesting, I didn't know that.. It'll save a lot of typing and make reading code easier.

    I do know that I have to include any...
  14. [RESOLVED] Why do box and lbl = Nothing ?

    Hi,

    I reckon that I've used this type of code previously with no trouble: -

    Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
    If...
  15. Replies
    37
    Views
    1,433

    Re: Get text from screen.

    No, I didn't know it's not WPF.
    And as I said, I've abandoned this project.

    I was only trying to make a quick tool for a specific purpose which is long since resolved.


    Poppa
  16. Replies
    37
    Views
    1,433

    Re: Get text from screen.

    No, I'm sorry, it was so full of error warnings that I didn't want to spend the time trying to sort it out.

    As for the VS version, I've gone back to using VS2019, VS2022 is missing something which...
  17. Replies
    37
    Views
    1,433

    Re: Get text from screen.

    I tried, I did find something but its in JavaScript !
    Sdaly I can't find a converter.




    Poppa
  18. Replies
    37
    Views
    1,433

    Re: Get text from screen.

    Sorry guys, I'm going to abandon this.
    I already have a little tool to do what I want, I was trying to make it automatic but it's proving too complicated.

    I'll stick with:-

    Copy the required...
  19. Replies
    37
    Views
    1,433

    Re: Get text from screen.

    Thanks Peter,

    I tried this code, first impressions are not favourable because: -

    Poppa


    PS.

    Ah... I've just seen Niya's reply, that's very helpful and only produces the one error.
  20. Replies
    37
    Views
    1,433

    Re: Get text from screen.

    I always thought its route was Infinity.
  21. Replies
    37
    Views
    1,433

    Re: Get text from screen.

    Hi dday9,

    I tried that and that code seems to be full of errors which doesn't inspire much confidence. Take a look at Line 29 in the first block of code for instance !

    Also, I'm not familiar...
  22. Replies
    37
    Views
    1,433

    Re: Get text from screen.

    Oh... The download is just the whole thing in one go ?

    I thought it was something else.

    I'll do that.
  23. Replies
    37
    Views
    1,433

    Re: Get text from screen.

    Thanks Dbasnett,

    I'd already seen that one, I didn't understand it then either, there's a very useful web-page here for converting from C# to vb.NET (Amongst others) and even using that to get the...
  24. Replies
    37
    Views
    1,433

    Re: Get text from screen.

    Thanks Dday9,

    The first URL looks to have the answer, I tried to get the .zip file, you have to be registered to download it. As far as I'm aware I'm not registered with 'em. I tried to log-in...
  25. Replies
    37
    Views
    1,433

    Get text from screen.

    HI,

    I've spent a day and a half searching the web for a method of getting text from the current screen.

    I would like to be able to highlight text in (say) an open Notepad, click 'Start' in my...
  26. Replies
    8
    Views
    433

    Re: Problem with Asc()

    Thanks all,

    I am often accused of using VB6 code... I have Never used VB6 for anything...
    This dinosaur still thinks in terms of VB3.0.

    Thanks again to John, always useful advice.

    Poppa
  27. Replies
    8
    Views
    433

    Re: Problem with Asc()

    Hi PlausiblyDamp,

    I wasn't trying to convert 'em, I was just complaining that examples in a vb.NET text were in C#.

    Pop.
  28. Replies
    8
    Views
    433

    Re: Problem with Asc()

    Thanks for the advice Niya... However, that's far far easier said than done. I can't find anything anywhere which explains how to amend my code to accomplish the task. It certainly doesn't help when...
  29. Replies
    8
    Views
    433

    [RESOLVED] Problem with Asc()

    Hi,

    I have a little tool which I use to read the ASCII value of individual characters in a string. The form includes a TextBox and a Button.
    I enter a word to check into TextBox1, and click...
  30. Re: [RESOLVED] What on earth does this mean ?

    Thanks John,

    I'll take a look at that.


    Poppa
  31. Re: What on earth does this mean ?

    Thanks John,

    Yes, I guess that's what was happening, the extract I posted was the result of clicking a 'Details' button. Sometime later, when it happened again, I saw, and clicked a button to...
  32. [RESOLVED] What on earth does this mean ?

    Hi,

    I'm testing a new project, it's been working, but when I load it with a large task it stops and I get I get the following message: -

    I have no idea what it's telling me.


    Poppa
  33. Replies
    5
    Views
    712

    Re: Compatibility

    Thanks guys... I think running it as Admin did the trick.


    Poppa
  34. Replies
    5
    Views
    712

    Re: Compatibility

    Thanks for the reply Steve, Yes I have, I meant to say so in my first post.


    Poppa
  35. Replies
    5
    Views
    712

    [RESOLVED] Compatibility

    Hi,

    I have a Very Old game, simple to play and a favourite of SWMBO, installed in a Windows 10 notepad.
    This game runs best in compatibility mode for Windows XP Service Pack 2.

    I can go in and...
  36. VS 2017 Re: Help removing lines from a multiline string variable

    Oh bugger !
    Yes I ought to have realised that, I had a feeling at the back of my mind that there was a reason but didn't bring it forward.

    Thanks Paul.
  37. VS 2017 Re: Help removing lines from a multiline string variable

    Hi Rmorris,

    Assuming that after each "<DELETE>" there is a carriage return, then this ought to work.


    Private Sub Remove_lines()
    Dim allLines As List(Of String) = Split(FinalMOP,...
  38. Re: Resize PicBox over Table Layout Panel Cells

    Hi Cyberblitz,

    If you're dropping a Pbox into a TLP you can't 'Extend' the box 'Over' the cells, there can only be one item in any one cell.
    What you could do is (for the width) make the Pbox...
  39. Re: Can someone recomend me a sit for freedownload icon

    Hi Nader,

    You could try Here, There are many free icons and better still... you can make you own.
    I use it all the time.


    Poppa
  40. Replies
    3
    Views
    398

    Re: API Post request

    Hi Tony,

    I don't believe I'm going to help much, but...

    The first thing I notice is that you're using '+' to concatenate (join) (what I have to assume are) two string variables.
    Whilst '+'...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width