Search:

Type: Posts; User: Amerigoware

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. how to find string within a string in a specific format

    I am trying to use regex to find a string within a string with a format of a program release number as "1.16.5" for example. Dim Str as String = "automaticdoors_1.16.5-1.4.jar" I need to return only...
  2. Replies
    2
    Views
    834

    VS 2022 Re: read contents of a gzip file

    What I needed was a tool for dealing with NBT files.


    Imports Cyotek.Data.Nbt

    Private Sub RenameToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles...
  3. VS 2022 Delete a file (image) added to listview and imagelist

    I am using the following code to load the ListView and ImageList:


    'Populate screenshots
    ScrnShtDirLbl.Text = ScrnShts
    ToolTip1.SetToolTip(ScrnShtDirLbl, ScrnShts)
    ...
  4. Replies
    2
    Views
    834

    VS 2022 read contents of a gzip file

    I am trying to read and edit a file within a gzip file. I can do this with .zip files, but I get an error when trying to read the .gzip file.
    Search results so far only talk about compressing or...
  5. VS 2015 Re: Sending form behind desktop icons

    I'm sorry to have bothered you all. I forgot to set the opacity. It's working now.
    Also, I had forgotten what the code was actually doing (making translucent and click-through) and described what...
  6. VS 2015 Re: Sending form behind desktop icons

    Yes, translucent and click-through, so effectively behind everything else.
  7. VS 2015 Re: Sending form behind desktop icons

    To clarify; the primary screen is the one with the rainbow background. The secondary screen(s) displays a slideshow that should also be embedded in the desktop.
  8. VS 2015 Re: Sending form behind desktop icons

    Sorry.

    I was actually looking through the code for the calls to the declared functions in order to put them in the second form. The only thing I can find is:



    Protected Overrides...
  9. VS 2015 Re: Sending form behind desktop icons

    185136
  10. VS 2015 [RESOLVED] Sending form behind desktop icons

    My application is sent to the background (behind the desktop icons) beautifully with the following code:



    Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As...
  11. VS 2015 [RESOLVED] selecting a link in a web document

    I'm trying to 'click' the first result in a search @ a-z lyrics .com.
    Using this code:


    For Each itm As HtmlElement In WebBrowser1.Document.Links
    Dim Str As String =...
  12. VS 2015 Re: [RESOLVED] Breaking text into page size portions

    I thought this was resolved, but when trying different documents, I get different results. Sometimes it behaves as it should, other times, I get an extra page somehow showing the content of the first...
  13. VS 2015 Re: [RESOLVED] Breaking text into page size portions

    Thanks. I'll look into that. Like I said, I snagged the code from elsewhere. For me, that makes it especially difficult to figure what's going wrong.
  14. VS 2015 Re: Breaking text into page size portions

    It turns out, I needed a '+ 1' at the end of 'NumberOfPages. I tried it on a whim and it worked, although I now get an extra blank page at times.
    I'm sorry I don't know how to pose a question when I...
  15. VS 2015 Re: Breaking text into page size portions

    There are no errors during debugging.
    It loads the document into separate "pages" as intended, but for only about half of the entire original document. A label displays the value of Pages.Count and...
  16. VS 2015 [RESOLVED] Breaking text into page size portions

    I am using the following code stolen from this forum, but I'm only getting pages representing a portion of the original text. Can anyone help?



    Private Sub SplitDocument()
    Dim...
  17. Replies
    27
    Views
    2,832

    Re: GUI Question

    If you think it looks bad, you should see the code! Mahahaha!
    Let's just say, I'm an amateur.
  18. Replies
    27
    Views
    2,832

    Re: GUI Question

    Ouch. I guess it's a good thing it's just for me. I like my bling. :)
    As for margins, idk.. It's what a richtextbox comes with. I could shrink it a bit as I'm using anchors for top, right, bottom,...
  19. Replies
    27
    Views
    2,832

    Re: GUI Question

    Ouch! It has metallic gold and a translucent 'glow' around the border.... *shrugs
  20. Replies
    27
    Views
    2,832

    GUI Question

    Can a program be too pretty?
    183198
  21. VS 2019 Re: Calling a *.exe program from a different directory than the calling program

    I'm just wondering... Since the OP is using a shortcut, shouldn't it be, "SaveAsCommaDelimited.ink"?
  22. Re: How to ensure that a form is displayed on top?

    Here's something I used once a long time ago...


    Public Function FindWindowEx(ByVal parentHandle As IntPtr, ByVal childAfter As IntPtr, ByVal lclassName As String, ByVal windowTitle As...
  23. Re: [RESOLVED] [vb.net 2021] [core 6.0] comparing images

    That works. I wasn't trying to be argumentative, just not understanding what you were getting at. Your help is always very much appreciated.
  24. Re: [RESOLVED] [vb.net 2021] [core 6.0] comparing images

    Yes, that part works just fine. The problem is assigning an image later because "'mage' is not a member of 'control'". if using picturebox.backgroundimage, it does work ...although I messed something...
  25. Re: [vb.net 2021] [core 6.0] comparing images

    It is on!

    It doesn't work because I changed from buttons to pictureboxes and from backgroundimages to images. I could, I think, use backgroundimage on the picturesboxes with same result assigning...
  26. Re: [RESOLVED] [vb.net 2021] [core 6.0] comparing images

    It's just a quick distraction to take a break while I'm writing a story or programming. Just click on the "red button" or the "Fox" (something you don't want in your chicken coop) 5 times to "win"...
  27. Re: [vb.net 2022] [core 6.0] comparing images

    Now, I'm not so sure. Anyway, it doesn't matter. My messy code is working perfectly. :)



    Option Strict On
    Option Explicit On

    Public Class Form1
    Private MPrevPos As New Point
    ...
  28. Re: [vb.net 2021] [core 6.0] comparing images

    Oof. Yeah, I have 2022 (Current). Thanks for the code. With some changes I've made, it doesn't work with changing the image of a picturebox, although it would for the backgroundimage. I'm sure it...
  29. Re: [vb.net 2021] [core 6.0] comparing images

    Thanks for the suggestion. After some rearranging of code, I finally got it working with tags. :)
  30. [RESOLVED] [vb.net 2021] [core 6.0] comparing images

    I'm trying to check if the background image of a clicked button equals the first entry in an imagelist. I'm using code found on forums as the answer to 3 different inquiries, but it's not working.
    ...
  31. Replies
    8
    Views
    1,678

    Re: zipping a complete folder

    Ok, I didn't know about the f1 thing. Using help and searching didn't come up with an answer. Perhaps not the correct search terms. IDK.
    Anyway, unlike you, I've never had a lesson in programming or...
  32. Replies
    8
    Views
    1,678

    Re: zipping a complete folder

    No there isn't and as I said, I searched for such documentation and none exist.
    Thanks for nothing. Again.
  33. Replies
    8
    Views
    1,678

    zipping a complete folder

    I'm trying to zip a folder and its contents. Using

    ZipFile.CreateFromDirectory("source", "destination.zip")
    zips the contents but not the containing directory.
    How can I achieve this? Note: I...
  34. VS 2015 Re: Getting null error with manually placed MenuStrip

    Cool. I didn't know that!
    I was talking about creating the file, though. I've been meaning to learn how to use them, but they are rather complex to me.
  35. VS 2015 Re: Getting null error with manually placed MenuStrip

    Ok. I was just reading this https://www.codeproject.com/Articles/17158/VB-NET-XML-based-Dynamic-Menu-Component-using-Recu. Now, I just need to figure out how to save the file. :)
  36. VS 2015 Re: Getting null error with manually placed MenuStrip

    serialise? Do you mean like:


    For each Itm as toolstripmenuitem in MenuStrip1
    my.settings.MyMenu.Items.Add(Itm)
    If Itm.HasSubItems
    For each SI as ......

    Next
    Next
  37. VS 2015 Re: Getting null error with manually placed MenuStrip

    I figured it out. During load, I was calling MenuStrip1 = My.Settings.MyMenu (also a system.windows.forms.menustrip), but the my.settings one was (and is) nothing. I'm still working on how to get...
  38. VS 2015 Getting null error with manually placed MenuStrip

    Private Sub AddNewDrawerToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles AddNewDrawerToolStripMenuItem.Click
    Dim Title As String = InputBox("Enter a title for your new drawer.")...
  39. VS 2019 Re: Flowlayoutpanel not showing controls added at runtime

    I have debugged with breakpoints multiple times (as always)!
    It acted like it was creating the pictureboxes and gave the parameters (ie the assigned sizemode).
    I moved the flowlayoutpanel to my...
  40. VS 2019 Flowlayoutpanel not showing controls added at runtime

    I am using the following code to add pictureboxes for each image in a directory to a flowlayoutpanel but nothing is showing up. I have also tried to add them to the form itself and adding them to a...
Results 1 to 40 of 85
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width