Search:

Type: Posts; User: Poppa Mintin

Page 1 of 13 1 2 3 4

Search: Search took 0.16 seconds.

  1. Re: assistance on windows socket timeout handling

    You may want to post your timer code in order to get some assistance. (If you've not found the answer yet)


    Poppa
  2. Re: combobox with FindStringExact issue. Requesting assistance to find substring

    From where does your code obtain a value for guest ?
  3. Replies
    1
    Views
    366

    VS 2022 Re: Problema invio mail

    Good morning, from a VB application I send emails by creating an outlook.application which sends me the email from the account defined as default in Outlook and I find the sending in the sent mail of...
  4. Replies
    1
    Views
    351

    Bluetooth paring

    Hi,
    I've had a problem with pairing anything to my Win.10 laptop.

    Here's my problem: -
    189757

    As you can see, the answer panel doesn't show any answer buttons so I can't click anything. It...
  5. Re: Application seems to run whilst computer sleeps

    Thanks guys, thanks for the explanations, and Barry for that suggestion.
    I've got it sorted out now, I added a second timer to trigger the original one, the original one now turns itself off at...
  6. [RESOLVED] Application seems to run whilst computer sleeps

    Hi,

    I'm trying to develop an application which updates a text file with the time once every minute. That's no problem but the idea is that another application reads that text file when the...
  7. VS 2022 Re: Are there any NLP libraries that support VB.net ?

    Hi Surya,

    You might like to checkout this URL

    Poppa
  8. Replies
    2
    Views
    542

    Re: Can I hide CMD.exe

    Thanks PD, I found the answer... Add ' Process.StartInfo.CreateNoWindow = True to the command.

    Poppa.
  9. Replies
    2
    Views
    542

    [RESOLVED] Can I hide CMD.exe

    Hi,

    I have a couple of apps which call CMD.exe, the command form which shows is a nuisance, even though it's only for a few seconds.
    Is there a way to call CMD.exe with the form hidden ?
    ...
  10. VS 2022 Re: Looking for way to print a Form and fit it to page

    Richard hasn't replied to my post in eleven days, which was itself three days after he asked the question, so I recon the chance of getting any sort of reply to today's posts is unlikely.

    Poppa
    ...
  11. VS 2022 Re: Looking for way to print a Form and fit it to page

    Hi,
    Here is some code which I've used several years ago.
    pic is the Bitmap I wish to print. I think the rest is self explanatory.




    Private Sub PrintForm(ByVal sender As System.Object,...
  12. Replies
    5
    Views
    1,195

    Re: [RESOLVED] Change screen resolution

    Yes John, would be a good idea but...

    The reason that I forgot to reply was because I'd found an up-dated version of the old game on line even before I read your suggestion, and therefore didn't...
  13. Replies
    5
    Views
    1,195

    Re: Change screen resolution

    Oops sorry... I forgot to say thanks John. All sorted out now thanks.
  14. Replies
    5
    Views
    1,195

    [RESOLVED] Change screen resolution

    Hi,

    We have a very old Windows XP game which we still like to play from time to time, I've just installed it in a new Windows 10 laptop, we've been playing it in a previous Windows 10 machine,...
  15. Replies
    3
    Views
    751

    Re: Why is CenterToScreen not working ?

    Thanks OB1

    The reason I want to use 'Me.CenterToScreen' is because the application can be used on at least two laptops which have considerably different screen sizes so I have to re-size the forms...
  16. Replies
    3
    Views
    751

    Why is CenterToScreen not working ?

    Hi,

    I'm making a different version of an application which I've had up and running for well over a year, the only difference being some text files in the resources are changed.
    I've just copied...
  17. Re: Can I open Notepad with a specific font ?

    Thanks again OB1

    That works even better than Notepad, I can not only specify the font and font size but also the form size and its location, I can also include an image. I just had to remember...
  18. Re: Can I open Notepad with a specific font ?

    That's a neat idea, I'll have a go at that.

    Thanks


    Poppa
  19. Re: Can I open Notepad with a specific font ?

    Thanks guys, that's pretty much as I thought.
    I think it was worth asking the question though.


    Thanks

    Poppa
  20. [RESOLVED] Can I open Notepad with a specific font ?

    Hi,
    This

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Process.Start("C:\HangState\Stats.txt")
    End Sub
    Will open this text file...
  21. Re: Why am I getting quotation marks ?

    Oh bugger !

    Of course it is. Thanks.

    "Go with what you know" Ha !


    Poppa
  22. [RESOLVED] Why am I getting quotation marks ?

    Hi,

    I know it's 'Old hat' but I prefer to use WriteLine when writing to a text file (Go with what you know).
    Using this code...


    ' Create new text file in directory "C:\HangState": if...
  23. Re: How do I move around thumbnails inside of a FlowLayoutPanel?

    Hi again nwl5,

    Did you get your application to work ?

    Poppa
  24. Re: How do I move around thumbnails inside of a FlowLayoutPanel?

    Hi nwl5,

    Since (surprisingly) you've had no replies, I suggest that if I were trying to do this I'd select the image which I want to move with the right mouse button then, keeping it pressed, I'd...
  25. Re: Problem measuring text length

    Hi again,
    I've had time to test my idea, which has worked out just fine.
    I modified the function thus: -


    Public Function Gap(ByVal txt As String, ctrl As Control) As Integer
    Dim...
  26. Re: Problem measuring text length

    Hi Paulg4ije,

    Yeah, I'm passing the correct control but...
    Although I've not had a chance to look at it yet, I do know what's happening. The problem lies with the RichTextBox, it's not a regular...
  27. Re: Problem measuring text length

    Thanks OB1 and Paulg4ije, as I say this function has served me well for several years, it's only gone wrong with this font, although instead of being 'a smidge' off centre, mine shunts the first...
  28. Re: Problem measuring text length

    Oh... Yes, you're correct in your assumption, and also in pointing out my omission.


    Poppa

    PS.
    My apologies for the tardy reply, I keep forgetting that we no longer get an email informing us...
  29. [RESOLVED] Problem measuring text length

    Hi,

    I use this function to find the number of spaces I need to add in front of a text in order to centlalise it when I can't use Text Align Middle Center.

    Public Function Gap(ByVal txt As...
  30. Replies
    6
    Views
    1,074

    VS 2019 Re: find mp3 file ratings

    Hi Schoemr,

    Sadly I'm not able to assist with your problem, but I'd like to suggest possibly a minor improvement to your code, Thus


    Dim found As Integer 'Defaults to = 0
    ...
  31. Re: Progressbar to visulise the exact progress of a task

    Hi Tajaldeen,
    This may help.



    ProgressBar CLASS



    Imports System.ComponentModel
  32. Re: Vb.net cannot change Datagridview column index

    Hi Gideon,

    This might help.

    You might like to note that

    For i As Integer = 23 To 32 Step 1 can be written as
    For i = 23 To 32
    The index will always be an integer and the step is 1 by...
  33. VS 2019 Re: Textbox / RichTextBox Vertical Align

    Hi Schomer,

    I notice that in your example you talk about 'While you're typing'...

    I've been playing with this a while and have a bit of a con job...
    I've made a little video which you may...
  34. VS 2019 Re: Textbox / RichTextBox Vertical Align

    I may've re-written the instructions somewhat for my own use, but basically it's the code which I've been using since December 2014 and my notes definitely say it was from passel. (lower case...
  35. VS 2019 Re: Textbox / RichTextBox Vertical Align

    You're welcome, there is still an option for text align centre, just not the convenient selection that a label has. Maybe ask Passel to help ?

    Good luck.


    Pop.
  36. VS 2019 Re: Textbox / RichTextBox Vertical Align

    No...

    On second thoughts, that's not going to centre-align your text... Sorry
  37. VS 2019 Re: Textbox / RichTextBox Vertical Align

    Hi Schoemr,

    How about a RichTextBox with justified text ?

    I have a beautiful one designed by Passel which I call a SmartBox.



    Poppa
  38. VS 2019 Re: SaveFileDialog OverwritePrompt not overwritng

    Hi OldHead , Welcome to VB Forum.

    From one old head to another... I personally, wouldn't bother with overwrite, some of the younger heads in here (most) would say I still use 'old hat' coding,...
  39. VS 2010 Re: How to create txt file and append text to existing txt file?

    Thanks Schoemr,

    Nice to see someone actually helping Max.

    Might I suggest instead of a counter...



    Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
    ...
  40. VS 2010 Re: How to create txt file and append text to existing txt file?

    I've been coding in BASIC since 1978 and and Visual BASIC since 1990, so as I said. I'd use the code I posted. (Because it answers the question and it still works) I'd be surprised if it was as long...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width